Salam Academy
Numbers and the number system · Subtopic 7 of 7

Sets and Venn Diagrams

A set is a collection of things, called elements. Venn diagrams draw sets as overlapping circles inside a rectangle (the universal set). Learn the symbols, fill diagrams from the middle outwards, and counting questions become simple bookkeeping.

Cambridge 4024 Paper 1Cambridge 4024 Paper 2Edexcel 4MA1 Papers 1H, 2HEdexcel 4MA1 Papers 1F, 2FAQA 8300 Papers 1–3≈ 30 minRevision 5 · updated 2026-10-27
Section 1 of 14

Learning objectives

  • Use the notation ξ\xi, ∈\in, ∉\notin, n(A)n(A), A′A', ∩\cap, ∪\cup, ⊂\subset and ∅\varnothing.
  • List the elements of sets such as A∩B′A\cap B'.
  • Complete Venn diagrams with two or three sets.
  • Solve counting problems, including with an unknown xx.
Pause and think

In a class, 1818 students play football and 1515 play cricket. The class has only 3030 students. How can that be?

Section 2 of 14

Core idea

Start hereCounting people twice

A teacher asks: "Who studies French?" 25 hands. "Spanish?" 18 hands. The class has 40, and 7 study neither. 25+18=4325+18=43 is more than the 33 who study something, because some students raised their hand twice. Venn diagrams make the double-counting visible.

The big idea

A∩BA\cap B: in both; A∪BA\cup B: in either; A′A': not in AA. n(A∪B)=n(A)+n(B)−n(A∩B)n(A\cup B)=n(A)+n(B)-n(A\cap B).

1. Notation

  • E\mathscr E: universal set.
  • x∈Ax\in A: xx is in AA; n(A)n(A): number of elements.
  • A⊂BA\subset B: every element of AA is in BB.
  • ∅\varnothing: empty set.
E = {1, …, 10}, A = even numbers, B = multiples of 3
2 48 106391 5 7ABℰ
A∩B={6}A\cap B=\{6\} (in both). A∪B={2,3,4,6,8,9,10}A\cup B=\{2,3,4,6,8,9,10\} (in either). A′={1,3,5,7,9}A'=\{1,3,5,7,9\} (not in A).
The addition rule
  1. n(A)+n(B)n(A)+n(B)
    Counts the overlap A∩BA\cap B twice.
  2. n(A∪B)=n(A)+n(B)−n(A∩B)n(A\cup B)=n(A)+n(B)-n(A\cap B)
    Subtract it once.

2. Counting with Venn diagrams

Worked exampleFrench and Spanish

40 students; 25 French, 18 Spanish, 7 neither.

Goal
Both; French only; Spanish only.
Strategy
Find the overlap first.
  1. n(F∪S)=40−7=33n(F\cup S)=40-7=33
    At least one.
  2. n(F∩S)=25+18−33=10n(F\cap S)=25+18-33=10
    Addition rule.
  3. 25−10=15,18−10=825-10=15,\quad18-10=8
    Only regions.
AnswerBoth 10; French only 15; Spanish only 8.
✓ Check15+10+8+7=4015+10+8+7=40 ✓.
Worked exampleUsing x

n(E)=30n(\mathscr E)=30, n(A)=17n(A)=17, n(B)=14n(B)=14, n((A∪B)′)=4n((A\cup B)')=4. Find n(A∩B)n(A\cap B).

Goal
xx.
Strategy
Label the overlap xx; regions sum to 30.
  1. (17−x)+x+(14−x)+4=30(17-x)+x+(14-x)+4=30
    Four regions.
  2. 35−x=30⇒x=535-x=30\Rightarrow x=5
    Solve.
Answer55.
✓ Check12+5+9+4=3012+5+9+4=30 ✓.
Common misconceptionWriting n(A)n(A) inside A only 17 is the whole circle A, including the overlap.
Pause and think

List the subsets of {a,b}\{a,b\}.

Summary

  • Fill the overlap first.
  • Use xx for an unknown region.
Key words
Intersection
A∩BA\cap B.
Union
A∪BA\cup B.
Complement
A′A'.
HistoryCantor's infinite sets. Georg Cantor founded set theory in the 1870s and showed something astonishing: some infinite sets are bigger than others. There are "more" real numbers than whole numbers, even though both sets go on forever.
Fun factThe barber paradox. A barber shaves everyone in the village who doesn't shave themselves. Who shaves the barber? Bertrand Russell's version of this paradox (1901) showed that careless set definitions lead to contradictions, and forced mathematicians to rebuild set theory carefully.
Keep reading for free

Create a free account to read the rest of this lesson: key formulae, worked examples, explore the graph, common mistakes, exam tip, guided practice and more. Your answers are checked and your progress is saved.