• Practice
  • About 18 min
  • 5 practice questions

Algebra of events and the addition theorem of probability

Combine events with union, intersection and complement, use mutually exclusive events and P(only A), and apply the addition theorem for two and three events.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Describe A ∪ B, A ∩ B and A′ in words and with Venn diagrams.
  • Recognise mutually exclusive events and use P(A ∪ B) = P(A) + P(B) for them.
  • Use P(only A) = P(A ∩ B′) = P(A) − P(A ∩ B).
  • Apply the addition theorem for two events and for three events.

Many questions combine conditions: 'a number that is a multiple of 3 or of 5', 'a student who plays cricket and football', 'a card that is not red'. Events are sets of outcomes, so we combine them with the set operations you already know, and the addition theorem tells us how their probabilities add.

Combining events

The algebra of events
EventOccurs whenSet idea
A ∪ BA or B (or both) occursUnion
A ∩ BA and B both occurIntersection
A′A does not occurComplement: A ∩ A′ = ∅, A ∪ A′ = S
A ∩ B′Only A occurs (A but not B)P(only A) = P(A) − P(A ∩ B)

Two events are mutually exclusive if they cannot happen together, that is, A ∩ B = ∅. For example, getting 2 and getting 5 on one roll of a die. For mutually exclusive events, P(A ∪ B) = P(A) + P(B).

The addition theorem

In a Venn diagram, A ∪ B splits into three non-overlapping parts: only A, A ∩ B and only B. Adding their probabilities: P(A ∪ B) = [P(A) − P(A ∩ B)] + P(A ∩ B) + [P(B) − P(A ∩ B)] = P(A) + P(B) − P(A ∩ B). The overlap is subtracted once because it was counted twice.

P(A ∪ B) = P(A) + P(B) − P(A ∩ B). For three events: P(A ∪ B ∪ C) = P(A) + P(B) + P(C) − P(A ∩ B) − P(B ∩ C) − P(A ∩ C) + P(A ∩ B ∩ C).

— Addition theorem of probability

Parts of A ∪ B in a Venn diagram

  • Only A
    • P(A) − P(A ∩ B)
  • Both A and B
    • P(A ∩ B)
  • Only B
    • P(B) − P(A ∩ B)
  • Neither
    • 1 − P(A ∪ B), outside both circles
The three parts inside the circles never overlap, so their probabilities add to P(A ∪ B).

Worked example 1: using the formulae

If P(A) = 0.5, P(B) = 0.4 and P(A ∩ B) = 0.2, then P(A ∪ B) = 0.5 + 0.4 − 0.2 = 0.7; P(only A) = 0.5 − 0.2 = 0.3; P(neither) = 1 − 0.7 = 0.3.

Worked example 2: multiples

A card is drawn from 30 cards numbered 1 to 30. A: a multiple of 3 (3, 6, ..., 30: 10 cards). B: a multiple of 5 (5, 10, ..., 30: 6 cards). A ∩ B: multiples of 15 (15, 30: 2 cards). P(A ∪ B) = 10/30 + 6/30 − 2/30 = 14/30 = 7/15.

Worked example 3: two dice

Two dice are rolled. A: a doublet (6 outcomes). B: sum 8 ((2, 6), (3, 5), (4, 4), (5, 3), (6, 2): 5 outcomes). A ∩ B: (4, 4), 1 outcome. P(A ∪ B) = 6/36 + 5/36 − 1/36 = 10/36 = 5/18.

Worked example 4: a class survey (made-up data)

In a class of 40, 22 play cricket, 18 play football and 10 play both. A student is chosen at random. P(at least one game) = 22/40 + 18/40 − 10/40 = 30/40 = 3/4. P(neither) = 1 − 3/4 = 1/4. P(only cricket) = (22 − 10)/40 = 12/40 = 3/10.

Worked example 5: three events

A number is chosen from 1 to 60. A: divisible by 2 (30 numbers); B: by 3 (20); C: by 5 (12). A ∩ B: by 6 (10); B ∩ C: by 15 (4); A ∩ C: by 10 (6); A ∩ B ∩ C: by 30 (2). P(A ∪ B ∪ C) = (30 + 20 + 12 − 10 − 4 − 6 + 2)/60 = 44/60 = 11/15. Check: the numbers up to 60 divisible by none of 2, 3, 5 number 60 × (1/2)(2/3)(4/5) = 16, and 60 − 16 = 44.

Key takeaways: 'or' means union, 'and' means intersection, 'not' means complement. P(A ∪ B) = P(A) + P(B) − P(A ∩ B), which reduces to P(A) + P(B) for mutually exclusive events. P(only A) = P(A) − P(A ∩ B). For three events, add the singles, subtract the pairs and add back the triple.

Check your understanding

  1. 1. If P(A) = 0.6, P(B) = 0.5 and P(A ∩ B) = 0.3, what is P(A ∪ B)?

    1. 1.1
    2. 0.8
    3. 0.3
    4. 0.9
    Show answer

    Answer: B. P(A ∪ B) = P(A) + P(B) − P(A ∩ B) = 0.6 + 0.5 − 0.3 = 0.8.

  2. 2. A and B are mutually exclusive, with P(A) = 0.25 and P(B) = 0.4. What is P(A ∪ B)?

    1. 0.15
    2. 0.1
    3. 0.65
    4. 0.35
    Show answer

    Answer: C. For mutually exclusive events P(A ∩ B) = 0, so P(A ∪ B) = 0.25 + 0.4 = 0.65.

  3. 3. If P(A) = 0.7 and P(A ∩ B) = 0.25, what is P(A ∩ B′), the probability of A only?

    1. 0.45
    2. 0.95
    3. 0.3
    4. 0.25
    Show answer

    Answer: A. P(A ∩ B′) = P(A) − P(A ∩ B) = 0.7 − 0.25 = 0.45.

  4. 4. If P(A ∪ B) = 0.9, P(A) = 0.5 and P(B) = 0.6, what is P(A ∩ B)?

    1. 0.1
    2. 0.3
    3. 0.4
    4. 0.2
    Show answer

    Answer: D. From the addition theorem, P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.5 + 0.6 − 0.9 = 0.2.

  5. 5. A card is drawn from 20 cards numbered 1 to 20. What is the probability that its number is a multiple of 2 or of 5?

    1. 7/10
    2. 3/5
    3. 1/2
    4. 1/10
    Show answer

    Answer: B. Multiples of 2: 10. Multiples of 5: 4. Multiples of both (10 and 20): 2. P = (10 + 4 − 2)/20 = 12/20 = 3/5.

Privacy · Terms · Refunds · Delivery