Skip to content
IB Diploma ProgrammeSL & HL

Combined events and diagrams

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Combined events and diagrams notes as a printable PDF.

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

Read the notes

The full Combined events and diagrams notes as text: skim, search, and jump between subtopics.

~15 min read

1. Sample space diagrams and tables of outcomes

A sample space diagram or table of outcomes lists every possible outcome of an experiment, such as two dice thrown together. For two fair six-sided dice the table has 6 × 6 = 36 cells, and each cell is equally likely.

To find a probability, count the cells that fit the event and divide by the total number of cells. Count each cell once: the pair (1, 2) and the pair (2, 1) are different outcomes.

The command term show that needs every step and the given value reached. The command term find needs the working that leads to the answer.

P(event) = (number of outcomes in the event)/(total number of outcomes)

Worked example 14 marks

Lynn is playing a game with two unbiased six-sided dice, each with faces marked with the integers from 1 to 6.

In each round, she throws both dice once. The outcomes can be displayed in the following sample space diagram, which has been partially completed:

Lynn scores points according to the following rules. If the two dice show the same score, she scores 10 points. If the two dice show scores which have a difference of one, for example the scores 4 and 5 in any order, she scores 5 points. Otherwise, she scores 0 points.

(a) Show that the probability that Lynn scores 5 points in one round is 5/18.

(b) Find the probability that Lynn scores no points in one round.

Die 1 / Die 2123456
1
22, 2
33, 4
4
55, 3
6
  1. 1

    (a) the sample space has 6 × 6 = 36 outcomes A1 for the denominator [1]

  2. 2

    pairs with a difference of one: (1,2), (2,3), (3,4), (4,5), (5,6) and the five reversed pairs, so 10 outcomes A1 for the numerator [1]

  3. 3

    P(5 points) = 10/36 = 5/18 (AG)

  4. 4

    (b) count the outcomes with a difference of more than one, row by row: 4 + 3 + 3 + 3 + 3 + 4 = 20 (M1) [1]

  5. 5

    P(0 points) = 20/36 = 5/9 (= 0.556) A1 [1]

  6. 6

    or subtract from 1: 1 - 10/36 - 6/36 = 20/36, since 6 outcomes are doubles

2. Combined events and Venn diagrams

A Venn diagram shows events as overlapping regions inside the sample space. A ∩ B is the overlap, "A and B". A ∪ B is everything inside either circle, "A or B". A' is everything outside A.

In mathematics "or" is non-exclusive: A ∪ B includes the outcomes where both happen. Adding P(A) and P(B) counts the overlap twice, so it is subtracted once.

Events are mutually exclusive when they cannot happen together: P(A ∩ B) = 0. The overlap is empty and the formula reduces to P(A) + P(B). Fill in the overlap of a Venn diagram first, then the parts of each circle outside it, then the outside region.

P(A ∪ B) = P(A) + P(B) - P(A ∩ B)

mutually exclusive: P(A ∩ B) = 0

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

Worked example 14 marks

Do not use a calculator. Events A and B are such that P(A) = 0.5, P(B) = 0.35 and P(A ∪ B) = 0.6.

(a) Find P(A ∩ B).

(b) Find P(A ∩ B').

  1. 1

    (a) attempt to use P(A ∪ B) = P(A) + P(B) - P(A ∩ B) (M1) [1]

  2. 2

    0.6 = 0.5 + 0.35 - P(A ∩ B), so P(A ∩ B) = 0.25 (A1) [1]

  3. 3

    (b) A ∩ B' is the part of circle A outside the overlap (M1) [1]

  4. 4

    P(A ∩ B') = 0.5 - 0.25 = 0.25 (A1) [1]

  5. 5

    check: the regions 0.25 + 0.25 + 0.10 = 0.6 = P(A ∪ B), with P(B ∩ A') = 0.35 - 0.25 = 0.10

3. Conditional probability

The probability of A given B is the probability that A happens when you already know B has happened. The sample space shrinks to B, so the denominator is P(B), the event after the bar.

The formula can be turned round to give the probability of both events: P(A ∩ B) = P(B) P(A|B). A Venn diagram, a table of outcomes or a tree diagram can solve a conditional problem without the formula.

Write the formula you are using, then substitute. A correct answer with no method may earn no marks.

P(A|B) = (P(A ∩ B))/(P(B))

P(A ∩ B) = P(B) P(A|B)

Worked example 13 marks

Consider events A and B such that P(A') = P(A ∪ B) = 3/4 and P(B|A) = 2/3.

Find P(A ∩ B).

  1. 1

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

  2. 2

    attempt to use P(B|A) = (P(B ∩ A))/(P(A)): 2/3 = (P(A ∩ B))/(1/4) (M1) [1]

  3. 3

    P(A ∩ B) = 2/3 × 1/4 = 2/12 = 1/6 A1 [1]

4. Tree diagrams, with and without replacement

A tree diagram shows the outcomes of events one after another. Write each probability on its branch. Multiply along the branches to get the probability of a path, because P(A ∩ B) = P(A) P(B|A). Add the paths that fit the event, because different paths cannot happen together.

The second set of branches are conditional probabilities. With replacement, the second set repeats the first. Without replacement, one item has left the bag, so every denominator on the second set of branches is one less, and the numerator for the colour already taken is one less too.

The branch probabilities leaving any one point add up to 1. Use this to check each set of branches.

P(path) = product of the branch probabilities

Worked example 14 marks

Do not use a calculator. A bag contains 4 red counters and 6 blue counters. Two counters are taken at random from the bag, one after the other, without replacement.

(a) Find the probability that both counters are red.

(b) Find the probability that the counters are different colours.

  1. 1

    (a) first red: 4/10; second red, with 3 red left among 9: 3/9 (M1) [1]

  2. 2

    P(both red) = 4/10 × 3/9 = 12/90 = 2/15 (A1) [1]

  3. 3

    (b) two paths: red then blue, and blue then red (M1) [1]

  4. 4

    4/10 × 6/9 + 6/10 × 4/9 = 24/90 + 24/90 = 48/90 = 8/15 (A1) [1]

  5. 5

    check: both blue is 6/10 × 5/9 = 30/90, and 12/90 + 48/90 + 30/90 = 1

5. Independent events

Events A and B are independent when one happening does not change the probability of the other. The test is P(A ∩ B) = P(A) P(B). An equivalent form is P(A|B) = P(A).

To show that two events are independent, work out P(A ∩ B) and P(A) P(B) separately, then state that they are equal. The markscheme gives the final mark for this conclusion, and only if the earlier marks are earned.

When a question gives that two events are independent, use the formula to build an equation.

P(A ∩ B) = P(A) P(B)

P(A|B) = P(A)

Worked example 19 marks

Consider two events, A and B.

It is given that P(A ∩ B') = (5 + x)/24, P(A ∩ B) = (7 - x)/12 and P(A' ∩ B) = 1/6, where 0 ≤ x ≤ 7.

(a) Show that P(A) = (19 - x)/24.

It is given that A and B are independent.

(b) Find the possible values of x.

  1. 1

    (a) draw a Venn diagram, or use P(A) = P(A ∩ B') + P(A ∩ B) (M1) [1]

  2. 2

    P(A) = (5 + x)/24 + (7 - x)/12 (A1) [1]

  3. 3

    = (5 + x)/24 + (2(7 - x))/24 A1 [1]

  4. 4

    = (19 - x)/24 (AG)

  5. 5

    (b) P(B) = P(A ∩ B) + P(A' ∩ B) = (7 - x)/12 + 1/6 = (9 - x)/12 (A1) [1]

  6. 6

    attempt to use P(A ∩ B) = P(A) P(B) to form an equation in x (M1) [1]

  7. 7

    (7 - x)/12 = (19 - x)/24 × (9 - x)/12 (A1) [1]

  8. 8

    168 - 24x = x² - 28x + 171, so x² - 4x + 3 = 0 A1 [1]

  9. 9

    attempt to solve their quadratic equation (M1) [1]

  10. 10

    x = 1 or x = 3 A1 [1]

  11. 11

    check: at x = 1, P(A) P(B) = 18/24 × 8/12 = 1/2 = P(A ∩ B); at x = 3, 16/24 × 6/12 = 1/3 = P(A ∩ B)

6. Mutually exclusive or independent?

Mutually exclusive events cannot happen together, so P(A ∩ B) = 0. Independent events do not affect each other, so P(A ∩ B) = P(A) P(B).

If two events each have a non-zero probability, they cannot be both. Exclusive events give P(A) P(B) ≠ 0 against P(A ∩ B) = 0. Knowing one has happened tells you the other has not, so exclusive events depend on each other.

Read which word the question uses, then pick the matching P(A ∩ B) and put it in the combined-events formula.

exclusive: P(A ∪ B) = P(A) + P(B)

independent: P(A ∪ B) = P(A) + P(B) - P(A) P(B)

Worked example 14 marks

Do not use a calculator. Events A and B are such that P(A) = 0.3 and P(B) = 0.4.

(a) Find P(A ∪ B) when A and B are mutually exclusive.

(b) Find P(A ∪ B) when A and B are independent.

  1. 1

    (a) P(A ∩ B) = 0 (M1) [1]

  2. 2

    P(A ∪ B) = 0.3 + 0.4 = 0.7 (A1) [1]

  3. 3

    (b) P(A ∩ B) = P(A) P(B) = 0.3 × 0.4 = 0.12 (M1) [1]

  4. 4

    P(A ∪ B) = 0.3 + 0.4 - 0.12 = 0.58 (A1) [1]

Recap

  • A sample space diagram lists equally likely outcomes. Count the favourable cells over the total.
  • P(A ∪ B) = P(A) + P(B) - P(A ∩ B). "Or" includes both.
  • Mutually exclusive: P(A ∩ B) = 0.
  • Conditional: P(A|B) = (P(A ∩ B))/(P(B)), and P(A ∩ B) = P(B) P(A|B).
  • Tree diagram: multiply along branches, add between paths. Without replacement, the second branches change.
  • Independent: P(A ∩ B) = P(A) P(B). To show it, evaluate both sides and conclude.
  • Write the formula first. A bare answer with no method may earn no marks.

End-of-chapter exercise

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

  1. State the value of P(A ∩ B) when A and B are mutually exclusive events.1 mark
    Answer
    1. P(A ∩ B) = 0.

    Trap: P(A) P(B) is the result for independent events, not for mutually exclusive ones.

  2. Do not use a calculator. Two fair four-sided dice, numbered 1 to 4, are thrown and the scores are added. Find the probability that the total is 5.3 marks
    Answer
    1. There are 4 × 4 = 16 equally likely outcomes. [1]
    2. Total 5: (1,4), (2,3), (3,2), (4,1), so 4 outcomes. [1]
    3. P(5) = 4/16 = 1/4. [1]

    Trap: (1,4) and (4,1) are two outcomes. Counting them once gives 2/16.

  3. Do not use a calculator. Events A and B are such that P(A) = 0.6, P(B) = 0.5 and P(A ∪ B) = 0.8. Find P(A ∩ B).3 marks
    Answer
    1. P(A ∪ B) = P(A) + P(B) - P(A ∩ B).
    2. 0.8 = 0.6 + 0.5 - P(A ∩ B) [1].
    3. P(A ∩ B) = 1.1 - 0.8 [1] = 0.3 [1].

    Trap: 0.6 + 0.5 = 1.1 is more than 1. The overlap must be subtracted.

  4. Do not use a calculator. Events A and B are such that P(A) = 3/10, P(B) = 2/5 and P(A ∩ B) = 1/5. Find P(A|B).3 marks
    Answer
    1. P(A|B) = (P(A ∩ B))/(P(B)) [1].
    2. = 1/5 ÷ 2/5 [1] = 1/5 × 5/2 = 1/2 [1].

    Trap: Dividing by P(A) gives 2/3, which is P(B|A).

  5. Do not use a calculator. In a class of 30 students, 18 study French, 12 study Spanish and 5 study neither language. A student is chosen at random. (a) Find the probability that the student studies both languages. (b) Given that the student studies Spanish, find the probability that the student also studies French.4 marks
    Answer
    1. (a)
    2. 18 + 12 + 5 = 35 is 5 more than 30, so 5 students study both [1].
    3. P(both) = 5/30 = 1/6 [1].
    4. (b)
    5. P(F|S) = 5/12 [2].

    Trap: The circles overlap. Adding 18 + 12 + 5 without removing the overlap counts 5 students twice.

  6. Do not use a calculator. A bag contains 5 red counters and 3 green counters. Two counters are taken at random, without replacement. (a) Find the probability that both counters are red. (b) Find the probability that exactly one counter is green.5 marks
    Answer
    1. (a)
    2. 5/8 × 4/7 [1] = 20/56 = 5/14 [1].
    3. (b)
    4. Red then green: 5/8 × 3/7 = 15/56 [1].
    5. Green then red: 3/8 × 5/7 = 15/56 [1].
    6. P = 30/56 = 15/28 [1].

    Trap: Using 5/8 × 5/8 treats the draw as with replacement. In part (b) a single path is not the whole event.

  7. Do not use a calculator. Events A and B are independent, with P(A) = 0.4 and P(B) = 0.25. Find P(A ∪ B).3 marks
    Answer
    1. P(A ∩ B) = 0.4 × 0.25 = 0.1 [1].
    2. P(A ∪ B) = 0.4 + 0.25 - 0.1 [1] = 0.55 [1].

    Trap: Independent events can happen together. Using 0.4 + 0.25 = 0.65 treats them as mutually exclusive.

  8. Do not use a calculator. Events A and B are such that P(A) = 1/3, P(B) = 3/5 and P(A ∪ B) = 11/15. Show that A and B are independent.4 marks
    Answer
    1. P(A ∩ B) = 1/3 + 3/5 - 11/15 = (5 + 9 - 11)/15 = 3/15 = 1/5 [2].
    2. P(A) P(B) = 1/3 × 3/5 = 1/5 [1].
    3. P(A ∩ B) = P(A) P(B), so A and B are independent [1].

    Trap: Stopping at P(A ∩ B) = 1/5. The conclusion needs the comparison with P(A) P(B).

  9. Do not use a calculator. A box holds n batteries, 4 of which are flat. Two batteries are taken from the box at random, without replacement. The probability that exactly one of the two batteries is flat is 8/15. (a) Show that n² - 16n + 60 = 0. (b) Hence find the possible values of n.5 marks
    Answer
    1. (a)
    2. Flat then not flat: 4/n × (n - 4)/(n - 1) [1].
    3. Not flat then flat gives the same product, so (8(n - 4))/(n(n - 1)) = 8/15 [1].
    4. 15(n - 4) = n(n - 1), so 15n - 60 = n² - n [1], giving n² - 16n + 60 = 0 (AG).
    5. (b)
    6. (n - 6)(n - 10) = 0 [1].
    7. n = 6 or n = 10 [1]. Both are more than 4, so both are possible.
    8. Check: 2 × 4/6 × 2/5 = 16/30 = 8/15 and 2 × 4/10 × 6/9 = 48/90 = 8/15.

    Trap: Using one path only, or (n - 4)/n for the second draw as if with replacement, gives an equation that does not lead to the given quadratic.

  10. Do not use a calculator. At a cinema, a customer is chosen at random. A is the event that the customer buys popcorn and B is the event that the customer buys a drink. The probability that a customer buys both is 0.1. The probability that a customer buys a drink but not popcorn is twice the probability that a customer buys popcorn but not a drink. Events A and B are independent. Let x = P(A ∩ B'). (a) Show that 200x² + 30x - 9 = 0. (b) Determine the value of x, justifying your answer. (c) Find the probability that a customer buys neither popcorn nor a drink. (d) Given that a customer buys a drink, find the probability that the customer buys popcorn.10 marks
    Answer
    1. (a)
    2. P(A) = x + 0.1 and P(B) = 2x + 0.1 [1].
    3. Independent, so (x + 0.1)(2x + 0.1) = 0.1 [1].
    4. 2x² + 0.3x + 0.01 = 0.1, so 2x² + 0.3x - 0.09 = 0 [1]. Multiply by 100: 200x² + 30x - 9 = 0 (AG).
    5. (b)
    6. (20x - 3)(10x + 3) = 0 [1], so x = 0.15 or x = -0.3 [1].
    7. A probability cannot be negative, so reject x = -0.3; x = 0.15 [1].
    8. (c)
    9. P(A ∪ B) = 0.15 + 0.1 + 0.3 = 0.55 [1], so P(neither) = 1 - 0.55 = 0.45 [1].
    10. (d)
    11. P(A|B) = 0.1/(0.3 + 0.1) [1] = 0.25 [1], which equals P(A), as independence requires.

    Trap: Giving both roots: x = -0.3 makes a probability negative, so it must be rejected with a reason.

Say this, not that

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

Loses the markGets the mark
For "A or B", P(A ∪ B) = P(A) + P(B) when the events overlapP(A ∪ B) = P(A) + P(B) - P(A ∩ B), which subtracts the overlap once
P(A|B) = (P(A ∩ B))/(P(A))P(A|B) = (P(A ∩ B))/(P(B)), dividing by the event after the bar
Mutually exclusive, so P(A ∩ B) = P(A) P(B)Mutually exclusive, so P(A ∩ B) = 0, since the events cannot happen together
P(A ∩ B) = 1/6, so A and B are independentP(A ∩ B) = P(A) P(B) with both sides evaluated and shown equal

Frequently asked questions

How do you find the probability of A or B when the events can overlap?
Use P(A ∪ B) = P(A) + P(B) - P(A ∩ B). In mathematics "or" includes the outcomes where both happen, so the overlap is subtracted once. For example, with P(A) = 0.5, P(B) = 0.35 and P(A ∪ B) = 0.6, the overlap is P(A ∩ B) = 0.25. Write the formula first, then substitute.
How do you calculate a conditional probability P(A|B)?
Use P(A|B) = (P(A ∩ B))/(P(B)). The denominator is P(B), the event after the bar, because the sample space shrinks to B. The formula can be turned round: P(A ∩ B) = P(B) P(A|B). For example, with P(A ∩ B) = 1/5 and P(B) = 2/5, P(A|B) = 1/2.
How do you find probabilities for two draws without replacement?
Draw a tree diagram and write each probability on its branch. Multiply along the branches to get the probability of a path, then add the paths that fit the event. Without replacement, the second set of branches changes because one item has left the bag. For a bag of 4 red and 6 blue counters, both red is 4/10 × 3/9 = 2/15, and different colours is 8/15.
What is the difference between mutually exclusive and independent events?
Mutually exclusive events cannot happen together, so P(A ∩ B) = 0. Independent events do not affect each other, so P(A ∩ B) = P(A) P(B). With P(A) = 0.3 and P(B) = 0.4, the union is 0.7 if they are exclusive and 0.58 if they are independent. Read which word the question uses.
How do you show that two events are independent?
Work out P(A ∩ B) and P(A) P(B) separately, then state that they are equal. For example, with P(A) = 1/3, P(B) = 3/5 and P(A ∪ B) = 11/15, P(A ∩ B) = 1/5 and P(A) P(B) = 1/5, so they are independent. The conclusion needs the comparison.
Why can't I add P(A) and P(B) for "A or B" when the events overlap?
Adding them counts the overlap twice, so the overlap must be subtracted: P(A ∪ B) = P(A) + P(B) - P(A ∩ B). For example, with P(A) = 0.6, P(B) = 0.5 and P(A ∪ B) = 0.8, the sum 0.6 + 0.5 = 1.1 is more than 1, and the overlap is P(A ∩ B) = 0.3.

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