Cambridge IGCSE · Topic 1.2
IGCSE Maths 0580 / Topic 1 / IGCSE

Draw the overlap.

A set is a collection of things, and a Venn diagram shows how sets overlap. Learn the notation, fill diagrams from given counts, and (Extended) work with three sets and subsets.

The key idea

Fill a Venn diagram from the middle outwards: the intersection first, then the 'only' regions, then the outside. \(n(A \cup B) = n(A) + n(B) - n(A \cap B)\), because the overlap is counted twice otherwise.

ξ A B 24810 612 39 15711
Fig. 1: ξ = {1, 2, ..., 12}, A = {even numbers}, B = {multiples of 3}. The overlap A ∩ B = {6, 12}; the numbers outside both circles form (A ∪ B)′ = {1, 5, 7, 11}
Section 01

Set language.

In the lab, set the universal set \(\xi = \{1, \dots, n\}\), choose a rule for A and for B, and watch each number drop into its region of the Venn diagram. Then pick a region and read off its name in set notation.

NotationMeaning
\(\xi\)the universal set: everything being considered
\(n(A)\)the number of elements in A
\(A \cup B\)union: in A or B or both
\(A \cap B\)intersection: in both A and B
\(A'\)complement: in \(\xi\) but not in A
\(x \in A\), \(x \notin A\)(Extended) \(x\) is / is not an element of A
\(\varnothing\)(Extended) the empty set
\(A \subseteq B\), \(A \not\subseteq B\)(Extended) A is / is not a subset of B: every element of A is also in B
Worked example Listing sets
\(\xi = \{1, 2, 3, \dots, 12\}\), \(A = \{\text{even numbers}\}\), \(B = \{\text{multiples of 3}\}\). List \(A \cap B\), \(A \cup B\) and \(A'\), and find \(n(A \cup B)\).
  1. \(A = \{2, 4, 6, 8, 10, 12\}\) and \(B = \{3, 6, 9, 12\}\).
  2. Intersection: the numbers in both lists, \(A \cap B = \{6, 12\}\).
  3. Union: every number in either list, written once: \(A \cup B = \{2, 3, 4, 6, 8, 9, 10, 12\}\), so \(n(A \cup B) = 8\).
  4. Complement: the numbers in \(\xi\) not in A, \(A' = \{1, 3, 5, 7, 9, 11\}\).
Answer: \(A \cap B = \{6, 12\}\), \(A \cup B = \{2, 3, 4, 6, 8, 9, 10, 12\}\), \(A' = \{1, 3, 5, 7, 9, 11\}\), \(n(A \cup B) = 8\) (see Fig. 1)
Worked example Set-builder notation
List the elements of \(C = \{x : x \text{ is an integer},\ 2 \le x < 7\}\).
  1. Read it as: the set of all \(x\) such that \(x\) is an integer from 2 up to, but not including, 7.
  2. \(\le\) includes 2; \(<\) excludes 7.
Answer: \(C = \{2, 3, 4, 5, 6\}\)
Examiner trap

In a union, list a shared element only ONCE. Writing \(A \cup B = \{2, 4, 6, 8, 10, 12, 3, 6, 9, 12\}\) double-counts 6 and 12 and gives the wrong \(n(A \cup B)\).

Section 02

Venn diagrams from counts.

Often you are given numbers of elements, not the elements themselves. Put the intersection in first, subtract to find the 'only' regions, and use the total to find what is outside.

Worked example Finding the overlap
In a group of 30 students, 18 study art (A), 15 study music (M) and 4 study neither. How many study both? How many study art only?
  1. Students in at least one subject: \(30 - 4 = 26\), so \(n(A \cup M) = 26\).
  2. \(n(A) + n(M) = 18 + 15 = 33\), which counts the 'both' students twice.
  3. Both: \(33 - 26 = 7\).
  4. Art only: \(18 - 7 = 11\). (Music only \(= 15 - 7 = 8\); check \(11 + 7 + 8 + 4 = 30\).)
Answer: 7 study both; 11 study art only
Your turn
\(n(\xi) = 40\), \(n(A) = 22\), \(n(B) = 19\) and \(n(A \cap B) = 8\). Find \(n\big((A \cup B)'\big)\).
Examiner trap

Do not write \(n(A) = 18\) in the 'A only' region. 18 is the whole circle; the 'A only' region is \(18 - 7 = 11\). Writing 18 there makes the diagram add up to more than 30.

Stage 1 · Learn

Check your understanding

Four quick checks. Each correct answer earns XP and records this skill on your profile.

Quick check+10 XP

\(\xi = \{1, 2, \dots, 10\}\) and \(A = \{1, 2, 3, 4\}\). Find \(n(A')\).

Quick check+10 XP

\(A = \{2, 4, 6, 8\}\) and \(B = \{4, 8, 12\}\). Which is \(A \cap B\)?

Quick check+10 XP

Which notation means 'in A or in B or in both'?

Quick check+10 XP

(Extended) \(A = \{1, 3\}\) and \(B = \{1, 2, 3, 4\}\). Which statement is true?

Section 03

Three sets and subsets.

Extended. Venn diagrams can have three overlapping circles, with eight regions in all. Work from the centre (in all three) outwards, one region at a time.

Worked example Three sets (Extended)
\(\xi = \{1, 2, \dots, 12\}\), \(A = \{\text{even numbers}\}\), \(B = \{\text{multiples of 3}\}\), \(C = \{\text{factors of 12}\}\). Find \(A \cap B \cap C\), list \(A \cap C \cap B'\), and find \(n\big((A \cup B \cup C)'\big)\).
  1. \(A = \{2, 4, 6, 8, 10, 12\}\), \(B = \{3, 6, 9, 12\}\), \(C = \{1, 2, 3, 4, 6, 12\}\).
  2. In all three: \(A \cap B \cap C = \{6, 12\}\).
  3. In A and C but not B: 2 and 4 (they are even factors of 12 but not multiples of 3).
  4. In none of the sets: 5, 7 and 11 are odd, not multiples of 3 and not factors of 12, so the count is 3.
Answer: \(A \cap B \cap C = \{6, 12\}\), \(A \cap C \cap B' = \{2, 4\}\), \(n\big((A \cup B \cup C)'\big) = 3\)
Examiner trap

\(\varnothing\) means the empty set; \(\{0\}\) is NOT empty, it has one element (the number 0). And \(n(\varnothing) = 0\).

Stage 2 · Exam

Exam-style questions

Unlocks once the four checks above are done. Worth more XP, written to IGCSE Paper 2 and Paper 4 standard.

Finish the four checks above to unlock the exam questions
Exam style+20 XP

\(n(\xi) = 32\), \(n(A) = 20\), \(n(B) = 14\) and \(n(A \cap B) = 7\). Find \(n\big((A \cup B)'\big)\).

Exam style+20 XP

In a class of 30 students, 17 play football, 12 play tennis and 6 play neither. How many play both?

Exam style+20 XP

\(\xi = \{x : x \text{ is an integer},\ 1 \le x \le 20\}\), \(P = \{\text{multiples of 4}\}\), \(Q = \{\text{factors of 20}\}\). Find \(n(P \cup Q)\).

Exam style+20 XP

(Extended) \(\xi = \{1, 2, \dots, 12\}\), \(A = \{\text{even numbers}\}\), \(B = \{\text{multiples of 3}\}\). Which set is \(A \cap B'\)?

Skill unlocked

Sets, sorted.

This skill is now recorded on your profile. Keep the chain going.

-Rank -Level -Score -Topics
Go deeper · practice
Six original Cambridge-style questions
Listing sets, set-builder notation, filling two-set Venn diagrams, overlaps from counts, subsets, and a three-set survey problem.