Lesson 1: Set Language and NotationSG G3
Every probability and data problem becomes easier once you can describe collections of objects precisely. That is the job of set language: a compact notation for groups, overlaps and "everything else", used across the G3 syllabus in Venn-diagram problems, probability and logic.
What a set is
A set is a collection of distinct objects called elements (or members). Sets are written with braces: A = {2, 4, 6, 8}. Each element is listed once, and the order does not matter: {2, 4, 6, 8} and {8, 2, 6, 4} are the same set.
The symbols you must read fluently:
- ∈ means "is an element of": 4 ∈ A. ∉ means "is not an element of": 5 ∉ A.
- ξ (the Greek letter xi) is the universal set: every element under discussion in this problem.
- ∅ is the empty set, the set with no elements. It is not the same as {0}: {0} has one element, the number 0.
- A′ is the complement of A: the elements of ξ that are not in A. A complement only makes sense once ξ is fixed.
- n(A) is the number of elements in A.
- A ⊆ B means A is a subset of B: every element of A is also in B. So 3 ∈ A but {3} ⊆ A — an element belongs; a set is contained.
- A ∪ B is the union: elements in A or B or both.
- A ∩ B is the intersection: elements in both A and B. If A ∩ B = ∅, the sets are disjoint.
Worked example 1: listing and combining sets
Let ξ = {1, 2, …, 12}, A = {multiples of 3} and B = {even numbers}. Then A = {3, 6, 9, 12} and B = {2, 4, 6, 8, 10, 12}.
- A ∩ B = {6, 12} — the multiples of 3 that are also even, i.e. the multiples of 6.
- A ∪ B = {2, 3, 4, 6, 8, 9, 10, 12}, so n(A ∪ B) = 8.
- A′ = {1, 2, 4, 5, 7, 8, 10, 11}, and n(A′) = 8 = n(ξ) − n(A).
Check the union with the formula below: n(A) + n(B) − n(A ∩ B) = 4 + 6 − 2 = 8 ✓.
Venn diagrams and the union formula
A Venn diagram draws ξ as a rectangle and each set as a circle inside it. The overlap of the circles is the intersection; the part of a circle outside the other is "in A but not in B", written A ∩ B′.
Because the intersection is counted inside both n(A) and n(B), adding them counts it twice: n(A ∪ B) = n(A) + n(B) − n(A ∩ B). The working rule for every Venn problem: fill the diagram from the middle (the intersection) outwards, then check that all the regions sum to n(ξ).
Worked example 2: one problem, two pictures (bar model and Venn)
In a class of 40 students, 25 study Chinese, 18 study Malay and 8 study both. How many study neither? The Venn answer: n(C ∪ M) = 25 + 18 − 8 = 35, so neither = 40 − 35 = 5. Singapore's bar model tells the same story as one strip of length 40. The "both" group of 8 sits inside both subjects, so Chinese only = 25 − 8 = 17 and Malay only = 18 − 8 = 10:
| Chinese only | Both | Malay only | Neither |
|---|---|---|---|
| 17 | 8 | 10 | 5 |
The bar forces the same discipline as the Venn: account for the overlap once, and make the parts sum to the whole, 17 + 8 + 10 + 5 = 40 ✓. Use whichever picture the question favours — and use one to check the other.
Worked example 3: three sets
In a cohort of 50 students, 28 study Physics, 24 Chemistry and 20 Biology. The overlaps are: Physics and Chemistry 12, Physics and Biology 9, Chemistry and Biology 8, and 5 study all three. How many study none of the three? Fill from the centre outwards. All three: 5. Exactly two: P∩C only = 12 − 5 = 7; P∩B only = 9 − 5 = 4; C∩B only = 8 − 5 = 3. Only one: Physics only = 28 − 7 − 4 − 5 = 12; Chemistry only = 24 − 7 − 3 − 5 = 9; Biology only = 20 − 4 − 3 − 5 = 8. Total in at least one subject = 12 + 9 + 8 + 7 + 4 + 3 + 5 = 48, so 2 students study none of the three. The three-set formula agrees: 28 + 24 + 20 − 12 − 9 − 8 + 5 = 48 (the triple overlap is added back because it was subtracted once too often).
Set-builder notation
Sets are often described instead of listed: {x : x is an integer, 1 ≤ x ≤ 5} = {1, 2, 3, 4, 5}. Read ":" as "such that". The same idea gives intervals: {x : −2 < x ≤ 3} is every number between −2 (excluded) and 3 (included). Being able to move between a description, a list and a Venn region is the core skill of this lesson.
Common mistakes
- Counting "both" twice. n(A) + n(B) counts the intersection twice; that is why the union formula subtracts it once. In Venn work, always fill from the intersection outwards so the overlap is placed before the "only" regions.
- Confusing ∈ and ⊆. 3 ∈ A says the number 3 is a member of A. {3} ⊆ A says the set containing 3 is contained in A. An element belongs; a set is contained — mixing them loses easy marks.
- Treating ∅ as {0} or as ξ. ∅ has no elements at all; {0} has exactly one. And A′ changes if ξ changes: the complement is only defined relative to the universal set stated in the question.
- Listing an element twice. Sets contain distinct elements: {2, 2, 4} is simply {2, 4}, with n = 2.
One more combination from Worked example 1: A ∩ B′ = {3, 9} (in A but not in B — "A only"), while B ∩ A′ = {2, 4, 8, 10}. Translating phrases like "in A but not B" into symbols, and back, is the whole game.
Going deeper: two challenge problems
Challenge A. In a school of 60 students, 35 study Art, 28 study Band and 12 study both. Find (i) how many study at least one of the two, (ii) how many study neither, (iii) how many study Band only. By regions: both = 12; Art only = 35 − 12 = 23; Band only = 28 − 12 = 16. (i) At least one = 23 + 12 + 16 = 51 (or by formula, 35 + 28 − 12 = 51). (ii) Neither = 60 − 51 = 9. (iii) Band only is A′ ∩ B = 16. Check: 23 + 12 + 16 + 9 = 60 ✓. Challenge B. How many subsets does {a, b, c, d, e, f} have? Each of the 6 elements is either in or out of a subset: 2 × 2 × 2 × 2 × 2 × 2 = 2⁶ = 64 subsets. Of these, 63 are proper subsets (everything except the set itself) and one is the empty set. In general a set with n elements has 2ⁿ subsets — which is why subsets grow explosively: a 20-element set has over a million.
Exam Experience
Question 1 [3 marks]. ξ = {1, 2, …, 10}, A = {prime numbers} and B = {odd numbers}. (a) List the elements of A ∩ B′. [1] (b) Find n(A′ ∪ B). [2] Question 2 [5 marks]. In a survey of 120 people, 70 drink coffee, 55 drink tea and 30 drink both. (a) How many drink neither coffee nor tea? [2] (b) How many drink exactly one of coffee and tea? [1] (c) A person is chosen at random. Find the probability that the person drinks exactly one of the two. [2] Question 3 [4 marks]. In a class of 32 students, 18 belong to the robotics club, 15 belong to the coding club and 7 belong to neither club. (a) How many students belong to both clubs? [3] (b) Find the probability that a randomly chosen student belongs to both clubs. [1] Marking scheme. Q1: A = {2, 3, 5, 7} and B = {1, 3, 5, 7, 9}. (a) A ∩ B′ = {2} (A1). (b) A′ ∪ B = {1, 3, 4, 5, 6, 7, 8, 9, 10}, so n = 9 (M1 for forming the union correctly, A1). Q2: (a) n(coffee ∪ tea) = 70 + 55 − 30 = 95 (M1), so neither = 120 − 95 = 25 (A1). (b) (70 − 30) + (55 − 30) = 65 (A1). (c) 65 ÷ 120 = 13/24 (M1, A1). Q3: (a) Let x be the number in both clubs: 18 + 15 − x = 32 − 7 (M1 for the union equation), 33 − x = 25 (M1), x = 8 (A1). (b) 8 ÷ 32 = 1/4 (A1).
🎬 Watch & Learn
Free YouTube video lessons on “Set Language and Notation” — pick a result below:
✅ Check your understanding
Quick recall check, generated from this lesson’s key terms. It is practice only and is not graded.