Listing and describing sets, the universal set and the empty set, subsets, and reading union, intersection and complement from a Venn diagram, for two sets and three.
A set is a collection of things, called its elements or members, written inside curly brackets. A={2,4,6,8} is a set with four elements. 6∈A means “6 is an element of A”, and 5∈/A means “5 is not”.
The order doesn’t matter, and an element is written only once: {2,4,6,8} and {8,6,4,2} are the same set.
Describing a set
There are two ways to write a set down.
List the elements: B={11,13,17,19}.
Describe them with a rule (set-builder notation): B={x:x is a prime number,10<x<20}. Read the colon as “such that”.
n(A) means the number of elements in A. For B above, n(B)=4.
When the rule is an inequality and ”x is an integer”, list the whole numbers the inequality allows. Watch whether each end is < (left out) or ≤ (kept in).
The universal set, U (WAEC often writes μ or ξ), holds every element being talked about in the question. It’s drawn as the rectangle round a Venn diagram.
The empty set, ∅ or {}, has no elements. {x:x is a whole number,2<x<3} is empty, because there is no whole number between 2 and 3.
B is a subset of A, written B⊆A, when every element of B is also in A. Two sets with no elements in common are disjoint.
B ⊆ AB sits inside A: every element of B is in ADisjoint setsNo overlap: A ∩ B = ∅
A set with n elements has 2n subsets, counting ∅ and the set itself. {a,b,c} has 23=8: ∅, {a}, {b}, {c}, {a,b}, {a,c}, {b,c}, {a,b,c}.
Union, intersection and complement
These are the three operations that come up in almost every sets question. The shaded region shows each one.
A ∪ BUnion: in A or B or bothA ∩ BIntersection: in both A and BA'Complement: in U but not in AA ∩ B'In A but not in B (A only)
A∪B, the union: every element in A or B or both. Each element is written only once.
A∩B, the intersection: only the elements in both.
A′, the complement of A: every element of U that is not in A. So the complement depends on U.
A−B (sometimes written A∖B): the elements of A that are not in B. It is the same as A∩B′, the last diagram above.
Try it
Sets on a Venn diagramPick an expression
A ∩ B = {6, 12}the intersection: in both A and B
U = {1, 2, …, 12}, A = even numbers, B = multiples of 3. A ∩ B is the intersection: in both A and B. Read its elements from the shaded regions: {6, 12}.
Each element is written in its region, so to list a set, shade its regions and read the numbers in them. Switch on Your turn to shade the regions yourself before you check.
Given that U={1,2,3,4,5,6,7,8}, X={1,3,5,7} and Y={1,5,8}, find: (i) X′∩Y; (ii) (X′∪Y)′.
The complement first
X′={2,4,6,8}.
Think first.Which elements of U are not in X?
(i) X′ ∩ Y
Only 8 is in both: X′∩Y={8}.
Think first.Which elements are in both X′ and Y = {1, 5, 8}?
(ii) (X′ ∪ Y)′
X′∪Y={1,2,4,5,6,8}. The elements of U not in it: (X′∪Y)′={3,7}.
Think first.Put X′ and Y together, then take the complement.
Two useful rules, called De Morgan’s laws, come from the diagrams:
(A∪B)′=A′∩B′(A∩B)′=A′∪B′
“Not in either” is the same as “not in A and not in B”. WAEC sometimes asks you to show one of them for given sets: work out each side separately and show they are the same set.
Three sets
With three sets, the circles make eight regions. Name each region by which circles it is inside and which it is outside.
A ∩ B ∩ CIn all three(A ∪ B) ∩ C'In A or B, but not in CCAll four regions inside C