Conditional probability practice problems

By Jude Wallis · Published

This set has 8 problems on reading two-way tables, finding the probability of A given B from the formula, checking whether two events are independent, and tree-style reasoning in words. Solve each on paper, then check your work against the full solution steps.

AP Statistics: Unit 2 (topics 2.2 Summary Statistics for Two Categorical Variables, 2.6 Conditional Probability, 2.7 Independent Events and Unions of Events). These problems cover Unit 2 topics 2.2 (conditional relative frequencies in two-way tables), 2.6 (conditional probability and the general multiplication rule), and 2.7 (independent events and the union of two events) in the Fall 2026 AP Statistics course. Unit 2 is 15 to 25% of the multiple-choice section.

What these problems build

These problems build four Unit 2 skills: reading joint, marginal, and conditional relative frequencies from a two-way table; applying the conditional probability formula P(AB)=P(AB)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}, where P(AB)P(A \mid B) is the probability of event AA given that event BB has happened and P(AB)P(A \cap B) is the probability that both happen; checking whether two events are independent; and reasoning through two-stage situations in words. Independent events satisfy P(AB)=P(A)P(A \mid B) = P(A), so knowing that BB happened does not change the chance of AA.

Work each problem on paper before opening the steps. For the difference between events that cannot happen together and events that do not influence each other, see disjoint vs independent events. Once you can read association from a two-way table, the chi-square calculator tests whether that association is strong enough to be statistically significant.

Problem 1

A food co-op surveyed 150 shoppers about whether they bring reusable bags and whether they buy in bulk. The results are below.

Buys in bulkNo bulkTotal
Brings bags453075
No bags156075
Total6090150

(a) Find the probability that a shopper brings reusable bags. (b) Find the probability that a shopper buys in bulk and brings bags. (c) Find the probability that a shopper buys in bulk given that they bring bags.

Show the worked solution
  1. Read the totals you need from the table. There are 150 shoppers in all, 75 bring reusable bags, and 60 buy in bulk.

  2. Part (a): the marginal probability that a shopper brings bags is the row total divided by the grand total, P(bags)=75150=0.5P(\text{bags}) = \frac{75}{150} = 0.5.

  3. Part (b): the joint probability that a shopper buys in bulk and brings bags is the cell where both meet divided by the grand total, P(bulkbags)=45150=0.3P(\text{bulk} \cap \text{bags}) = \frac{45}{150} = 0.3.

  4. Part (c): the conditional probability restricts to shoppers who bring bags, so divide the 45 who do both by the 75 who bring bags, P(bulkbags)=4575=0.6P(\text{bulk} \mid \text{bags}) = \frac{45}{75} = 0.6.

  5. Notice the denominator changed from 150 in part (b) to 75 in part (c). Conditioning on bringing bags shrinks the group you are looking at to that single row.

(a) P(bags)=0.5P(\text{bags}) = 0.5; (b) P(bulkbags)=0.3P(\text{bulk} \cap \text{bags}) = 0.3; (c) P(bulkbags)=0.6P(\text{bulk} \mid \text{bags}) = 0.6.

Problem 2

At a farmers market cheese stall, the probability that a customer samples the cheese is 0.45. The probability that a customer both samples the cheese and buys some is 0.18. (a) Find the probability that a customer buys cheese given that they sampled it. (b) Find the probability that a customer does not buy given that they sampled.

Show the worked solution
  1. Write down what you are given: P(sample)=0.45P(\text{sample}) = 0.45 and P(samplebuy)=0.18P(\text{sample} \cap \text{buy}) = 0.18.

  2. Part (a): apply the conditional probability formula with sampling as the condition, P(buysample)=P(samplebuy)P(sample)=0.180.45P(\text{buy} \mid \text{sample}) = \frac{P(\text{sample} \cap \text{buy})}{P(\text{sample})} = \frac{0.18}{0.45}.

  3. Divide: 0.180.45=0.4\frac{0.18}{0.45} = 0.4, since 0.45×0.4=0.180.45 \times 0.4 = 0.18.

  4. Part (b): given that a customer sampled, buying and not buying are the only two options, so their conditional probabilities add to 1.

  5. Subtract: P(no buysample)=10.4=0.6P(\text{no buy} \mid \text{sample}) = 1 - 0.4 = 0.6.

(a) P(buysample)=0.4P(\text{buy} \mid \text{sample}) = 0.4; (b) P(no buysample)=0.6P(\text{no buy} \mid \text{sample}) = 0.6.

Problem 3

A coffee shop classified 200 drink orders by size and whether the drink was iced.

IcedHotTotal
Large6040100
Small3070100
Total90110200

Are the events 'the order is iced' and 'the order is large' independent? Justify your answer with a probability comparison.

Show the worked solution
  1. Find the marginal probability that an order is iced by dividing the iced column total by the grand total, P(iced)=90200=0.45P(\text{iced}) = \frac{90}{200} = 0.45.

  2. Find the conditional probability that an order is iced given it is large by restricting to the 100 large orders, P(icedlarge)=60100=0.60P(\text{iced} \mid \text{large}) = \frac{60}{100} = 0.60.

  3. Compare the two. Independence would require P(icedlarge)=P(iced)P(\text{iced} \mid \text{large}) = P(\text{iced}), but 0.600.450.60 \neq 0.45.

  4. As a second check, compare the joint probability with the product of the marginals. The joint is P(icedlarge)=60200=0.30P(\text{iced} \cap \text{large}) = \frac{60}{200} = 0.30.

  5. The product is P(iced)×P(large)=0.45×100200=0.45×0.5=0.225P(\text{iced}) \times P(\text{large}) = 0.45 \times \frac{100}{200} = 0.45 \times 0.5 = 0.225.

  6. Because 0.300.2250.30 \neq 0.225, both tests agree that size and being iced are not independent.

Not independent: P(icedlarge)=0.60P(\text{iced} \mid \text{large}) = 0.60 but P(iced)=0.45P(\text{iced}) = 0.45, so knowing an order is large changes the chance it is iced.

Problem 4

A phone-charging kiosk holds 10 cables: 4 are USB-C and 6 are micro-USB. Two travelers each take one cable at random, one after another, without replacement. (a) Find the probability that both take a USB-C cable. (b) Find the probability that the first traveler takes a micro-USB cable and the second takes a USB-C cable.

Show the worked solution
  1. Part (a): the first traveler faces 4 USB-C cables out of 10, so P(first USB-C)=410P(\text{first USB-C}) = \frac{4}{10}.

  2. After one USB-C cable is gone, 3 USB-C cables remain out of 9 cables, so P(second USB-Cfirst USB-C)=39P(\text{second USB-C} \mid \text{first USB-C}) = \frac{3}{9}.

  3. By the general multiplication rule, multiply along the branch: P(both USB-C)=410×39=1290=2150.133P(\text{both USB-C}) = \frac{4}{10} \times \frac{3}{9} = \frac{12}{90} = \frac{2}{15} \approx 0.133.

  4. Part (b): the first traveler faces 6 micro-USB cables out of 10, so P(first micro)=610P(\text{first micro}) = \frac{6}{10}.

  5. With one micro-USB cable gone, all 4 USB-C cables remain out of 9, so P(second USB-Cfirst micro)=49P(\text{second USB-C} \mid \text{first micro}) = \frac{4}{9}.

  6. Multiply along the branch: P(micro then USB-C)=610×49=2490=4150.267P(\text{micro then USB-C}) = \frac{6}{10} \times \frac{4}{9} = \frac{24}{90} = \frac{4}{15} \approx 0.267.

(a) 2150.133\frac{2}{15} \approx 0.133; (b) 4150.267\frac{4}{15} \approx 0.267.

Problem 5

A car wash logged 300 vehicles by type and whether the driver added the wax upgrade.

WaxNo waxTotal
SUV6060120
Not SUV40140180
Total100200300

(a) Find the probability a vehicle added wax given it is an SUV. (b) Find the probability a vehicle is an SUV given it added wax. (c) Explain why the two answers differ.

Show the worked solution
  1. Part (a): restrict to the 120 SUVs and count how many added wax, P(waxSUV)=60120=0.50P(\text{wax} \mid \text{SUV}) = \frac{60}{120} = 0.50.

  2. Part (b): now restrict to the 100 vehicles that added wax and count how many were SUVs, P(SUVwax)=60100=0.60P(\text{SUV} \mid \text{wax}) = \frac{60}{100} = 0.60.

  3. Both parts start from the same 60 vehicles in the SUV-and-wax cell, but the denominators differ.

  4. In part (a) you divide by 120 (all SUVs); in part (b) you divide by 100 (all wax buyers), which is why 0.500.600.50 \neq 0.60.

  5. Part (c): the two conditionals answer different questions. P(waxSUV)P(\text{wax} \mid \text{SUV}) asks what fraction of SUVs added wax, while P(SUVwax)P(\text{SUV} \mid \text{wax}) asks what fraction of wax buyers drove SUVs, so swapping the condition changes the result.

(a) P(waxSUV)=0.50P(\text{wax} \mid \text{SUV}) = 0.50; (b) P(SUVwax)=0.60P(\text{SUV} \mid \text{wax}) = 0.60; (c) they differ because the condition, and so the denominator, changes from all SUVs to all wax buyers.

Problem 6

A bike shop asked 240 customers whether they took a test ride and whether they bought a bike. In all, 150 customers took a test ride and 90 customers bought a bike. Among the customers who took a test ride, 72 bought a bike. (a) Complete the two-way table. (b) Find the probability that a customer bought a bike given that they did not take a test ride. (c) Are buying a bike and taking a test ride independent? Justify with a calculation.

Show the worked solution
  1. Start with what you know: 240 customers total, 150 took a test ride, 90 bought a bike, and 72 both test-rode and bought.

  2. Fill the test-ride row: if 72 of the 150 test riders bought, then 15072=78150 - 72 = 78 test rode but did not buy.

  3. Find the no-test-ride totals: 240150=90240 - 150 = 90 customers did not test ride, and 9072=1890 - 72 = 18 of the 90 buyers did not test ride.

  4. Complete the last cell: 9018=7290 - 18 = 72 customers neither test rode nor bought. The finished table is:

    BoughtNot boughtTotal
    Test ride7278150
    No test ride187290
    Total90150240
  5. Part (b): restrict to the 90 customers who did not test ride, of whom 18 bought, P(boughtno test ride)=1890=0.2P(\text{bought} \mid \text{no test ride}) = \frac{18}{90} = 0.2.

  6. Part (c): the overall buy rate is P(bought)=90240=0.375P(\text{bought}) = \frac{90}{240} = 0.375, while among test riders it is P(boughttest ride)=72150=0.48P(\text{bought} \mid \text{test ride}) = \frac{72}{150} = 0.48.

  7. Because 0.480.3750.48 \neq 0.375, the two events are not independent; test riders bought at a higher rate than customers overall.

(a) test ride: 72 bought, 78 not; no test ride: 18 bought, 72 not; (b) P(boughtno test ride)=0.2P(\text{bought} \mid \text{no test ride}) = 0.2; (c) not independent, since P(boughttest ride)=0.480.375=P(bought)P(\text{bought} \mid \text{test ride}) = 0.48 \neq 0.375 = P(\text{bought}).

Problem 7

A bakery bakes croissants in two ovens. Oven A produces 60% of the croissants and oven B produces the other 40%. Of oven A's croissants, 5% come out underbaked; of oven B's, 10% come out underbaked. (a) Find the probability that a randomly chosen croissant is underbaked. (b) Given that a croissant is underbaked, find the probability it came from oven B.

Show the worked solution
  1. Set up a hypothetical batch of 1000 croissants so the percentages become counts. Oven A makes 0.60×1000=6000.60 \times 1000 = 600 and oven B makes 0.40×1000=4000.40 \times 1000 = 400.

  2. Count oven A's underbaked croissants: 0.05×600=300.05 \times 600 = 30.

  3. Count oven B's underbaked croissants: 0.10×400=400.10 \times 400 = 40.

  4. Part (a): add the two underbaked counts and divide by the batch size, P(underbaked)=30+401000=701000=0.07P(\text{underbaked}) = \frac{30 + 40}{1000} = \frac{70}{1000} = 0.07.

  5. Part (b): restrict to the 70 underbaked croissants and find how many came from oven B, P(oven Bunderbaked)=40700.571P(\text{oven B} \mid \text{underbaked}) = \frac{40}{70} \approx 0.571.

  6. The formula gives the same value: P(oven Bunderbaked)=P(oven Bunderbaked)P(underbaked)=0.40×0.100.07=0.040.070.571P(\text{oven B} \mid \text{underbaked}) = \frac{P(\text{oven B} \cap \text{underbaked})}{P(\text{underbaked})} = \frac{0.40 \times 0.10}{0.07} = \frac{0.04}{0.07} \approx 0.571.

(a) P(underbaked)=0.07P(\text{underbaked}) = 0.07; (b) P(oven Bunderbaked)=40700.571P(\text{oven B} \mid \text{underbaked}) = \frac{40}{70} \approx 0.571.

Problem 8

In a trivia app, the probability a player answers the sports question correctly is 0.7 and the probability they answer the history question correctly is 0.6. The two questions are independent. (a) Find the probability the player gets both correct. (b) Find the probability they get at least one correct. (c) Find the probability they get exactly one correct. (d) Given that they get at least one correct, find the probability they get both correct.

Show the worked solution
  1. Part (a): because the questions are independent, multiply the two probabilities, P(both)=0.7×0.6=0.42P(\text{both}) = 0.7 \times 0.6 = 0.42.

  2. Part (b): use the union rule, P(at least one)=P(sports)+P(history)P(both)=0.7+0.60.42=0.88P(\text{at least one}) = P(\text{sports}) + P(\text{history}) - P(\text{both}) = 0.7 + 0.6 - 0.42 = 0.88.

  3. Part (c): exactly one correct is the union with the both-correct overlap removed, P(exactly one)=P(at least one)P(both)=0.880.42=0.46P(\text{exactly one}) = P(\text{at least one}) - P(\text{both}) = 0.88 - 0.42 = 0.46.

  4. Check part (c) by adding the two one-correct cases: sports only is 0.7×(10.6)=0.7×0.4=0.280.7 \times (1 - 0.6) = 0.7 \times 0.4 = 0.28, history only is (10.7)×0.6=0.3×0.6=0.18(1 - 0.7) \times 0.6 = 0.3 \times 0.6 = 0.18, and 0.28+0.18=0.460.28 + 0.18 = 0.46.

  5. Part (d): getting both correct already guarantees at least one is correct, so P(bothat least one)=P(both)=0.42P(\text{both} \cap \text{at least one}) = P(\text{both}) = 0.42.

  6. Divide by the probability of the condition, P(bothat least one)=0.420.880.477P(\text{both} \mid \text{at least one}) = \frac{0.42}{0.88} \approx 0.477.

(a) 0.42; (b) 0.88; (c) 0.46; (d) P(bothat least one)=0.420.880.477P(\text{both} \mid \text{at least one}) = \frac{0.42}{0.88} \approx 0.477.