5.4 Tree Diagrams
A-level Maths Statistics and Mechanics Year 1 (AS) · Edexcel 9MA0 · Chapter 5: Probability
A free A-level Maths Stats and Mechanics Year 1 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: multiplying along branches, adding between them, and trees for dependent events. Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Draw a tree diagram for two or three events and label every branch
- Multiply along branches and add the results for different routes
- Draw tree diagrams for selections without replacement
- Use "1 − P(none)" for "at least one" questions
- Form and solve an equation for an unknown probability in a tree
Key words
- Branch: A line on the tree for one outcome, labelled with its probability. Branches from one point add up to 1.
- Route: A path from the start to the end of the tree. Its probability is the product of the branch probabilities.
- With replacement: The item is put back, so the probabilities stay the same for the next pick.
- Without replacement: The item is not put back, so the second set of branches uses one fewer item.
- Dependent: The probability of the second event depends on what happened first.
Independent events on a tree
A tree diagram shows two or more events one after another. Each set of branches from a point adds up to 1. To find the probability of a route, multiply along the branches. If more than one route gives the outcome you want, add the routes.
Worked example: late bus and late train
Gemma takes a bus and then a train. P(bus late) = 0.2 and P(train late) = 0.35, independently. Find (a) P(both late) (b) P(exactly one late).
(a) 0.2 × 0.35 = 0.07
(b) Two routes: bus late, train on time 0.2 × 0.65 = 0.13; bus on time, train late 0.8 × 0.35 = 0.28
Add: 0.13 + 0.28
Answer: (a) 0.07 (b) 0.41
Without replacement
If an item is taken and not replaced, there is one fewer item for the second pick, and one fewer of the colour taken first. The second set of branches changes depending on the first pick.
Worked example: two counters from a bag
A bag has 4 red and 6 blue counters. Two are taken at random without replacement. Find P(both the same colour).
RR: 4/10 × 3/9 = 12/90 BB: 6/10 × 5/9 = 30/90
P(same colour) = 12/90 + 30/90 = 42/90
Answer: 7/15
Trees also show other dependent events, where the second probability depends on what happened first.
Worked example: weather and a late bus
P(rain) = 0.3. If it rains, P(bus late) = 0.25; if not, P(bus late) = 0.1. Find P(bus late).
Two routes end in "late": 0.3 × 0.25 = 0.075 and 0.7 × 0.1 = 0.07
P(late) = 0.075 + 0.07
Answer: 0.145
Three stages and "at least one"
For three events the tree has 8 routes, but you rarely need to draw all of it. Think about which routes you want. For "at least one", it is quicker to use the complement: P(at least one) = 1 − P(none).
Worked example: an archer
An archer hits the target with probability 0.7 on each shot, independently. She takes 3 shots. Find (a) P(at least one miss) (b) P(exactly 2 hits).
(a) P(no misses) = 0.7 × 0.7 × 0.7 = 0.343, so P(at least one miss) = 1 − 0.343 = 0.657
(b) Count the routes: the miss can be 1st, 2nd or 3rd (HHM, HMH, MHH). Each has probability 0.7 × 0.7 × 0.3 = 0.147
P(exactly 2 hits) = 3 × 0.147
Answer: (a) 0.657 (b) 0.441
Unknowns in tree diagrams
If a probability is unknown, label the branches in terms of a letter, write the probability you are given as an expression, and solve.
Worked example: how many counters?
A bag holds n counters, 3 of which are green. Two are taken without replacement. Find n, given that
P(both green) = 1/15.
3/n × 2/(n − 1) = 1/15
n(n − 1) = 90, so n² − n − 90 = 0
(n − 10)(n + 9) = 0, and n must be positive
Answer: n = 10
Common mistakes
- Adding along a route instead of multiplying.
- Forgetting to change both numbers on the second branches when there is no replacement.
- Including only one route for "exactly one" or "different colours": there are usually two.
- Working through every route for "at least one" instead of using 1 − P(none).
- Branches from one point that do not add up to 1. Always check.
Revision questions
Try these, then check your answers below each one.
Question 1. A and B are independent with P(A) = 0.3 and P(B) = 0.6. Find the probability that exactly one of A and B happens.
Answer: 0.54
Working: 0.3 × 0.4 + 0.7 × 0.6 = 0.12 + 0.42 = 0.54.
Question 2. The same bag of 3 red and 5 blue counters is used, but now the first counter is put back before the second is taken. Find P(both blue). (Choose from: 25/64; 5/14; 10/16; 5/8.)
Answer: 25/64
Working: 5/8 × 5/8 = 25/64.
Question 3. A player scores with probability 0.6 on each penalty, independently. She takes 3 penalties. Find the probability that she scores at least once.
Answer: 0.936
Working: P(no goals) = 0.4³ = 0.064, so P(at least one) = 1 − 0.064 = 0.936.
Related lessons
- Previous lesson: 5.3 Mutually Exclusive and Independent Events
- Next lesson: 6.1 Probability Distributions
- In this chapter: 5.1 Calculating Probabilities
- In this chapter: 5.2 Venn Diagrams
Continue in the full course
This lesson is section 5.4 of our free A-level Maths Statistics and Mechanics Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved. Go to the full A-level Maths Statistics and Mechanics Year 1 (AS) course.