Combined events and tree diagrams

Combined events and tree diagrams

IB MYP Maths Extended: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • P(not A)=1−P(A)P(\text{not }A)=1-P(A), and "at least one" is 1−P(none)1-P(\text{none}).
  • Independent events: multiply for "and": P(A and B)=P(A)×P(B)P(A\text{ and }B)=P(A)\times P(B).
  • Mutually exclusive events: add for "or": P(A or B)=P(A)+P(B)P(A\text{ or }B)=P(A)+P(B).
  • On a tree diagram, multiply along a route and add the routes for the same outcome.
  • Without replacement the second-draw numbers change: the events are dependent.

Probability of one event

Count favourable outcomes over total outcomes; the complement is 1 minus that.

The probability of an event is a number from 00 to 11: favourable outcomes over total equally likely outcomes. The probabilities of all possible outcomes add to 11, so the complement (the event not happening) has probability 1−P(event)1-P(\text{event}).

A bag holds 33 red and 22 green counters, so P(red)=35P(\text{red})=\frac{3}{5} and P(not red)=25P(\text{not red})=\frac{2}{5}.

00.10.20.30.40.50.6redgreenprobability
A bag of 3 red and 2 green counters

A bag has 44 blue and 66 yellow counters. What is P(not blue)P(\text{not blue})?

Independent events

Independent events do not affect each other, so multiply their probabilities for "and".

Two events are independent if one happening does not change the probability of the other, for example two spins of a spinner or a coin toss and a die roll.

A spinner lands on green with probability 0.30.3. Two spins are independent, so P(two greens)=0.3×0.3=0.09P(\text{two greens})=0.3\times0.3=0.09. Multiply when you see "and", "then" or "both".

ABCD0.3 green0.3 green
Area model: the unit square split 0.3 / 0.7 in both directions. The shaded corner is two greens: 0.3 × 0.3 = 0.09.
  • Multiplication ruleP(A and B)=P(A)×P(B)P(A\text{ and }B)=P(A)\times P(B)

Worked example

A spinner lands on green with probability 0.30.3. Find the probability of two greens in two spins.

A fair coin is tossed and a fair die is rolled. What is P(head and 6)P(\text{head and }6)?

Mutually exclusive events

Add for "or" when the events cannot happen at the same time.

Events are mutually exclusive if they cannot happen at the same time, such as rolling a 22 and rolling a 55 on one die throw.

For a fair die, P(2 or 5)=16+16=13P(2\text{ or }5)=\frac16+\frac16=\frac13. Add when you see "or" for events that cannot both happen, and when you combine different routes that give the same overall outcome.

11.522.533.544.555.5612 (1/6)345 (1/6)6
One throw of a fair die: 2 and 5 cannot both happen, so P(2 or 5) = 1/6 + 1/6 = 1/3.
  • Addition ruleP(A or B)=P(A)+P(B)P(A\text{ or }B)=P(A)+P(B)

Worked example

A fair die is rolled. Find P(2 or 5)P(2\text{ or }5).

P(red)=0.2P(\text{red})=0.2 and P(blue)=0.5P(\text{blue})=0.5, and a counter cannot be both. What is P(red or blue)P(\text{red or blue})?

Tree diagrams with replacement

Multiply along each route, and add the routes that give the same outcome.

A tree diagram shows every outcome of a sequence of events. Each branch is labelled with its probability and the branches from one point add to 11.

A spinner has P(green)=0.3P(\text{green})=0.3 and P(yellow)=0.7P(\text{yellow})=0.7, spun twice. Exactly one green: green then yellow is 0.3×0.7=0.210.3\times0.7=0.21 and yellow then green is 0.7×0.3=0.210.7\times0.3=0.21, so P=0.21+0.21=0.42P=0.21+0.21=0.42. When items are replaced, the branch probabilities are the same on every draw.

0.3 (G)0.7 (Y)0.3 (G)0.7 (Y)0.3 (G)0.7 (Y)StartGYGG = 0.09GY = 0.21YG = 0.21YY = 0.49
Spinner spun twice with replacement. Exactly one green: 0.21 + 0.21 = 0.42. All four routes add to 1.

Calculation

green, green:
0.3×0.30.3\times0.3
green, yellow:
0.3×0.70.3\times0.7
yellow, green:
0.7×0.30.7\times0.3
yellow, yellow:
0.7×0.70.7\times0.7

Probability

green, green:
0.09
green, yellow:
0.21
yellow, green:
0.21
yellow, yellow:
0.49
The four routes add to 1

Using the same spinner, what is P(exactly one green)P(\text{exactly one green}) in two spins?

Tree diagrams without replacement

The totals and counts change after the first draw, so the second-branch probabilities depend on the first.

If an item is not replaced, the events are dependent: the second-branch probabilities depend on what happened first.

A drawer has 66 black and 44 white socks. Two are taken. P(both black)=610×59=13P(\text{both black})=\frac{6}{10}\times\frac{5}{9}=\frac{1}{3}, because after one black sock is removed, 55 black remain out of 99.

6/10 (B)4/10 (W)5/9 (B)4/9 (W)6/9 (B)3/9 (W)StartBWBB = 30/90BW = 24/90WB = 24/90WW = 12/90
Socks taken without replacement: after the first draw only 9 remain. P(different colours) = 24/90 + 24/90 = 8/15.

Calculation

black, black:
610×59\frac{6}{10}\times\frac59
black, white:
610×49\frac{6}{10}\times\frac49
white, black:
410×69\frac{4}{10}\times\frac69
white, white:
410×39\frac{4}{10}\times\frac39

Probability

black, black:
3090\frac{30}{90}
black, white:
2490\frac{24}{90}
white, black:
2490\frac{24}{90}
white, white:
1290\frac{12}{90}

Worked example

A drawer has 66 black and 44 white socks. Two are taken without replacement. Find P(different colours)P(\text{different colours}).

A bag has 55 red and 33 blue counters. Two are drawn without replacement. Find P(both red)P(\text{both red}).

At least one, and choosing a method

Use the complement: 1−P(none)1-P(\text{none}).

"At least one" is often quickest as 1−P(none)1-P(\text{none}). For two spins with P(green)=0.3P(\text{green})=0.3, P(at least one yellow)=1−0.3×0.3=0.91P(\text{at least one yellow})=1-0.3\times0.3=0.91.

Leave answers as fractions or decimals (3 s.f.), and show each step so a marker can follow your working.

  1. 1

    Decide

    with or without replacement?

  2. 2

    List routes

    write each route to the outcome

  3. 3

    Multiply

    along each route

  4. 4

    Add

    the routes for the same outcome

  5. 5

    Check

    all outcomes add to 1

Method for combined events

Worked example

Find P(at least one yellow)P(\text{at least one yellow}) in two spins, with P(green)=0.3P(\text{green})=0.3.

A fair coin is tossed 33 times. What is P(at least one head)P(\text{at least one head})?

Try an exam question

A drawer has 66 black and 44 white socks. Two socks are taken at random without replacement. Find the probability that both are white.

[3 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the probability that both spins land on green.

1 mark, marked against the mark scheme

Revision notes