Statistics and Mechanics Year 1, chapter 5 (Probability), section 5.4
Tree diagrams
A tree diagram shows the possible outcomes of a sequence of events. Each branch has a probability, and the probabilities of the branches from a point add up to .
- Multiply along the branches to find the probability of a path (an "and").
- Add the probabilities of the paths you want (an "or").
With replacement
The probabilities on the second set of branches are the same as on the first.
Without replacement
The probabilities on the second set of branches change, because there is one fewer item.
Worked example
A bag has red and blue counters. Two are taken without replacement.
First branches: , .
Second branches: after , , . After , , .
Check
All path probabilities add to : ✓.
"At least"
.
Common mistake: forgetting to change the second-stage probabilities when there is no replacement. The denominator drops by one at the second stage. Also, remember to add the paths for "one of each".
Exam tip: label every branch with its probability, check that branches from each point sum to 1, and list the paths you are using. Use "" for "at least one".
Check yourself
What do you do along the branches of a tree diagram?
Multiply the probabilities.
A bag has 3 red and 2 blue. Find without replacement.
.
When do the second-stage probabilities stay the same?
When items are replaced (or events are independent).