M4.6.4 Chapter 4
Tree diagrams
A bag has 3 red and 2 blue counters. I take one, look, put it back, and take another. What is the chance of one of each colour?
Your guess
Pick one before you read on. It is fine to be wrong.
By the end you can
- Draw a tree diagram for two events
- Find probabilities by multiplying along the branches
A table lists the outcomes of two events well. When there are more events, or the chances are not equal, a tree diagram is better. It follows the events in order, one stage at a time.
Start with a coin tossed twice. The first toss is H or T, and each has chance 1/2. From each of those, the second toss is H or T again.
Draw it first
Draw a tree for two tosses of a coin
1 Draw the first toss: two branches, H and T, each marked 1/2. Then draw the second toss from the end of each.
2 At each end, write the outcome and its chance. Multiply the branches on the way: 1/2 × 1/2 = 1/4.
Two rules make a tree work. The branches that leave one point add up to 1, because one of them must happen. And along a path, you multiply, because each path is "this and then that".
Worked example
A fair coin is tossed twice. What is the probability of two heads?
- The path for two heads is H then H.
- Each branch has probability 1/2.
- Multiply along the path: 1/2 × 1/2 = 1/4.
Answer: 1/4
See it three ways
With things
Toss a fair coin twice and write H or T for each toss. Do it a few times. Two heads comes up in 1 of every 4 goes, about.
As a picture
In words
List: the outcomes are HH, HT, TH and TT, and one of the 4 is HH. Table: one cell of 4 is HH. Tree: the path H then H has probability 1/2 times 1/2. All three ways give 1/4.
In symbols
P(HH) = 1/4 = 1/2 × 1/2.
Now the bag. It holds 3 red and 2 blue counters, so P(red) = 3/5 and P(blue) = 2/5. We put the counter back each time, so the second pick has the same chances as the first.
To find the chance of an event, find every end where it happens. Work out each end by multiplying. Then add those ends, because the ends cannot happen together.
Worked example
A counter is taken from the bag of 3 red and 2 blue, then put back, and a second is taken. What is the probability of one of each colour?
- Red then blue: 3/5 × 2/5 = 6/25.
- Blue then red: 2/5 × 3/5 = 6/25.
- These are two different paths, so add them: 6/25 + 6/25 = 12/25.
Answer: 12/25
A good check: all the ends together must add to 1, because something must happen. Here 9/25 + 6/25 + 6/25 + 4/25 = 25/25 = 1.
A tree can have more stages. Toss a coin three times. Each stage doubles the number of ends, so there are 8 ends. Each end has chance 1/2 × 1/2 × 1/2 = 1/8.
Worked example
A fair coin is tossed three times. What is the probability of exactly two heads?
- The paths with exactly two heads are HHT, HTH and THH. That is 3 paths.
- Each path has probability 1/2 × 1/2 × 1/2 = 1/8.
- Add the three paths: 3 × 1/8 = 3/8.
Answer: 3/8
Try it
Test the tree with a bag
You need: 3 white stones and 2 dark stones, a cloth bag or a cup, a pencil and paper.
- Put the stones in the bag. Pick one without looking, write its colour, and put it back.
- Pick again, write the colour, and put it back.
- Do this 50 times. Count the times you got one white and one dark.
- The tree says 12/25 of the pairs, so you expect about 24 of 50.
What you will see: Your count is near 24, but not exactly 24. The tree gives the chance. The experiment only estimates it.
A wrong idea many people have
To find the chance of a path, add the branch chances.
Why it feels right: We add chances for "or", so it seems we should add them here too.
The test that breaks it: Try red then red with chances 3/5 and 3/5. Adding gives 6/5, which is more than 1. No chance can be more than 1.
What is true: A path is "this and then that". Multiply along it. Add only where different paths end in the same event.
Key words
- tree diagram
- a diagram of branches that shows the outcomes of events in order, with a chance on each branch.
- branch
- one line of a tree diagram, marked with a probability.
Back to your guess
The answer is B: 12/25, because red then blue and blue then red both count.
One of each can happen two ways: red then blue, and blue then red. Each way has chance 3/5 × 2/5 = 6/25. Add the two ways and you get 12/25. A tree diagram shows both ways at once.
Check yourself
Try each one before you look. A wrong answer tells you where to go next.
Which labels can leave one point of a tree diagram?
See the answer
1/2, 1/3 and 1/6
The branches from one point must add to 1. 1/2 + 1/3 + 1/6 = 3/6 + 2/6 + 1/6 = 1.
- If you chose A: These add to 5/6. An outcome with chance 1/6 is missing, so the branches do not cover everything. Go to M4.6.4.
- If you chose B: These add to 3/4. A quarter of the chance is missing. Go to M4.6.4.
- If you chose C: These add to 6/5, which is more than 1. The chances of the branches from one point share out exactly 1. Go to M4.6.4.
A bag has 2 red and 3 blue counters. One is taken, put back, and a second is taken. What is the probability that both are red?
See the answer
4/25
The counter is put back, so each pick has chance 2/5 of red. 2/5 × 2/5 = 4/25.
A fair coin is tossed three times. What is the probability of exactly one head?
See the answer
3/8
Three paths have exactly one head. Each has chance 1/8, so the total is 3 × 1/8 = 3/8.
On a tree, the branches to red then red are 3/5 and 3/5. Which is the chance of that path?
See the answer
Multiply the branches: 9/25.
The path is "red and then red". Multiply: 3/5 × 3/5 = 9/25.
The chance of winning one game is 2/3. Two games are played, and they do not affect each other. What is the chance of exactly one win?
See the answer
4/9
Win then lose is 2/3 × 1/3 = 2/9. Lose then win is 1/3 × 2/3 = 2/9. Add the two paths: 4/9.
- If you chose A: That is only one path, win then lose. Lose then win is a second path with the same chance, so add them. Go to M4.6.4.
- If you chose B: That is the chance of winning one game. For two games, multiply along the branches and add the paths. Go to M4.6.4.
- If you chose C: That is the chance of losing one game. Go to M4.6.4.
From an earlier chapter
Two events are independent. P(A) = 1/4 and P(B) = 1/3. What is P(A and B)?
See the answer
1/12
Independent, so multiply: 1/4 × 1/3 = 1/12.
A bag has 3 red and 1 blue counter. One is taken, put back, and a second is taken. What is the probability that both are red?
See the answer
9/16
P(red) = 3/4 each time. 3/4 × 3/4 = 9/16.
The chance of winning a game is 3/4. Two games are played, and they do not affect each other. What is the probability of exactly one win?
See the answer
3/8
Win then lose is 3/4 × 1/4 = 3/16. Lose then win is also 3/16. Add them: 6/16 = 3/8.
Keep it
Copy this into your exercise book.
A tree shows events in order. Branches from one point add to 1. Multiply along a path. Add the ends that make the event. All ends add to 1.
Draw: A tree for two tosses of a coin, with 1/2 on each branch and 1/4 at each end.