• Foundation
  • About 18 min
  • 5 practice questions

Tree diagrams for experiments in steps

Draw tree diagrams for experiments with two or three steps, list the sample space from them, and find probabilities, including draws with and without replacement.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Draw a tree diagram for a multi-step experiment and read off every outcome as a path.
  • Find probabilities by counting paths, or by multiplying probabilities along a path.
  • Tell the difference between drawing with replacement and without replacement.

Tossing a coin twice, rolling a die three times, or picking one fruit from each of two baskets are multi-step experiments. Listing their outcomes in your head is easy to get wrong. A tree diagram lists them all, neatly and completely.

How to draw a tree diagram

Building a tree diagram

  1. Start at one point Draw one branch for each outcome of step 1.
  2. Branch again From the end of every branch, draw one branch for each outcome of step 2.
  3. Label the branches Write each outcome, and its probability if needed.
  4. Read the paths Each path from start to end is one outcome of the whole experiment.

Tossing a fair coin twice

  • First toss H (½)
    • Second toss H (½): outcome HH
    • Second toss T (½): outcome HT
  • First toss T (½)
    • Second toss H (½): outcome TH
    • Second toss T (½): outcome TT
Four paths, so four equally likely outcomes: S = {HH, HT, TH, TT}

Worked example 1: two coins

Find P(two heads) and P(one head and one tail) when a fair coin is tossed twice.

Working: the tree has 4 equally likely paths. Two heads: only HH, so P = 1/4 = 0.25. One head and one tail: HT and TH, so P = 2/4 = 1/2. Multiplying along the branches gives the same: P(HH) = ½ × ½ = 1/4.

Each path of a tree diagram is one outcome. The probability of a path is the product of the probabilities on its branches; add the probabilities of all the paths that make up an event.

Worked example 2: a pen and a pencil

Box A has a red pen and a blue pen. Box B has an HB pencil, a 2B pencil and a coloured pencil. Neha picks one from each box without looking. How many outcomes are there, and what is P(red pen with HB pencil)?

Working: 2 branches for the pen, and 3 branches from each of them for the pencil: 2 × 3 = 6 paths. Only one path is red-HB, so P = 1/6. By multiplying: ½ × 1/3 = 1/6.

With and without replacement

A bag holds 2 red balls and 1 blue ball. Two balls are drawn one after the other. If the first ball is put back before the second draw (with replacement), the second draw is exactly like the first. If it is kept out (without replacement), the second draw has only 2 balls to choose from, and the probabilities change.

Drawing two balls from a bag of 2 red and 1 blue
StepWith replacementWithout replacement
Balls for the second drawAll 3Only the 2 left
Number of paths (call the balls R1, R2, B)3 × 3 = 93 × 2 = 6
Both red: pathsR1R1, R1R2, R2R1, R2R2R1R2, R2R1
P(both red) by counting4/92/6 = 1/3
P(both red) by multiplying2/3 × 2/3 = 4/92/3 × 1/2 = 1/3

Worked example 3: guessing answers

A quiz has 2 questions, each with 4 options and one right answer. Ravi guesses both. Find P(both right) and P(exactly one right).

Working: each question is right (1 way) or wrong (3 ways), so the tree has 4 × 4 = 16 equally likely paths. Both right: 1 × 1 = 1 path, P = 1/16. Exactly one right: right-then-wrong gives 1 × 3 = 3 paths and wrong-then-right gives 3 × 1 = 3 paths, total 6, so P = 6/16 = 3/8. By multiplying: ¼ × ¾ + ¾ × ¼ = 3/16 + 3/16 = 6/16 = 3/8.

Key takeaways: a tree diagram shows every outcome of a multi-step experiment as a path from start to end. Count the paths for an event, or multiply the probabilities along each path and add the paths. Without replacement, the second step has fewer items, so its branches and probabilities change.

Check your understanding

  1. 1. A coin is tossed three times. How many paths does the tree diagram have?

    1. 6
    2. 3
    3. 9
    4. 8
    Show answer

    Answer: D. Each toss doubles the number of branches: 2 × 2 × 2 = 8 paths, from HHH to TTT.

  2. 2. A fair coin is tossed twice. What is the probability of getting one head and one tail?

    1. 1/2
    2. 1/4
    3. 1/3
    4. 3/4
    Show answer

    Answer: A. The four equally likely paths are HH, HT, TH and TT. One head and one tail happens in HT and TH: 2/4 = 1/2.

  3. 3. A coin is tossed and a die is rolled. What is the probability of a head together with an even number?

    1. 1/2
    2. 1/3
    3. 1/4
    4. 1/12
    Show answer

    Answer: C. There are 2 × 6 = 12 paths. Head with 2, 4 or 6 gives 3 of them: 3/12 = 1/4. Or multiply: ½ × ½ = 1/4.

  4. 4. A bag has 2 red balls and 1 blue ball. A ball is drawn, put back, and a second ball is drawn. What is the probability that both are blue?

    1. 1/3
    2. 1/9
    3. 0
    4. 2/9
    Show answer

    Answer: B. With replacement each draw has P(blue) = 1/3, so P(both blue) = 1/3 × 1/3 = 1/9 (1 path out of 9).

  5. 5. The same bag (2 red, 1 blue): two balls are drawn without replacement. What is the probability that both are red?

    1. 4/9
    2. 2/3
    3. 1/3
    4. 1/2
    Show answer

    Answer: C. P(first red) = 2/3. Then 1 red and 1 blue remain, so P(second red) = 1/2. P(both red) = 2/3 × 1/2 = 1/3. Counting: R1R2 and R2R1 out of 6 paths, 2/6 = 1/3.

Sign in to keep track of the lessons you finish.

Next lesson → Final self-assessment: Probability

Privacy · Terms · Refunds · Delivery