9B

Arrays and tree diagrams

Two-step and three-step experiments using arrays (tables) and tree diagrams, with and without replacement, and relative frequency.

Roll two dice, toss three coins, pick two socks from a drawer: when an experiment has more than one step, the outcomes multiply fast and are easy to miss. Arrays and tree diagrams list them all, systematically.

Arrays

For two steps, put the outcomes of the first step down the side of a table and the second across the top. Every cell is one outcome. Rolling two dice gives $6 \times 6 = 36$ equally likely outcomes.

Sum123456
1234567
2345678
3456789
45678910
567891011
6789101112
Example 1●

Two dice are rolled. Find $P(\text{sum} = 8)$.

$5$ outcomes out of $36$
Count the cells showing 8: (2, 6), (3, 5), (4, 4), (5, 3), (6, 2).
$P(\text{sum} = 8) = \dfrac{5}{36}$

Tree diagrams

A tree diagram draws each step as a set of branches, with the probability written on each branch. It works for any number of steps, and for outcomes that are not equally likely.

Why multiply? If you get a head half the time, and then a head on the second toss half of those times, two heads happens half of a half of the time: $\tfrac12 \times \tfrac12 = \tfrac14$.

Example 2●●

A coin is tossed three times. Find $P(\text{exactly two heads})$.

Each path has probability $\dfrac18$
The tree has 2 × 2 × 2 = 8 paths, each with probability ½ × ½ × ½ = ⅛.
HHT, HTH, THH: $3$ paths
List the paths with exactly two heads.
$P = \dfrac38$
Add the three path probabilities.

With and without replacement

If you put the first item back before choosing again (with replacement), the probabilities stay the same for the second pick. If you don't (without replacement), there is one fewer item, so the second-step probabilities change.

Example 3●●●

A bag has $3$ red and $2$ blue marbles. Two are taken out without replacement. Find $P(\text{both red})$ and $P(\text{one of each colour})$.

$P(RR) = \dfrac35 \times \dfrac24 = \dfrac{6}{20} = \dfrac{3}{10}$
First pick: 3 of the 5 are red. If it was red, 2 red are left out of 4.
$P(RB) = \dfrac35 \times \dfrac24 = \dfrac{6}{20}$ and $P(BR) = \dfrac25 \times \dfrac34 = \dfrac{6}{20}$
One of each can happen two ways: red then blue, or blue then red.
$P(\text{one of each}) = \dfrac{12}{20} = \dfrac35$
Add the two paths.
With or without replacement

Each branch shows the chance of that colour at that draw. Click outcomes on the right to add them to your event.

Try this

Find $P(\text{both the same colour})$ without replacement, then with replacement. Which is bigger, and why does putting the first marble back change it?

Relative frequency

Some probabilities can't be worked out from equally likely outcomes, like a drawing pin landing point up. Instead, run the experiment many times:

Relative frequency and expected number
$$\text{relative frequency} = \frac{\text{number of times it happened}}{\text{number of trials}} \qquad \text{expected number} = P \times \text{trials}$$

If a pin lands point up $62$ times in $200$ throws, the relative frequency is $\dfrac{62}{200} = 0.31$. In $500$ throws we would expect about $0.31 \times 500 = 155$ point-up landings. More trials give a more reliable estimate.

Your turn

A spinner lands on red with probability $0.3$. It is spun twice. Find $P(\text{exactly one red})$.

Show the working

Two paths: red then not red, $0.3 \times 0.7 = 0.21$; not red then red, $0.7 \times 0.3 = 0.21$. Add: $0.42$.

Practice
  1. How many outcomes are there when two six-sided dice are rolled?

  2. Two dice are rolled. How many of the $36$ outcomes give a sum of $10$?

  3. Two dice are rolled. $P(\text{a double})$ is:

  4. A coin is tossed three times. Find $P(\text{three heads})$ as a decimal.

  5. A coin is tossed three times. Find $P(\text{at least one head})$ as a decimal.

  6. A bag has $4$ red and $1$ green ball. Two are drawn with replacement. $P(\text{both green})$ is:

  7. A bag has $3$ red and $2$ blue marbles. Two are drawn without replacement. Find $P(\text{both blue})$ as a decimal.

  8. A basketballer scores $45$ times out of $150$ attempts from the three-point line. Find the relative frequency of scoring, as a decimal.

  9. Challenge: A spinner lands on blue with probability $0.4$. It is spun twice. Find $P(\text{exactly one blue})$.

  10. Challenge: Two dice are rolled and the two numbers are multiplied. Find $P(\text{the product is even})$ as a decimal.

Formula sheet