Tree Diagrams and Combined Events
What is the chance of two things both happening, like picking two red sweets, or a six on both dice? A tree diagram lays out every possible path so you can multiply along a path and add the paths you want. This page builds trees step by step: independent events, picking without putting back, "at least one", and three-stage trees.
GCSE subject content: record, describe and analyse the frequency of outcomes using frequency trees; calculate the probability of independent and dependent combined events, including using tree diagrams and other representations, and know the underlying assumptionsBefore you start: what you need from KS3
- With equally likely outcomes, P(event) = outcomes you want ÷ all outcomes. Probabilities go from 0 (impossible) to 1 (certain). See the probability scale.
- P(not A) = 1 − P(A), and probabilities of all the outcomes add up to 1. See mutually exclusive outcomes.
- Listing outcomes for two things, like a coin and a dice, in a sample space. See sample spaces and Venn diagrams.
- Multiplying fractions: top × top and bottom × bottom, so 2/3 × 4/5 = 8/15. Adding fractions needs a common denominator. See fractions, decimals and percentages.
1 · Frequency trees: counting first
Before we use probabilities, let's use counts. A frequency tree starts with a whole group, splits it into two parts, then splits each part again. Each box holds a frequency (how many). The one rule: the two boxes coming out of a box add up to that box. So whenever a split has one gap, you can fill it by subtracting.
Fill in the four empty boxes from the information given, then press Check. The tree updates as you type.
Once the tree is full, a probability is just a box divided by the box it came from at the start: "a person is picked at random from everyone" means divide by the very first number. Frequency trees are the bridge to probability trees: replace each count by a fraction of the box before it and you get the branches of section 3.
2 · Independent events
A combined event is two (or more) things happening together, like "spin red and roll a 6". Two events are independent if one happening does not change the probability of the other. A spinner can't see what the dice did, so they're independent. Events that do affect each other are dependent.
For independent events there's a short-cut: P(A and B) = P(A) × P(B). To see why it's a multiplication, draw every equally likely outcome as a grid: spinner sections across, dice faces down. Every cell is equally likely. The orange cells are "red and low enough": a block of (red columns) × (good rows) cells.
So the multiplication isn't a rule to memorise: it's counting cells in a rectangle. It only works because the spinner doesn't change the dice. Spotting whether events are independent is a skill in itself, and exam questions sometimes ask what you have assumed. Decide for each pair:
3 · Tree diagrams: the AND rule and the OR rule
A tree diagram shows a combined event in stages. From the start, draw one branch for each outcome of the first stage and write its probability on the branch. From the end of each branch, draw the branches for the second stage. Each route from the start to an end is a path, and each path is one combined outcome.
Two rules do everything:
- AND: multiply along the branches. To go down a path, the first thing and the second thing must happen, so multiply (that's the grid in section 2).
- OR: add the end results. Different paths can't happen at the same time (they're mutually exclusive), so if several paths give what you want, add their end probabilities.
Here a biased spinner lands on red (R) or not red (R′), and a biased coin lands heads (H) or tails (T). Set the probabilities, then tap the end results you want (or use a button) and watch the working.
Two checks that catch most mistakes. Every pair of branches from the same point adds up to 1 (something must happen). And all the end results add up to 1 (you must end up on exactly one path). If a probability ever comes out bigger than 1, you have added where you should have multiplied.
4 · Building a tree from a bag
A bag holds red and blue counters. You take one at random, note its colour, then take a second. There are two ways to do it:
- With replacement: put the first counter back before the second pick. The bag is the same both times, so the picks are independent.
- Without replacement: keep the first counter out. Now the bag has one fewer counter for the second pick, and one fewer of whatever colour you took. The second pick depends on the first. (Higher: the second-stage branches are conditional probabilities; see conditional probability.)
Choose the bag, then press Next step to build the tree one stage at a time. Switch between with and without replacement and watch the second-stage branches change.
5 · Dependent events: the denominator drops
Here is "without replacement" happening one counter at a time. Take counters out and watch the fraction for the next pick. The bottom number always goes down by 1 (one fewer counter). The top number goes down by 1 only if you took that colour. Under the bag, the probability of the exact sequence you took is built up by multiplying.
6 · "At least one" = 1 − P(none)
"At least one six" means one six, or two sixes, or more. On a tree that's almost every path, which is a lot of adding. But there is only one path with no six at all. Since all the paths add up to 1:
P(at least one) = 1 − P(none)
Roll a fair dice more times and watch the tree. S means a six (probability 1/6) and N means not a six (5/6). Orange paths have at least one six; only the grey one doesn't.
7 · Three-stage trees
Nothing new, just a bigger tree. Each path now has three branches to multiply, and with two outcomes at each stage there are 2 × 2 × 2 = 8 paths. Questions like "exactly two" are where trees earn their keep: you have to find every path with exactly two, and there are three of them. Pick an experiment, then tap paths or use a button.
8 · Spot the mistake
Each student below has made one of the classic tree-diagram mistakes. Look at their tree and working, and pick what went wrong.
Common mistakes and exam traps
- Adding along a path. Along = AND = multiply. Only add different end results.
- Forgetting "without replacement". Read for words like eats, keeps, does not replace, picks two people. The bottom drops by 1, and the top drops for the colour you took.
- Only one path for "one of each". Red then blue and blue then red both count.
- "At least one" by adding. P(six on first) + P(six on second) counts double sixes twice. Use 1 − P(none).
- Branches that don't add to 1. Fill in the missing branch with 1 − p before you start.
- Assuming independence when it isn't sensible. Rain and being late are probably linked. Say what you have assumed.
Worked examples
P(A) = 0.6 and P(B) = 0.3, and A and B are independent. Find P(both), P(neither) and P(exactly one).
A bag has 5 red and 3 green sweets. Zara eats two at random. Find the probability that they are the same colour.
A fair dice is rolled three times. Find the probability of at least one six.
The probability that Ella wins a game of chess is 0.6. She plays three games, and the results are independent. Find the probability that she wins exactly two.
200 students: 85 are boys, 40 of the boys have a school dinner, and 72 of the girls have a school dinner. Complete a frequency tree and find P(a student picked at random has a school dinner).
Exam-style Higher: a bag has n sweets, 6 of them orange. Two are taken without replacement. P(both orange) = 1/3. Show that n² − n − 90 = 0 and find n.
Quick check
What you've learned
- A frequency tree splits a group twice; the two boxes from any box add up to it. A probability is a box over the starting total.
- Events are independent if one doesn't change the probability of the other. Then P(A and B) = P(A) × P(B), which is counting cells in a grid.
- On a tree diagram, multiply along a path (AND) and add the end results of different paths (OR).
- Branches from one point add to 1, and all the end results add to 1. Use this to fill gaps and to check.
- Without replacement makes the events dependent: on the second stage the bottom drops by 1, and the top drops for the colour already taken.
- At least one = 1 − P(none).
- Three-stage trees work the same way: multiply three branches; for "exactly two", find every path (often three) and add.