Math Explainer.

Tree diagrams: multiplying along a path, adding paths

Ages 14–16GCSE (P8a, P8b)

What you will learn

You draw a marble from a bag twice, putting it back after the first draw. A tree diagram shows all the outcomes. You learn to work out the probability of a path, and of an event that several paths belong to.

Try it straight away: choose ‘Green at least once’, then ‘Never green’. What do the two probabilities add up to?

Tree diagram for two draws with replacement, with the paths of an eventThe bag holds green and white marbles; two sliders set how many there are of each colour. Green marbles are filled discs, white ones are circles with a dark outline. The tree shows the two draws with replacement: each branch carries its probability as a fraction that is not simplified, and after each of the four ends come the two marbles drawn. Four buttons choose an event. Its paths are drawn thick and green, and a green frame surrounds the two marbles at their ends. The formula writes each of these paths as the product of its two fractions, adds the products and gives the result as a fraction and as a decimal.2/53/52/53/52/53/5
Event
P=25×35+35×25=625+625=1225=0.48\begin{aligned} P &= \frac{2}{5} \times \frac{3}{5} + \frac{3}{5} \times \frac{2}{5} \\[0.7em] &= \frac{6}{25} + \frac{6}{25} \\[0.7em] &= \frac{12}{25} = 0.48 \end{aligned}

The bag holds 5 marbles: 2 green, 3 white. ‘Green exactly once’ has 2 paths: 6/25 + 6/25. Together the probability is 12/25, as a decimal 0.48.

The multiplication rule

The two probabilities add up to 11: ‘at least once’ and ‘never’ share the four ends of the tree between them.

For a single path, use the multiplication rule: multiply the probabilities on its branches. With 22 green and 33 white marbles, green comes first in about 25\frac{2}{5} of all trials, and white follows in about 35\frac{3}{5} of those:

25×35=625\frac{2}{5} \times \frac{3}{5} = \frac{6}{25}

Multiply along a path2/5 × 3/5 = 6/25

Add several paths6/25 + 6/25 = 12/25

Along a path you multiply the fractions on the branches; if several paths belong to an event, you add their probabilities.

Self-check

A bag holds 22 green and 33 white marbles. You draw twice with replacement. What is the probability of drawing green twice?

Your answer
Show the solution

25×25=425\frac{2}{5} \times \frac{2}{5} = \frac{4}{25}. If you add the two branches, you get 45\frac{4}{5}; if you add the numerators and the denominators separately, you get 410\frac{4}{10}. Neither can be right: green twice must be rarer than green at the first draw alone, so less than 25\frac{2}{5}.

Example 1

You flip a coin twice. What is the probability that it shows heads both times?

  1. 01

    Draw the tree: each flip has two branches, heads and tails. Write its probability on each branch.

    P(heads)=12,P(tails)=12P(\text{heads}) = \frac{1}{2}, \quad P(\text{tails}) = \frac{1}{2}
  2. 02

    Find the path that belongs to the outcome: heads first, then heads again. Read off its two branches.

    12and12\frac{1}{2} \quad \text{and} \quad \frac{1}{2}
  3. 03

    Multiply along the path.

    12×12=14\frac{1}{2} \times \frac{1}{2} = \frac{1}{4}
Answer

The probability of heads twice is 14\frac{1}{4}. Check: the tree has four ends, all equally likely, and heads twice is one of them.

The addition rule

An event groups one or more outcomes together, for example ‘green exactly once’. Two paths belong to it: first green, then white, and first white, then green. For an event, use the addition rule: add the probabilities of all the paths that belong to it. In the bag with 22 green and 33 white marbles:

625+625=1225\frac{6}{25} + \frac{6}{25} = \frac{12}{25}

Self-check

You flip a coin twice. What is the probability that it shows heads exactly once? Give it as a decimal.

Show the solution

The paths are ‘heads, then tails’ and ‘tails, then heads’: 12×12+12×12=14+14=12=0.5\frac{1}{2} \times \frac{1}{2} + \frac{1}{2} \times \frac{1}{2} = \frac{1}{4} + \frac{1}{4} = \frac{1}{2} = 0.5.

Example 2

A bag holds 11 green and 44 white marbles. You draw twice with replacement. What is the probability of drawing green at least once?

  1. 01

    Three paths belong to ‘green at least once’. The opposite is quicker: ‘never green’ is just one path, white twice.

    P(green at least once)=1−P(never green)\begin{aligned} &P(\text{green at least once}) \\ &= 1 - P(\text{never green}) \end{aligned}
  2. 02

    Read off the probability of white at one draw: 44 of the 55 marbles are white.

    P(white)=45P(\text{white}) = \frac{4}{5}
  3. 03

    Work out the path ‘white twice’ with the multiplication rule.

    45×45=1625\frac{4}{5} \times \frac{4}{5} = \frac{16}{25}
  4. 04

    Subtract this probability from 11.

    1−1625=9251 - \frac{16}{25} = \frac{9}{25}
Answer

The probability is 925=0.36\frac{9}{25} = 0.36. Check with the three paths: 125+425+425=925\frac{1}{25} + \frac{4}{25} + \frac{4}{25} = \frac{9}{25}.

Self-check

A probability experiment has two stages, and each stage has three possible outcomes, for example drawing twice from a bag with marbles in three colours. How many ends does the tree diagram have?

Your answer
Show the solution

3×3=93 \times 3 = 9: three more branches go on from each of the first three. You get 66 if you work out 3+33 + 3. A tree with three stages and two branches each time would have 88 ends, 2×2×22 \times 2 \times 2.

For teachers: a lesson plan (45 min)
  1. 5 min

    Starter

    Ask first, without the simulation: 22 of the 55 marbles in a bag are green, and you draw twice with replacement. Which is more likely, ‘green at least once’ or ‘never green’? The class votes. Then open the simulation with ‘Full screen’: someone chooses the two events one after the other, and the class adds the two probabilities.

  2. 10 min

    Multiplication rule

    The figure with the two trees, at first only the first tree: why do you multiply along a path? Then the first self-check, and reveal Example 1 step by step together.

  3. 10 min

    Addition rule

    The second tree of the figure: why do just these two paths belong to ‘green exactly once’, and why do you add now? Let pupils solve the second self-check on their own. Discuss the ‘Watch out’ box: what comes out if someone adds along a path?

  4. 15 min

    Practice

    Let pupils try Example 2 on their own first, then reveal it and compare the two ways: through the opposite and through the three paths. The third self-check. Anyone who finishes early makes up a bag (11 to 55 marbles of each colour), works out ‘green twice’ in their exercise book and only then checks with the simulation.

  5. 5 min

    Plenary

    Read the ‘Remember’ box together. Ask: for which events is it worth going through the opposite, and for which is it not?

Got an exercise on paper?

Take a photo of it and Math Explainer turns it into an explainer video with every step of the solution.

Upload a photo