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. A few rules then cover the rest: the addition rule for "or", events, for "given that", and multiplying for .

You'll be able to

  • Read probabilities straight off a , a table of outcomes or a sample-space diagram, often with no formula at all.
  • 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 events and use P(A∩B)=0\mathrm{P}(A \cap B) = 0.
  • Find a P(A∣B)\mathrm{P}(A \mid B) 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 for two stages, with and without replacement.
  • Use and test with P(A∩B)=P(A) P(B)\mathrm{P}(A \cap B) = \mathrm{P}(A)\,\mathrm{P}(B).
Before you start3 quick questions on what this builds on
Check yourself
The probability that a seed grows is 0.380.38. Find the probability that it does not grow.
Check yourself
A fair eight-sided die is numbered 11 to 88. Find the probability of rolling a number greater than 55.
Check yourself
A fair spinner numbered 11 to 55 is spun twice. Write down the number of outcomes in the sample space.

Revise first: 4.5 Probability foundations and expected value

Venn diagrams and the addition rule

Some students play chess, some play the piano, and a few do both. Add the two groups and you count those few twice. A picture stops that.

A rectangle labelled U holds two overlapping circles, A on the left and B on the right. The four regions are labelled: A and not B, A and B in the overlap, not A and B, and not A and not B outside both circles. U A B A ∩ B′ A ∩ B A′ ∩ B A′ ∩ B′
The four regions of a two-event Venn diagram. Their probabilities add up to 11.

In maths, "or" includes both. "AA or BB" means AA happens, BB happens, or both happen. 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)

It's in the formula booklet. Given any three of its four probabilities, you can find the fourth.

Worked exampleOf 6060 people leaving a cinema, 3434 bought a snack, 2525 bought a drink and 1212 bought both. Let SS be the event "bought a snack" and DD the event "bought a drink". (a) Draw a Venn diagram showing the number of people in each region. (b) One of the 6060 people is chosen at random. Find the probability that they bought neither a snack nor a drink.

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

  1. (a) Overlap first: 1212 people are in S∩DS \cap D.
Worked exampleEvents AA and BB have P(A)=0.45\mathrm{P}(A) = 0.45, P(B)=0.3\mathrm{P}(B) = 0.3 and P(A∪B)=0.6\mathrm{P}(A \cup B) = 0.6. (a) Find P(A∩B)\mathrm{P}(A \cap B). (b) Find P(A∩B′)\mathrm{P}(A \cap B').

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

  1. (a) Write the addition rule with the known values in: 0.6=0.45+0.3−P(A∩B)0.6 = 0.45 + 0.3 - \mathrm{P}(A \cap B).
Check yourself
Events AA and BB have P(A)=0.42\mathrm{P}(A) = 0.42, P(B)=0.37\mathrm{P}(B) = 0.37 and P(A∩B)=0.16\mathrm{P}(A \cap B) = 0.16. Find P(A∪B)\mathrm{P}(A \cup B).
Check yourself
In a class of 3030, 1818 students study French, 1111 study Spanish and 55 study both. One student is chosen at random. Find the probability that they study neither language.

Mutually exclusive events

On one roll of a die, "a 22" and "a 55" can't both happen. On a their 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:

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

This is in the booklet too. Use it only when AA and BB can't happen together.

Worked exampleTwo fair six-sided dice are rolled. Let AA be the event "the total is 99" and BB the event "both dice show the same number". (a) Show that AA and BB are mutually exclusive. (b) Find P(A∪B)\mathrm{P}(A \cup B).

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

  1. Draw a sample-space diagram of the totals. Its 3636 cells are equally likely.
Worked exampleEvents AA and BB are mutually exclusive, with P(A)=0.28\mathrm{P}(A) = 0.28 and P(A∪B)=0.73\mathrm{P}(A \cup B) = 0.73. (a) Find P(B)\mathrm{P}(B). (b) Find P(A′∩B′)\mathrm{P}(A' \cap B').

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

  1. (a) The events are mutually exclusive, so P(A∪B)=P(A)+P(B)\mathrm{P}(A \cup B) = \mathrm{P}(A) + \mathrm{P}(B). Substitute: 0.73=0.28+P(B)0.73 = 0.28 + \mathrm{P}(B).
Check yourself
Events AA and BB have P(A)=0.58\mathrm{P}(A) = 0.58 and P(B)=0.61\mathrm{P}(B) = 0.61. Can AA and BB be mutually exclusive?
Check yourself
Events AA and BB are mutually exclusive, with P(A)=0.15\mathrm{P}(A) = 0.15 and P(B)=0.6\mathrm{P}(B) = 0.6. Find P(A′∩B′)\mathrm{P}(A' \cap B').

Conditional probability

This table of outcomes shows how 120120 students travel to school, by year group.

WalkBusCarTotalYear 121824850Year 1322301870Total405426120\begin{array}{l|ccc|c} & \text{Walk} & \text{Bus} & \text{Car} & \text{Total} \\ \hline \text{Year 12} & 18 & 24 & 8 & 50 \\ \text{Year 13} & 22 & 30 & 18 & 70 \\ \hline \text{Total} & 40 & 54 & 26 & 120 \end{array}

A random student walks with probability 40120\frac{40}{120}. Now say you know the student is in Year 13. Only that row matters, and 2222 of its 7070 students walk. So the probability becomes 2270=1135\frac{22}{70} = \frac{11}{35}.

Knowing that an event has happened shrinks the to it. This gives a .

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

Given BB, only the outcomes in BB are left, and the ones also in AA form A∩BA \cap B. So divide the overlap by all of BB. It's in the booklet. The given event always goes on the bottom.

Multiply both sides by P(B)\mathrm{P}(B) for a second form, which finds the probability of both.

Learn this
P(A∩B)=P(B) P(A∣B)\mathrm{P}(A \cap B) = \mathrm{P}(B)\,\mathrm{P}(A \mid B)
Worked exampleAt a café, 40%40\% of customers order a hot drink. Of the customers who order a hot drink, 35%35\% also buy a pastry. A customer is chosen at random. Find the probability that they order a hot drink and buy a pastry.

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

  1. Let HH be "orders a hot drink" and SS be "buys a pastry". Then P(H)=0.4\mathrm{P}(H) = 0.4.
Worked exampleEvents AA and BB have P(A)=0.55\mathrm{P}(A) = 0.55, P(B)=0.3\mathrm{P}(B) = 0.3 and P(A∪B)=0.67\mathrm{P}(A \cup B) = 0.67. Find P(B∣A′)\mathrm{P}(B \mid A').

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

  1. Find the overlap from the addition rule: P(A∩B)=0.55+0.3−0.67=0.18\mathrm{P}(A \cap B) = 0.55 + 0.3 - 0.67 = 0.18.
Check yourself
Use the table of how students travel. A student is chosen at random. Given that the student walks, find the probability that they are in Year 12.
Check yourself
Events AA and BB have P(A)=0.32\mathrm{P}(A) = 0.32 and P(A∩B)=0.12\mathrm{P}(A \cap B) = 0.12. Find P(B∣A)\mathrm{P}(B \mid A).

Tree diagrams, with and without replacement

Some experiments happen in stages: first the weather, then the bus. 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 .

Tree diagram. First stage: rain 0.3, no rain 0.7. After rain: late 0.25, on time 0.75. After no rain: late 0.1, on time 0.9. Path products: 0.075, 0.225, 0.07 and 0.63. R R′ L L′ L L′ 0.3 0.7 0.25 0.75 0.1 0.9 0.3 × 0.25 = 0.075 0.3 × 0.75 = 0.225 0.7 × 0.1 = 0.07 0.7 × 0.9 = 0.63
The tree for Sam's bus. Multiply along each path; the four path probabilities add to 11.
Worked exampleOn a school day, the probability that it rains is 0.30.3. If it rains, the probability that Sam's bus is late is 0.250.25. If it doesn't rain, the probability is 0.10.1. (a) Find the probability that the bus is late. (b) Given that the bus is late, find the probability that it rained.

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

  1. Let RR be "it rains" and LL be "the bus is late". Draw the tree: RR or R′R', then LL or L′L', with P(L∣R)=0.25\mathrm{P}(L \mid R) = 0.25 and P(L∣R′)=0.1\mathrm{P}(L \mid R') = 0.1.

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

Worked exampleA bag holds 55 green and 33 white counters. Two counters are taken at random, one after the other, without replacement. Find the probability that both counters are the same colour.

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

  1. First draw, from 88 counters: P(G)=58\mathrm{P}(G) = \frac{5}{8} and P(W)=38\mathrm{P}(W) = \frac{3}{8}.
Check yourself
The probability that Ana passes her driving test at the first attempt is 0.70.7. If she fails, the probability that she passes at the second attempt is 0.80.8. Find the probability that she passes within her first two attempts.
Check yourself
A box holds 1010 bulbs, and 33 of them are faulty. Two bulbs are chosen at random without replacement. Find the probability that both are faulty. Give your answer to 3 s.f.

Independent events

Toss a coin and roll a die. Getting heads 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). You get the multiplication rule for independent events.

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

It's in the booklet, and it works both ways. If you're told the events are independent, multiply. To test them, compare the product with P(A∩B)\mathrm{P}(A \cap B).

Worked exampleUse the table of how students travel. Let TT be "the student is in Year 13" and BB be "the student takes the bus". Find P(T)×P(B)\mathrm{P}(T) \times \mathrm{P}(B), and hence determine whether TT and BB are independent.

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

  1. From the table: P(T)=70120\mathrm{P}(T) = \frac{70}{120}, P(B)=54120\mathrm{P}(B) = \frac{54}{120} and P(T∩B)=30120=14\mathrm{P}(T \cap B) = \frac{30}{120} = \frac{1}{4}.
Worked exampleEvents AA and BB are independent. P(B)\mathrm{P}(B) is 0.250.25 more than P(A)\mathrm{P}(A), and P(A∩B)=0.18\mathrm{P}(A \cap B) = 0.18. Use your calculator to find P(A)\mathrm{P}(A). Give your answer to 3 s.f.

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

  1. Let P(A)=p\mathrm{P}(A) = p, so P(B)=p+0.25\mathrm{P}(B) = p + 0.25.
Check yourself
Events AA and BB have P(A)=0.6\mathrm{P}(A) = 0.6, P(B)=0.35\mathrm{P}(B) = 0.35 and P(A∪B)=0.74\mathrm{P}(A \cup B) = 0.74. Are AA and BB independent?
Check yourself
Events AA and BB are independent, with P(A)=0.4\mathrm{P}(A) = 0.4 and P(B)=0.55\mathrm{P}(B) = 0.55. Find P(A∩B′)\mathrm{P}(A \cap B').

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 AA-only region as P(A)\mathrm{P}(A). P(A)\mathrm{P}(A) is the AA-only region plus the overlap.
  • Dividing by P(B)\mathrm{P}(B) when you need P(A∣B′)\mathrm{P}(A \mid B'). The given event goes on the bottom, so divide by P(B′)\mathrm{P}(B').
  • Reading "35%35\% of the hot-drink customers" as the probability of both. It is P(S∣H)\mathrm{P}(S \mid H); multiply by P(H)\mathrm{P}(H) to get both.
  • Multiplying P(A)×P(B)\mathrm{P}(A) \times \mathrm{P}(B) for events not known to be independent. Use the addition rule, a diagram or P(B) P(A∣B)\mathrm{P}(B)\,\mathrm{P}(A \mid B) instead.
  • Treating draws without replacement as if the item went back. After each draw, reduce the total and that colour by one.

Exam tips

  • Show that events are (or are not) independent: write the values of P(A) P(B)\mathrm{P}(A)\,\mathrm{P}(B) and P(A∩B)\mathrm{P}(A \cap B), compare them, then conclude.
  • Find: draw and label the Venn or tree diagram first. On Paper 1, give exact answers.
  • Solve for an unknown probability: write the equation first, then reject any root below 00 or above 11 and say why.
  • On Paper 2, write down the equation you put into the calculator, then give the answer to 3 s.f.

Key takeaways

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)
In bookletP(A∪B)=P(A)+P(B)\mathrm{P}(A \cup B) = \mathrm{P}(A) + \mathrm{P}(B)
In bookletP(A∣B)=P(A∩B)P(B)\mathrm{P}(A \mid B) = \dfrac{\mathrm{P}(A \cap B)}{\mathrm{P}(B)}
Learn thisP(A∩B)=P(B) P(A∣B)\mathrm{P}(A \cap B) = \mathrm{P}(B)\,\mathrm{P}(A \mid B)
In bookletP(A∩B)=P(A) P(B)\mathrm{P}(A \cap B) = \mathrm{P}(A)\,\mathrm{P}(B)
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.
Learn thisMutually exclusive events can't both happen: P(A∩B)=0\mathrm{P}(A \cap B) = 0.
Learn thisTree diagrams: multiply along a path, add across paths. Without replacement, the second-stage fractions change.

Practise this

26 past-paper questions on 4.6 in the AA HL bank, each with a mark scheme and a worked explanation.

Practise 4.6 →