P8: Tree Diagrams
Calculate the probability of independent and dependent combined events using tree diagrams
Calculate the probability of independent and dependent combined events using tree diagrams
| Rule | Description |
|---|---|
| Branches sum to 1 | P(A) + P(not A) = 1 at each branching point |
| Multiply along | Multiply probabilities along branches for combined probability |
| Add across | Add probabilities of different ways to get the same outcome |
| Check total = 1 | All final outcomes should sum to 1 |
A fair coin is flipped twice. Draw a tree diagram.
Tree diagram:
┌── H (1/2) ──→ HH (1/4)
H (1/2)
│ └── T (1/2) ──→ HT (1/4)
Start
│ ┌── H (1/2) ──→ TH (1/4)
T (1/2)
└── T (1/2) ──→ TT (1/4)
Probabilities: P(HH) = 1/2 × 1/2 = 1/4
Check: 1/4 + 1/4 + 1/4 + 1/4 = 1 ✓
A bag contains 3 red and 7 blue counters. A counter is drawn, replaced, and another drawn. Find P(at least one red).
Solution:
P(red) = 3/10, P(blue) = 7/10
┌── R (3/10) ──→ RR (9/100)
R (3/10)
│ └── B (7/10) ──→ RB (21/100)
Start
│ ┌── R (3/10) ──→ BR (21/100)
B (7/10)
└── B (7/10) ──→ BB (49/100)
P(at least one red) = P(RR) + P(RB) + P(BR)
= 9/100 + 21/100 + 21/100 = 51/100 = 0.51
Alternative: 1 - P(BB) = 1 - 49/100 = 51/100
A bag contains 3 red and 7 blue counters. Two counters are drawn WITHOUT replacement. Find P(one of each colour).
Solution:
First draw: P(R) = 3/10, P(B) = 7/10
After red: 2R, 7B left → P(R) = 2/9, P(B) = 7/9
After blue: 3R, 6B left → P(R) = 3/9, P(B) = 6/9
┌── R (2/9) ──→ RR (6/90)
R (3/10)
│ └── B (7/9) ──→ RB (21/90)
Start
│ ┌── R (3/9) ──→ BR (21/90)
B (7/10)
└── B (6/9) ──→ BB (42/90)
P(one of each) = P(RB) + P(BR)
= 21/90 + 21/90 = 42/90 = 7/15
Weather forecast: P(rain) = 0.3. If it rains, P(bus late) = 0.6. If not rain, P(bus late) = 0.2. Find P(bus late).
Solution:
┌── Late (0.6) ──→ RL (0.18)
Rain (0.3)
│ └── On time (0.4) ──→ RT (0.12)
Start
│ ┌── Late (0.2) ──→ NL (0.14)
No rain (0.7)
└── On time (0.4) ──→ NT (0.56)
P(bus late) = P(RL) + P(NL) = 0.18 + 0.14 = 0.32
A coin is flipped 3 times. Find P(exactly 2 heads).
Solution:
Tree has 8 endpoints: HHH, HHT, HTH, HTT, THH, THT, TTH, TTT
Each has probability (1/2)³ = 1/8
Exactly 2 heads: HHT, HTH, THH (3 outcomes)
P(exactly 2 heads) = 3 × 1/8 = 3/8
Q1: A biased coin has P(H) = 0.7. It's flipped twice. Find P(two heads).
Q2: A bag has 4 red and 6 blue balls. Two are drawn WITH replacement. Find P(both blue).
Q3: Same bag, but WITHOUT replacement. Find P(both blue).
Q4: A test has 80% accuracy for a disease. If someone has the disease, P(positive) = 0.8. If healthy, P(positive) = 0.2. 5% of people have the disease. Find P(positive test).
Q5: A coin is flipped 3 times. Find P(at least one tail).
A bag contains 4 red and 6 blue balls. Two balls are drawn WITHOUT replacement. Find P(both same colour) and P(at least one red).
Solution: P(RR) = 4/10 × 3/9 = 12/90. P(BB) = 6/10 × 5/9 = 30/90. P(same colour) = 12/90 + 30/90 = 42/90 = 7/15. P(at least one red) = 1 − P(BB) = 1 − 30/90 = 60/90 = 2/3.
1. Wrong: Adding probabilities along branches instead of multiplying Correct: Multiply along branches (AND rule), add across different paths (OR rule)
2. Wrong: Using the same probabilities for both draws in a "without replacement" problem Correct: After removing one item, the total decreases by 1 and the remaining count changes — update all probabilities
3. Wrong: Only counting one order (e.g. RB) when there are two ways to get one of each (RB and BR) Correct: P(one of each) = P(RB) + P(BR) — add both paths on the tree
6 marks: A bag contains 3 red, 5 blue and 2 green counters. Two counters are drawn at random without replacement. (a) Draw a tree diagram showing all outcomes. (b) Find P(both counters are the same colour). (c) Find P(at least one green counter).
Total = 10 counters.
(a) First draw: P(R)=3/10, P(B)=5/10, P(G)=2/10. After R: P(R)=2/9, P(B)=5/9, P(G)=2/9. After B: P(R)=3/9, P(B)=4/9, P(G)=2/9. After G: P(R)=3/8, P(B)=5/8, P(G)=1/8.
(b) P(same colour) = P(RR) + P(BB) + P(GG) = (3/10×2/9) + (5/10×4/9) + (2/10×1/8) = 6/90 + 20/90 + 2/80 = 6/90 + 20/90 + 2.25/90 = 28.25/90. Converting: 6/90 + 20/90 + 1/40 = 2/30 + 1/6 + 1/40 = 8/120 + 20/120 + 3/120 = 31/120.
(c) P(at least one green) = 1 − P(no green) = 1 − [P(RR) + P(RB) + P(BR) + P(BB)] = 1 − (6/90 + 15/90 + 15/90 + 20/90) = 1 − 56/90 = 34/90 = 17/45.
Mark scheme: M1 for correct first branch probabilities, M1 for correct second branch probabilities, A1 for tree diagram, M1 for same colour calculation, A1 for 31/120, M1 for complement method, A1 for 17/45
A medical test for a disease has a 95% accuracy rate. 1% of the population has the disease. If someone has the disease, P(positive) = 0.95. If someone does not have the disease, P(positive) = 0.05.
(a) Draw a tree diagram and find P(positive test result).
(b) Find P(has disease | positive test). This is the "real" accuracy from the patient's perspective.
(c) Explain why most positive tests are actually false positives despite the 95% accuracy.
Get the best revision books and guides to boost your grades.