Skip to content
IB Diploma ProgrammeSL & HL

Basic probability

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Basic probability notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Basic probability notes as text: skim, search, and jump between subtopics.

~10 min read

1. Sample space and P(A)

A trial is one go at an experiment, such as one roll of a die. An outcome is one possible result of a trial. The sample space U is the set of all possible outcomes, and an event is a set of outcomes you are interested in.

Outcomes are equally likely when none is more likely than another, as on a fair die or a fair spinner. A sample space can be a list, such as U = {1, 2, 3, 4, 5, 6}, or a table.

For an event A, count the outcomes in A and in U. The probability of A is the first count divided by the second. Always divide by all the outcomes in U. The command term *find* needs the working, so write both counts.

P(A) = (n(A))/(n(U))

0 ≤ P(A) ≤ 1

Worked example 13 marks

A fair spinner has eight equal sectors numbered 1 to 8. The spinner is spun once. Event A is that the number is prime. Find P(A).

  1. 1

    primes in the sample space: A = {2, 3, 5, 7}, so n(A) = 4, and n(U) = 8 (A1) [1]

  2. 2

    P(A) = (n(A))/(n(U)) = 4/8 (M1) [1]

  3. 3

    = 1/2 (A1) [1]

2. Relative frequency and theoretical probability

Theoretical probability comes from counting equally likely outcomes in the sample space: (n(A))/(n(U)). No experiment is needed.

Relative frequency comes from an experiment. Do a number of trials and count how many times the event occurs. Relative frequency is that count divided by the number of trials. It is an experimental probability.

The two need not be equal. A fair die rolled 60 times will not give exactly ten sixes every time. Divide by the number of trials, not by the number of times the event did not occur.

relative frequency = (number of times the event occurs)/(number of trials)

Worked example 13 marks

A fair six-sided die is rolled 60 times. A six occurs 14 times.(a) Find the relative frequency of a six.(b) Write down the theoretical probability of a six.

  1. 1

    (a) divide by the number of trials: 14/60 (M1) [1]

  2. 2

    = 7/30 (= 0.233…) (A1) [1]

  3. 3

    (b) one six in six equally likely outcomes: 1/6 (A1) [1]

3. Sample spaces as tables

When two things happen together, such as two dice rolled and their scores added, a table shows the sample space. Each cell is one outcome. Count the cells that fit the event.

Count the cells, not the possible sums. The sums 2, 3, …, 8 are not equally likely, but each cell of the table is. So n(U) is the number of cells.

A repeated sum, such as 5, appears in more than one cell and each cell counts.

n(U) = rows × columns

Worked example 13 marks

Two fair four-sided dice, each numbered 1 to 4, are rolled. The two scores are added. The sums of the scores are in the table.

Find the probability that the sum is at least 6.

+1234
12345
23456
34567
45678
  1. 1

    16 cells, so n(U) = 16 (A1) [1]

  2. 2

    sums of 6 or more: one 6 in row 2, 6 and 7 in row 3, 6, 7 and 8 in row 4, so n(A) = 6 (M1) [1]

  3. 3

    P(sum ≥ 6) = 6/16 = 3/8 (A1) [1]

4. Complementary events

The complement of A is the event A', read "not A". It holds every outcome in U that is not in A. Every outcome is in exactly one of A and A'.

So the outcomes of A and A' together make up all of U, and n(A) + n(A') = n(U). Dividing by n(U) gives the probabilities.

Use the complement when the event A' is easier to count than A. Take care with the subtraction: 1 - 0.07 is 0.93.

P(A') = 1 - P(A)

P(A) + P(A') = 1

Worked example 13 marks

A box holds 20 discs numbered 1 to 20. One disc is chosen at random. Find the probability that the number is not a multiple of 4.

  1. 1

    multiples of 4: A = {4, 8, 12, 16, 20}, so P(A) = 5/20 = 1/4 (M1) [1]

  2. 2

    complement: P(A') = 1 - P(A) (M1) [1]

  3. 3

    = 1 - 1/4 = 3/4 (A1) [1]

5. Expected number of occurrences

If a trial is repeated many times, the expected number of occurrences of an event is the probability of the event multiplied by the number of trials.

The expected number need not be a whole number. With 128 students and a probability of absence of 0.1, the expected number of absent students is 12.8. Leave it as 12.8.

Check which event you were asked about. The expected number of times A' occurs uses P(A').

expected number = P(A) × n

Worked example 12 marks

The probability that a seed germinates is 0.85. A gardener plants 240 seeds. Find the expected number of seeds that germinate.

  1. 1

    probability multiplied by the number of trials: 0.85 × 240 (M1) [1]

  2. 2

    = 204 (A1) [1]

Recap

  • P(A) = (n(A))/(n(U)) for equally likely outcomes. U is the sample space, a list or a table.
  • Relative frequency is the number of times the event occurs divided by the number of trials. Theoretical probability is (n(A))/(n(U)).
  • P(A') = 1 - P(A). Use it when counting A' is easier.
  • Expected number of occurrences = P(A) × n. It need not be a whole number.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. A fair six-sided die is rolled once. State the probability of a score greater than 4.1 mark
    Answer
    1. 2/6 = 1/3 (A1)

    Trap: Two scores (5 and 6) are in the event, but n(U) is 6, not 4. Do not divide by the outcomes outside the event.

  2. Do not use a calculator. A bag holds 4 red, 5 blue and 3 yellow counters. One counter is chosen at random. Find the probability that it is blue.2 marks
    Answer
    1. n(U) = 4 + 5 + 3 = 12 (M1)
    2. P(blue) = 5/12 (A1)

    Trap: 5/7 divides by the counters that are not blue. n(U) includes the blue ones.

  3. Do not use a calculator. The probability that a bus is late is 0.07. Find the probability that it is not late.2 marks
    Answer
    1. P(A') = 1 - 0.07 (M1)
    2. = 0.93 (A1)

    Trap: 1 - 0.07 is 0.93, not 0.03. Line up the decimal places.

  4. Do not use a calculator. A fair spinner has 10 equal sectors numbered 1 to 10. The probability that the number is prime is A. 3/10 B. 1/2 C. 2/5 D. 2/31 mark
    Answer
    1. C: primes are 2, 3, 5, 7, so 4/10 = 2/5.
    2. A leaves out the prime 2. B counts 1 or 9 as prime. D divides 4 by the 6 outcomes that are not prime.

    Trap: 1 is not prime, and 2 is. Divide by n(U) = 10, not by the other outcomes.

  5. Do not use a calculator. Two fair six-sided dice are rolled and the scores added. Find the probability that the sum is 9.3 marks
    Answer
    1. n(U) = 6 × 6 = 36 (A1)
    2. sum 9: (3,6), (4,5), (5,4), (6,3), so n(A) = 4 (M1)
    3. 4/36 = 1/9 (A1)

    Trap: Using the 11 possible sums 2, …, 12 as the sample space gives 1/11. The sums are not equally likely. The 36 pairs are.

  6. A fair coin is flipped 80 times and lands heads 52 times. (a) Find the relative frequency of heads. (b) Write down the theoretical probability of heads.3 marks
    Answer
    1. (a)
    2. 52/80 (M1)
    3. = 13/20 = 0.65 (A1)
    4. (b)
    5. 1/2 (A1)

    Trap: 52/28 divides by the tails. Divide by the 80 trials.

  7. Do not use a calculator. The probability that a bulb is faulty is 3%. A batch has 2500 bulbs. Find the expected number of faulty bulbs.2 marks
    Answer
    1. 0.03 × 2500 (M1)
    2. = 75 (A1)

    Trap: 3% is 0.03, not 0.3. Writing 0.3 gives 750.

  8. Do not use a calculator. The probability that a student walks to school is 0.36. A year group has 250 students. Find the expected number of students who do not walk to school.4 marks
    Answer
    1. P(not walk) = 1 - 0.36 (M1)
    2. = 0.64 (A1)
    3. 0.64 × 250 (M1)
    4. = 160 (A1)

    Trap: 0.36 × 250 = 90 answers for students who walk. The event asked about is the complement.

  9. Two fair four-sided dice, each numbered 1 to 4, are rolled and the scores are multiplied. (a) Show that the probability that the product is odd is 1/4. (b) Hence find the probability that the product is even. (c) The two dice are rolled 200 times. Find the expected number of times the product is even.5 marks
    Answer
    1. (a)
    2. n(U) = 4 × 4 = 16 (A1)
    3. odd products come from (1,1), (1,3), (3,1), (3,3), so n(A) = 4 (M1)
    4. P(odd) = 4/16 = 1/4 (A1) (AG)
    5. (b)
    6. 1 - 1/4 = 3/4 (A1)
    7. (c)
    8. 3/4 × 200 = 150 (A1)

    Trap: The product is odd only when both scores are odd. Counting the 12 pairs with at least one odd score gives 3/4, not 1/4.

  10. Do not use a calculator. A fairground game uses a fair six-sided die and a fair spinner with five equal sectors numbered 1 to 5. Each is used once. A player wins when the die score is greater than the spinner score. (a) Show that the probability of a win is 1/2. (b) Find the probability that the two scores are equal. (c) Hence find the probability that the die score is less than the spinner score. (d) The game is played 270 times. Find the expected number of games in which the die score is less than the spinner score.9 marks
    Answer
    1. (a)
    2. n(U) = 6 × 5 = 30 (A1)
    3. die greater: spinner 1 gives 5 pairs, 2 gives 4, 3 gives 3, 4 gives 2, 5 gives 1, so n(win) = 15 (M1)
    4. P(win) = 15/30 = 1/2 (A1) (AG)
    5. (b)
    6. equal: (1,1), (2,2), (3,3), (4,4), (5,5), so 5 pairs (M1)
    7. 5/30 = 1/6 (A1)
    8. (c)
    9. 1 - 1/2 - 1/6 (M1)
    10. = 1/3 (A1)
    11. (d)
    12. 1/3 × 270 (M1)
    13. = 90 (A1)

    Trap: The complement of "die score greater" is "die score less than or equal to", not "die score less": taking 1 - 1/2 forgets the 5 ties and gives 135 instead of 90.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
P(A) = 2/4 for a die score above 4, dividing by the outcomes not in AP(A) = (n(A))/(n(U)) = 2/6 = 1/3, dividing by all the outcomes in U
relative frequency = 52/28, heads divided by tailsrelative frequency = 52/80, the event count divided by the number of trials
P(A') = 1 - 0.07 = 0.03P(A') = 1 - P(A) = 0.93
expected number of absent students is 13, roundedexpected number of absent students = 0.1 × 128 = 12.8

Frequently asked questions

How do you find the probability of an event from a sample space?
Count the outcomes in the event A and the outcomes in the sample space U, then divide: P(A) = (n(A))/(n(U)). This works when the outcomes are equally likely. For a fair spinner with eight equal sectors, the prime numbers give n(A) = 4 and n(U) = 8, so P(A) = 1/2. Always divide by all the outcomes in U.
What is the difference between theoretical probability and relative frequency?
Theoretical probability comes from counting equally likely outcomes, with no experiment needed. Relative frequency comes from an experiment: the number of times the event occurs divided by the number of trials. A coin flipped 80 times and landing heads 52 times has relative frequency 52/80 = 0.65, while the theoretical probability of heads is 1/2. The two need not be equal.
How do you find a probability from a table of sums for two dice?
Count the cells of the table, not the possible sums. Each cell is one outcome, so n(U) is the number of cells: 16 for two four-sided dice. For a sum of at least 6, count the cells that fit, n(A) = 6, giving P(sum ≥ 6) = 6/16 = 3/8. A repeated sum appears in more than one cell, and each cell counts.
How do you find the probability that an event does not happen?
Use the complement: P(A') = 1 - P(A), since P(A) + P(A') = 1. For example, if P(A) = 1/4 for a disc number being a multiple of 4, then P(A') = 1 - 1/4 = 3/4. Use this when counting A' is harder than counting A, and take care with the subtraction, since 1 - 0.07 is 0.93.
How do you find the expected number of times an event occurs?
Take the probability of the event times the number of trials: expected number = P(A) × n. For example, if a bulb is faulty with probability 0.03 and a batch has 2500 bulbs, the expected number of faulty bulbs is 0.03 × 2500 = 75. The expected number need not be a whole number, as with 12.8 absent students. Check which event is needed, since A' uses P(A').
Why is the probability of a sum of 9 from two dice not 1/11?
Using the 11 possible sums 2, …, 12 as the sample space gives 1/11, but the sums are not equally likely. The 36 pairs are equally likely, so the sample space is n(U) = 6 × 6 = 36. The pairs (3,6), (4,5), (5,4), (6,3) give a sum of 9, so P = 4/36 = 1/9.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters