4.6 · SLPaper 1Paper 2

Probability diagrams, rules and independence

In a minute

, and tables turn a wordy probability question into regions and branches you can read off, often with no formula at all. A few rules cover the rest: the addition rule for "or", , for "given that", and multiplying for .

You'll be able to

  • Read probabilities straight off a Venn diagram, a sample-space diagram or a table of outcomes, often with no formula.
  • Use the addition rule P(A∪B)=P(A)+P(B)−P(A∩B)\mathrm{P}(A \cup B) = \mathrm{P}(A) + \mathrm{P}(B) - \mathrm{P}(A \cap B), knowing that "or" includes both.
  • Recognise mutually exclusive events and use P(A∩B)=0\mathrm{P}(A \cap B) = 0.
  • Find a conditional probability from a table or the formula, and use P(A∩B)=P(B) P(A∣B)\mathrm{P}(A \cap B) = \mathrm{P}(B)\,\mathrm{P}(A \mid B).
  • Draw and use tree diagrams for two stages, with and , and interpret the result.
  • Use independence to multiply probabilities, and test whether two are independent.
Before you start3 quick questions on what this builds on
Check yourself
The probability that the 08:15 bus is full is 0.270.27. Find the probability that it is not full.
Check yourself
In a club of 2828 members, 1111 are left-handed. One member is chosen at random. Find the probability that the member is left-handed.
Check yourself
A fair coin is tossed and a fair four-sided die is rolled. Write down the number of outcomes in the .

Revise first: 4.5 Probability foundations and expected value

Venn diagrams and the addition rule

A station survey asks commuters whether they own a bike or a car. Some own both, so adding the two groups counts them twice. A picture stops that.

In maths, "or" includes both. "AA or BB" means AA only, BB only, or both. So A∪BA \cup B is three regions: A∩B′A \cap B', A∩BA \cap B and A′∩BA' \cap B.

P(A)\mathrm{P}(A) covers two regions, and so does P(B)\mathrm{P}(B). Adding them counts the overlap twice. Take it away once and you get the addition rule.

In the formula booklet
P(A∪B)=P(A)+P(B)−P(A∩B)\mathrm{P}(A \cup B) = \mathrm{P}(A) + \mathrm{P}(B) - \mathrm{P}(A \cap B)

This is in the formula booklet. Given any three of its four probabilities, you can find the fourth.

Worked exampleA survey of 150150 commuters finds that 8484 own a bike, 5757 own a car and 2626 own both. Let BB be "owns a bike" and CC be "owns a car". (a) Draw a Venn diagram showing the number of commuters in each region. (b) One commuter is chosen at random. Find the probability that they own neither a bike nor a car.

Try it first, then reveal one step at a time.

  1. (a) Fill the overlap first: 2626 commuters are in B∩CB \cap C.
Venn diagram of 150 commuters. A rectangle labelled U, total 150, holds two overlapping circles, B for owns a bike on the left and C for owns a car on the right. Bike only holds 58, the overlap holds 26, car only holds 31, and 35 lie outside both circles. U (150) B (bike) C (car) 58 26 31 35
Fill from the middle out. The four regions add up to 150150.
Worked exampleFor a streaming service, the probability that a subscriber watches drama is 0.620.62, watches comedy is 0.480.48, and watches drama or comedy is 0.810.81. (a) Find the probability that a subscriber watches both. (b) Find the probability that a subscriber watches exactly one of the two, and interpret it.

Try it first, then reveal one step at a time.

  1. Let DD be "watches drama" and CC be "watches comedy". "Drama or comedy" includes both, so P(D∪C)=0.81\mathrm{P}(D \cup C) = 0.81.
Check yourself
At a hotel, the probability that a guest uses the pool is 0.350.35, uses the gym is 0.440.44, and uses both is 0.120.12. Find the probability that a guest uses the pool or the gym.
Check yourself
A sports club has 9090 members. 5252 play tennis, 3737 play squash and 1111 play neither. One member is chosen at random. Find the probability that they play both.

Mutually exclusive events

On one journey, a commuter either takes the train or takes the bus, never both. On a Venn diagram, those two circles don't overlap.

Learn this
P(A∩B)=0\mathrm{P}(A \cap B) = 0

Put P(A∩B)=0\mathrm{P}(A \cap B) = 0 into the addition rule and the last term disappears. This version is in the booklet too, but use it only when AA and BB can't happen together.

In the formula booklet
P(A∪B)=P(A)+P(B)\mathrm{P}(A \cup B) = \mathrm{P}(A) + \mathrm{P}(B)
Worked exampleAt a fair, two fair spinners, numbered 11 to 44 and 11 to 55, are spun and their numbers multiplied. You win if the product is odd or a multiple of 44. Let AA be "the product is odd" and MM be "the product is a multiple of 44". (a) Show that AA and MM are mutually exclusive. (b) Find the probability of winning.

Try it first, then reveal one step at a time.

  1. Draw a sample-space diagram of the products. Its 2020 cells are equally likely.
Worked exampleEach customer at a phone shop takes contract AA, contract BB or no contract, and nobody takes both contracts. Contract BB is twice as likely as contract AA, and the probability of no contract is 0.310.31. Find the probability that a customer takes contract AA.

Try it first, then reveal one step at a time.

  1. Let P(A)=p\mathrm{P}(A) = p, so P(B)=2p\mathrm{P}(B) = 2p.
Check yourself
In a town, the probability that an adult reads news online is 0.570.57, and the probability that they read a printed newspaper is 0.490.49. Can these two events be mutually exclusive?
Check yourself
Events AA and BB are mutually exclusive, with P(A)=0.26\mathrm{P}(A) = 0.26 and P(A′∩B′)=0.41\mathrm{P}(A' \cap B') = 0.41. Find P(B)\mathrm{P}(B).

Conditional probability

A phone repair shop records 250250 repairs by phone brand and whether the repair was finished the same day.

Same dayLaterTotalBrand X483280Brand Y365490Brand Z512980Total135115250\begin{array}{l|cc|c} & \text{Same day} & \text{Later} & \text{Total} \\ \hline \text{Brand X} & 48 & 32 & 80 \\ \text{Brand Y} & 36 & 54 & 90 \\ \text{Brand Z} & 51 & 29 & 80 \\ \hline \text{Total} & 135 & 115 & 250 \end{array}

A random repair was finished the same day with probability 135250=0.54\frac{135}{250} = 0.54. If you know the phone is brand Y, only that row matters: 3690=0.4\frac{36}{90} = 0.4.

Knowing that an event has happened shrinks the sample space to that event. The new probability is a conditional probability.

In the formula booklet
P(A∣B)=P(A∩B)P(B)\mathrm{P}(A \mid B) = \frac{\mathrm{P}(A \cap B)}{\mathrm{P}(B)}

Given BB, only the outcomes in BB are left, so divide the overlap by all of BB. The given event always goes on the bottom. This is in the booklet.

Multiply both sides by P(B)\mathrm{P}(B) for a second form, which finds the probability of both. Learn it: the booklet shows only the first form.

Learn this
P(A∩B)=P(B) P(A∣B)\mathrm{P}(A \cap B) = \mathrm{P}(B)\,\mathrm{P}(A \mid B)
Worked exampleUse the repair table. A repair is chosen at random. Given that it was not finished the same day, find the probability that the phone was brand Z.

Try it first, then reveal one step at a time.

  1. Let ZZ be "brand Z" and NN be "not finished the same day". The given event is NN.
Worked exampleIn a town, 38%38\% of households have solar panels. Of the households with solar panels, 45%45\% also have a home battery. (a) Find the probability that a randomly chosen household has solar panels and a battery. (b) A local newspaper reports that "45%45\% of households in the town have a home battery". Comment on this claim.

Try it first, then reveal one step at a time.

  1. Let SS be "has solar panels" and HH be "has a home battery". Then P(S)=0.38\mathrm{P}(S) = 0.38.
Check yourself
Use the repair table. A repair is chosen at random. Given that the phone was brand X, find the probability that the repair was finished the same day.
Check yourself
At a supermarket, the probability that a customer uses a loyalty card is 0.560.56. The probability that a customer uses a loyalty card and buys flowers is 0.140.14. Find the probability that a customer buys flowers, given that they use a loyalty card.

Tree diagrams, with and without replacement

Some experiments happen in stages: first the serve, then the rally. What happens at the first stage can change the chances at the second.

1. Multiply along a path. This is P(A∩B)=P(A) P(B∣A)\mathrm{P}(A \cap B) = \mathrm{P}(A)\,\mathrm{P}(B \mid A), with AA the first stage.

2. Add the paths you want. Different paths can't both happen, so they are mutually exclusive.

Tree diagram. First stage: first serve in 0.62, first serve out 0.38. After a first serve in: win the point 0.71, lose 0.29. After a first serve out: win 0.48, lose 0.52. Path products: 0.4402, 0.1798, 0.1824 and 0.1976. F F′ W W′ W W′ 0.62 0.38 0.71 0.29 0.48 0.52 0.62 × 0.71 = 0.4402 0.62 × 0.29 = 0.1798 0.38 × 0.48 = 0.1824 0.38 × 0.52 = 0.1976
The tree for the tennis serve. Multiply along each path; the four path probabilities add up to 11.
Worked exampleA tennis player gets her first serve in with probability 0.620.62. If it goes in, she wins the point with probability 0.710.71. If it is out, she plays a second serve and wins the point with probability 0.480.48. (a) Find the probability that she wins a point. (b) Given that she won a point, find the probability that her first serve went in.

Try it first, then reveal one step at a time.

  1. Let FF be "first serve in" and WW be "wins the point". Draw the tree: FF or F′F', then WW or W′W', with P(W∣F)=0.71\mathrm{P}(W \mid F) = 0.71 and P(W∣F′)=0.48\mathrm{P}(W \mid F') = 0.48.

With replacement, you put the first item back, so the second pick has the same chances. Without replacement, you keep it out, so the totals and the second-stage probabilities change.

Worked exampleA team of 1414 volunteers includes 55 teenagers. Two volunteers are chosen at random, one after the other, without replacement, for a radio interview. (a) Find the probability that at least one of them is a teenager. (b) Explain why the answer would be different if the same person could be chosen twice.

Try it first, then reveal one step at a time.

  1. Let TT be "a teenager". First pick, from 1414: P(T)=514\mathrm{P}(T) = \frac{5}{14} and P(T′)=914\mathrm{P}(T') = \frac{9}{14}.
Check yourself
The probability that a train is late on Monday is 0.150.15. If it is late on Monday, the probability that it is late on Tuesday is 0.40.4. If not, it is 0.10.1. Find the probability that the train is late on exactly one of the two days.
Check yourself
A drawer holds 1111 batteries, and 44 of them are flat. Two batteries are taken at random without replacement. Find the probability that both work. Give your answer to 3 s.f.

Independent events

Roll a die and check tomorrow's weather. Rain doesn't change the chance of a six: it is still 16\frac{1}{6}.

Put P(A∣B)=P(A)\mathrm{P}(A \mid B) = \mathrm{P}(A) into P(A∩B)=P(B) P(A∣B)\mathrm{P}(A \cap B) = \mathrm{P}(B)\,\mathrm{P}(A \mid B) and you get the multiplication rule below. It is in the booklet.

In the formula booklet
P(A∩B)=P(A) P(B)\mathrm{P}(A \cap B) = \mathrm{P}(A)\,\mathrm{P}(B)

If you're told the events are independent, multiply. To test whether they are, compare P(A) P(B)\mathrm{P}(A)\,\mathrm{P}(B) with P(A∩B)\mathrm{P}(A \cap B).

Worked exampleUse the repair table. Let XX be "brand X" and SS be "finished the same day". Find P(X)×P(S)\mathrm{P}(X) \times \mathrm{P}(S), and hence determine whether XX and SS are independent.

Try it first, then reveal one step at a time.

  1. From the table: P(X)=80250=0.32\mathrm{P}(X) = \frac{80}{250} = 0.32, P(S)=135250=0.54\mathrm{P}(S) = \frac{135}{250} = 0.54 and P(X∩S)=48250=0.192\mathrm{P}(X \cap S) = \frac{48}{250} = 0.192.
Worked exampleA hospital has two backup generators, which start independently of each other in a power cut. Generator 2 is 0.080.08 less likely to start than generator 1. The probability that at least one of them starts is 0.970.97. Use your calculator to find the probability that generator 1 starts. Give your answer to 3 s.f.

Try it first, then reveal one step at a time.

  1. Let AA be "generator 1 starts" and BB be "generator 2 starts". Let P(A)=p\mathrm{P}(A) = p, so P(B)=p−0.08\mathrm{P}(B) = p - 0.08.
Check yourself
For a student at a school, the probability of playing a musical instrument is 0.30.3, of playing a team sport is 0.450.45, and of playing an instrument or a team sport is 0.6150.615. Are the two events independent?
Check yourself
A component passes test 1 with probability 0.920.92 and test 2 with probability 0.850.85, independently. Find the probability that it passes test 1 but fails test 2.

Common mistakes

  • Adding P(A)\mathrm{P}(A) and P(B)\mathrm{P}(B) and forgetting the overlap. Unless the events are mutually exclusive, subtract P(A∩B)\mathrm{P}(A \cap B).
  • Using the wrong denominator for "given that". Divide by the given event's total, or its probability.
  • Multiplying P(A)×P(B)\mathrm{P}(A) \times \mathrm{P}(B) for events not known to be independent. Use a diagram, the addition rule or P(B) P(A∣B)\mathrm{P}(B)\,\mathrm{P}(A \mid B).
  • Treating picks without replacement as if the item went back. After each pick, reduce the total, and that type's count, by one.
  • Calling events independent, or not, with no numbers. Compare P(A) P(B)\mathrm{P}(A)\,\mathrm{P}(B) with P(A∩B)\mathrm{P}(A \cap B) first.

Exam tips

  • Write down a probability from a table or diagram: no working needed; give a fraction or 3 s.f.
  • Find a conditional probability: show the fraction before the decimal. The numerator and denominator can each earn a mark.
  • Determine whether events are independent: write P(A) P(B)\mathrm{P}(A)\,\mathrm{P}(B) and P(A∩B)\mathrm{P}(A \cap B) as numbers, compare them, then conclude.
  • Solve for an unknown probability with the GDC: write the equation first, then reject any root outside 00 to 11, saying why.

Key takeaways

Learn thisFill a Venn diagram from the middle out: the overlap, then the rest of each circle, then the outside. "Or" includes both: A∪BA \cup B means AA, BB or both.
In bookletP(A∪B)=P(A)+P(B)−P(A∩B)\mathrm{P}(A \cup B) = \mathrm{P}(A) + \mathrm{P}(B) - \mathrm{P}(A \cap B)
Learn thisMutually exclusive events can't both happen, so P(A∩B)=0\mathrm{P}(A \cap B) = 0. That is not the same as independent.
In bookletP(A∪B)=P(A)+P(B)for mutually exclusive A,B\mathrm{P}(A \cup B) = \mathrm{P}(A) + \mathrm{P}(B) \quad \text{for mutually exclusive } A, B
In bookletP(A∣B)=P(A∩B)P(B),P(B)>0\mathrm{P}(A \mid B) = \frac{\mathrm{P}(A \cap B)}{\mathrm{P}(B)}, \quad \mathrm{P}(B) > 0
Learn thisP(A∩B)=P(B) P(A∣B)\mathrm{P}(A \cap B) = \mathrm{P}(B)\,\mathrm{P}(A \mid B)
Learn thisTree diagrams: multiply along a path, add across paths. Without replacement, the totals and second-stage probabilities change.
In bookletP(A∩B)=P(A) P(B)for independent A,B\mathrm{P}(A \cap B) = \mathrm{P}(A)\,\mathrm{P}(B) \quad \text{for independent } A, B

Practise this

14 past-paper questions on Conditional probability in the AI HL bank, each with a mark scheme and a worked explanation.

Practise Conditional probability →