impera Open Impera

IB MYP Mathematics · Statistics and probability

Probability

1The probability scale

Probability measures how likely an event is, on a scale from 0 (impossible) to 1 (certain). It can be written as a fraction, a decimal or a percentage, but never as a ratio or "1 in 4" in a final answer.

For equally likely outcomes:

$$P(\text{event}) = \frac{\text{number of favourable outcomes}}{\text{total number of outcomes}}$$

Worked example

A fair six-sided die

  1. P(4) = 1/6.
  2. P(even) = 3/6 = 1/2, because 2, 4 and 6 are even.
  3. P(greater than 4) = 2/6 = 1/3.
  4. P(7) = 0.

The probabilities of all the possible outcomes add to 1. So the probability that an event does not happen is:

$P(\text{not } A) = 1 - P(A)$

If the probability of rain is 0.35, the probability of no rain is 0.65. The event "not A" is the complement of A, written A′.

Check yourself

A bag has 3 red, 5 blue and 2 green counters. What is the probability of picking a blue counter?

  • 1/5

  • 1/3

  • 1/2

  • 5/3

Show the answer

1/2

5 out of 10 counters are blue.

2Listing outcomes

For two events together, list every outcome systematically so that none is missed. The full list is the sample space.

  • Two coins: HH, HT, TH, TT. There are 4 outcomes, and P(one head and one tail) = 2/4 = 1/2.
  • A sample space diagram (a grid) is best for two dice.
Worked example

The total of two dice

  1. There are 6 × 6 = 36 equally likely outcomes.
  2. A total of 7 can be made 6 ways: 1+6, 2+5, 3+4, 4+3, 5+2, 6+1.
  3. P(total 7) = 6/36 = 1/6.
  4. A total of 12 can be made only 1 way: P(total 12) = 1/36.
  5. P(total at least 10): totals of 10 (3 ways), 11 (2 ways) and 12 (1 way) give 6/36 = 1/6.

The number of outcomes for combined events is found by multiplying: a menu with 3 starters and 4 main courses gives 3 × 4 = 12 meals.

Notice that (1, 6) and (6, 1) are different outcomes. Treating them as the same is a common error.

Check yourself

Two fair coins are tossed. What is the probability of two heads?

  • 1/4

  • 1/3

  • 3/4

  • 1/2

Show the answer

1/4

Only HH out of the four outcomes HH, HT, TH, TT.

3Experimental probability and expected frequency

Theoretical probability comes from reasoning about equally likely outcomes. Experimental probability (relative frequency) comes from data:

$$\text{relative frequency} = \frac{\text{number of times the event happened}}{\text{number of trials}}$$

Worked example

A drawing pin

  1. A drawing pin is dropped 200 times and lands point up 124 times.
  2. Relative frequency of "point up": 124 ÷ 200 = 0.62.
  3. No theory gives this value: an experiment is the only way to estimate it.

The more trials, the closer the relative frequency usually gets to the true probability. Ten throws tell you little; a thousand tell you a lot.

Expected frequency = probability × number of trials.

Worked example

A spinner

  1. The probability of landing on red is 0.3. It is spun 200 times.
  2. Expected number of reds: 0.3 × 200 = 60.
  3. The actual number will probably be near 60, not exactly 60.

Testing for bias: a die thrown 600 times should show each number about 100 times. If six appears 180 times, the die is probably biased. If it appears 108 times, that is within normal variation.

Check yourself

A coin is tossed 50 times and lands heads 29 times. What is the experimental probability of heads?

  • 0.58

  • 0.5

  • 0.29

  • 0.42

Show the answer

0.58

29 ÷ 50 = 0.58.

4Combined events: the addition and multiplication rules

  • Mutually exclusive events cannot happen together. For them, P(A or B) = P(A) + P(B). On a die, P(2 or 5) = 1/6 + 1/6 = 1/3.
  • Independent events do not affect each other. For them, P(A and B) = P(A) × P(B).

Remember: OR means add (for mutually exclusive events) and AND means multiply (for independent events).

A tree diagram organises this. Multiply along the branches, and add the results for different routes.

Worked example

With replacement

  1. A bag has 4 red and 6 blue counters. One is taken, put back, and another is taken.
  2. P(red) = 0.4 and P(blue) = 0.6 each time.
  3. P(two reds) = 0.4 × 0.4 = 0.16.
  4. P(one of each colour) = 0.4 × 0.6 + 0.6 × 0.4 = 0.48.
  5. P(two blues) = 0.36. Check: 0.16 + 0.48 + 0.36 = 1.
Worked example

Without replacement

  1. Now the first counter is not put back, so the second pick depends on the first.
  2. P(two reds) = 4/10 × 3/9 = 12/90 = 2/15.
  3. After a red is removed, only 3 reds remain among 9 counters.

"At least one" is easiest through the complement: P(at least one red) = 1 − P(no reds).

Check yourself

A fair die is rolled twice. What is the probability of getting a 6 both times?

  • 1/36

  • 1/3

  • 2/6

  • 1/12

Show the answer

1/36

The rolls are independent: 1/6 × 1/6.

5Venn diagrams

A Venn diagram shows how sets overlap. Each oval is a set, and the overlap contains members of both.

  • $A \cap B$ (intersection): in A and B.
  • $A \cup B$ (union): in A or B or both.
  • $A'$: not in A.
Worked example

Sports

  1. In a class of 30, 18 play football, 12 play tennis and 5 play both.
  2. Fill in the overlap first: 5.
  3. Football only: 18 − 5 = 13. Tennis only: 12 − 5 = 7.
  4. Neither: 30 − (13 + 5 + 7) = 5.
  5. P(football only) = 13/30.
  6. P(football or tennis) = 25/30 = 5/6.
  7. P(neither) = 5/30 = 1/6.

Always start from the middle and work outwards. If you put 18 in the football oval without removing the 5, they are counted twice.

For events that are not mutually exclusive: P(A or B) = P(A) + P(B) − P(A and B). Here 18/30 + 12/30 − 5/30 = 25/30.

Check yourself

In a group of 20, 12 like tea, 9 like coffee and 4 like both. How many like neither?

  • 3

  • 7

  • 0

  • 1

Show the answer

3

Tea only 8, both 4, coffee only 5 make 17, leaving 3.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera