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.

Your guess
  • You picked A. Read on. At the end, the chapter comes back to your guess.

  • You picked B. Read on. At the end, the chapter comes back to your guess.

  • You picked C. Read on. At the end, the chapter comes back to your guess.

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. Step 1: a tree with two stages. From the start, a branch 1/2 leads to H and a branch 1/2 leads to T, and from each of those a branch 1/2 leads to H and a branch 1/2 leads to T. Step 2: each of the four ends is written, HH: 1/4, HT: 1/4, TH: 1/4 and TT: 1/4.H1/2H1/2T1/2T1/2H1/2T1/2

    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. Step 1: a tree with two stages. From the start, a branch 1/2 leads to H and a branch 1/2 leads to T, and from each of those a branch 1/2 leads to H and a branch 1/2 leads to T. Step 2: each of the four ends is written, HH: 1/4, HT: 1/4, TH: 1/4 and TT: 1/4.H1/2H1/2T1/2T1/2H1/2T1/2HH: 1/4HT: 1/4TH: 1/4TT: 1/4

    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?

  1. The path for two heads is H then H.
  2. Each branch has probability 1/2.
  3. 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

Two pictures, one above the other. Above, a table with toss 1 down the side, H and T, and toss 2 across the top, H and T. Its cells are HH, HT, TH and TT, and the cell HH is hatched. Below, a tree with two stages. From the start, a branch 1/2 leads to H and a branch 1/2 leads to T, and from each of those a branch 1/2 leads to H and a branch 1/2 leads to T. The ends are printed HH: 1/4, HT: 1/4, TH: 1/4 and TT: 1/4, and the end HH is hatched.toss 2toss 1HTHTHHHTTHTTH1/2H1/2T1/2T1/2H1/2T1/2HH: 1/4HT: 1/4TH: 1/4TT: 1/4

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.

A bag labelled the bag. In it are 5 counters: 3 named red, shown white, and 2 named blue, shown hatched. The key says red: 3 and blue: 2.red: 3blue: 2the bag
The bag holds 5 counters. Each counter is put back after it is taken.
A tree diagram with two stages. From the start, a branch 3/5 leads to Red and a branch 2/5 leads to Blue. From each of those, a branch 3/5 leads to Red and a branch 2/5 leads to Blue. The four ends are printed RR: 9/25, RB: 6/25, BR: 6/25 and BB: 4/25. The ends RB and BR, one of each colour, are hatched.Red3/5Red3/5Blue2/5Blue2/5Red3/5Blue2/5RR: 9/25RB: 6/25BR: 6/25BB: 4/25
The two hatched ends are one of each colour. Their chances are 6/25 each.

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?

  1. Red then blue: 3/5 × 2/5 = 6/25.
  2. Blue then red: 2/5 × 3/5 = 6/25.
  3. 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.

A tree diagram with three stages of H and T, each branch marked 1/2. The eight ends are printed HHH: 1/8, HHT: 1/8, HTH: 1/8, HTT: 1/8, THH: 1/8, THT: 1/8, TTH: 1/8 and TTT: 1/8. The three ends with exactly two heads, HHT, HTH and THH, are hatched.H1/2H1/2H1/2T1/2T1/2H1/2T1/2T1/2H1/2H1/2T1/2T1/2H1/2T1/2HHH: 1/8HHT: 1/8HTH: 1/8HTT: 1/8THH: 1/8THT: 1/8TTH: 1/8TTT: 1/8
Three tosses. The three hatched ends have exactly two heads.

Worked example

A fair coin is tossed three times. What is the probability of exactly two heads?

  1. The paths with exactly two heads are HHT, HTH and THH. That is 3 paths.
  2. Each path has probability 1/2 × 1/2 × 1/2 = 1/8.
  3. 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.

  1. Put the stones in the bag. Pick one without looking, write its colour, and put it back.
  2. Pick again, write the colour, and put it back.
  3. Do this 50 times. Count the times you got one white and one dark.
  4. 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.

If you cannot try it, this is what happens.
A table with the head pairs, one each, estimate. Rows: 50, 22, 0.44.pairsone eachestimate50220.44

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.

  1. Which labels can leave one point of a tree diagram?

    Tap your answer.
    1. Not this one. 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. Try another.

    2. Not this one. These add to 3/4. A quarter of the chance is missing. Go to M4.6.4. Try another.

    3. Not this one. 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. Try another.

    4. Yes, that is right. The branches from one point must add to 1. 1/2 + 1/3 + 1/6 = 3/6 + 2/6 + 1/6 = 1.

    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.
  2. 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?

    Tap your answer.
    1. Not this one. That is the chance of red on one pick. Both picks must be red, so multiply the two chances. Go to M4.6.4. Try another.

    2. Yes, that is right. The counter is put back, so each pick has chance 2/5 of red. 2/5 × 2/5 = 4/25.

    3. Not this one. You added 2/5 + 2/5. A path is "and then", so multiply along it. Go to M4.6.4. Try another.

    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.

    • If you chose A: That is the chance of red on one pick. Both picks must be red, so multiply the two chances. Go to M4.6.4.
    • If you chose C: You added 2/5 + 2/5. A path is "and then", so multiply along it. Go to M4.6.4.
  3. A fair coin is tossed three times. What is the probability of exactly one head?

    A tree diagram with three stages of H and T, each branch marked 1/2. The eight ends are printed HHH: 1/8, HHT: 1/8, HTH: 1/8, HTT: 1/8, THH: 1/8, THT: 1/8, TTH: 1/8 and TTT: 1/8. The three ends with exactly one head, HTT, THT and TTH, are hatched.H1/2H1/2H1/2T1/2T1/2H1/2T1/2T1/2H1/2H1/2T1/2T1/2H1/2T1/2HHH: 1/8HHT: 1/8HTH: 1/8HTT: 1/8THH: 1/8THT: 1/8TTH: 1/8TTT: 1/8
    Tap your answer.
    1. Not this one. That is the chance of one path, such as HTT. Three paths have exactly one head: HTT, THT and TTH. Go to M4.6.4. Try another.

    2. Not this one. That is the chance of a head on one toss. Count the paths with exactly one head and add their chances. Go to M4.6.4. Try another.

    3. Yes, that is right. Three paths have exactly one head. Each has chance 1/8, so the total is 3 × 1/8 = 3/8.

    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.

    • If you chose A: That is the chance of one path, such as HTT. Three paths have exactly one head: HTT, THT and TTH. Go to M4.6.4.
    • If you chose B: That is the chance of a head on one toss. Count the paths with exactly one head and add their chances. Go to M4.6.4.
  4. On a tree, the branches to red then red are 3/5 and 3/5. Which is the chance of that path?

    Tap your answer.
    1. Yes, that is right. The path is "red and then red". Multiply: 3/5 × 3/5 = 9/25.

    2. Not this one. A chance of 6/5 is more than 1, which is impossible. Along a path each branch narrows the chance, so multiply. Go to M4.6.4. Try another.

    3. Not this one. That is the chance of red on one pick. Both picks must be red, so multiply. Go to M4.6.4. Try another.

    See the answer

    Multiply the branches: 9/25.

    The path is "red and then red". Multiply: 3/5 × 3/5 = 9/25.

    • If you chose B: A chance of 6/5 is more than 1, which is impossible. Along a path each branch narrows the chance, so multiply. Go to M4.6.4.
    • If you chose C: That is the chance of red on one pick. Both picks must be red, so multiply. Go to M4.6.4.
  5. 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?

    Tap your answer.
    1. Not this one. 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. Try another.

    2. Not this one. That is the chance of winning one game. For two games, multiply along the branches and add the paths. Go to M4.6.4. Try another.

    3. Not this one. That is the chance of losing one game. Go to M4.6.4. Try another.

    4. Yes, that is right. 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.

    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.
  6. 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.

  7. 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.

  8. 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.

Reading with a child? A short page for the adult: what this chapter teaches and three questions to ask.

No internet tomorrow? Save the whole book as one file (868 KB). It opens on any phone.