Home › Chapter 24 › Tree diagrams
1. Tree diagrams
Prior knowledge
probability
Counting outcomes
If the first event has m outcomes and the second has n, there are m × n combined outcomes. A tree diagram shows them all: one set of branches for each stage.
The two rules
- Multiply along the branches to get the probability of one path (“and”).
- Add the probabilities of different paths (“or”).
- Each pair of branches from one point adds up to 1. All the end probabilities add up to 1.
Worked example
P(Sam passes maths) = 0.7, P(Sam passes science) = 0.6, independent.
P(passes both) = 0.7 × 0.6 = 0.42. P(passes exactly one) = 0.7 × 0.4 + 0.3 × 0.6 = 0.28 + 0.18 = 0.46.
P(passes at least one) = 1 − P(fails both) = 1 − 0.3 × 0.4 = 0.88.
P(passes both) = 0.7 × 0.6 = 0.42. P(passes exactly one) = 0.7 × 0.4 + 0.3 × 0.6 = 0.28 + 0.18 = 0.46.
P(passes at least one) = 1 − P(fails both) = 1 − 0.3 × 0.4 = 0.88.
With and without replacement
If the first item is put back, the second-stage probabilities are the same as the first. If it is not replaced, there is one fewer item, and one fewer of the colour taken. The events are then dependent.
Worked example
A bag has 3 red and 2 blue balls. Two are taken without replacement.
P(both the same colour) = 35 × 24 + 25 × 14 = 620 + 220 = 25.
Common mistake
Adding along the branches, or forgetting to reduce both the top and bottom numbers when an item is not replaced.