Skip to the page
Home Campus
Start free

The Universal Set and Complements

The universal set ξ\xi, the set of all the elements under consideration; the complement A′A' of a set, listed from ξ\xi; counting with n(A′)=n(ξ)−n(A);n(A') = n(\xi) - n(A)\text{;} and the complements of ξ\xi, of ∅\varnothing and of A′A'.

Before you start

In lesson 1.2, A⊆BA \subseteq B meant that every element of AA is also an element of BB, and a subset was drawn inside the other set. In its picture a rectangle stood for all the numbers being talked about, the whole numbers from 1 to 12, and the set D={2,5,7}D = \{2, 5, 7\} of primes lay inside it.

This lesson names that rectangle's set, and the elements of it that are left over when a set is taken out.

The Universal Set, ξ\xi

In any one problem about sets, every element comes from one collection: the numbers from 1 to 12, the letters of the alphabet, the pupils of a class. That collection is itself a set.

The universal set

The universal set, written ξ\xi, is the set of all the elements under consideration in a problem.

Every set in the problem is a subset of ξ\xi: A⊆ξA \subseteq \xi.

In a diagram, ξ\xi is drawn as a rectangle, with ξ\xi in its corner, and the other sets inside it.

The universal set depends on the problem. For a problem about single-digit numbers, ξ={0,1,2,…,9}\xi = \{0, 1, 2, \ldots, 9\}. For a problem about the 30 pupils of a class, ξ\xi = {pupils in the class} and n(ξ)=30n(\xi) = 30.

A set described in words takes only the elements of ξ\xi that fit. If EE = {even numbers}, then with ξ={1,2,…,10}\xi = \{1, 2, \ldots, 10\}, E={2,4,6,8,10}E = \{2, 4, 6, 8, 10\}; with ξ={1,2,…,20}\xi = \{1, 2, \ldots, 20\}, EE has 1010 elements.

Example 1: Sets Inside a Universal Set

ξ\xi = {whole numbers from 1 to 15}, AA = {multiples of 4}, BB = {prime numbers} and CC = {multiples of 20}. List the elements of AA, BB and CC, and give n(ξ)n(\xi), n(A)n(A), n(B)n(B) and n(C)n(C).

Solution

ξ={1,2,3,…,15},\xi = \{1, 2, 3, \ldots, 15\}\text{,} so n(ξ)=15n(\xi) = 15. Every set takes its elements from these numbers only.

AA: the multiples of 44 up to 1515 are 44, 88 and 1212 (1616 is not in ξ\xi).

BB: the primes up to 1515 are 22, 33, 55, 77, 1111 and 1313.

CC: the smallest multiple of 2020 is 2020, which is not in ξ\xi, so CC has no elements.

A={4,8,12}A = \{4, 8, 12\}, B={2,3,5,7,11,13},B = \{2, 3, 5, 7, 11, 13\}\text{,} C=∅C = \varnothing; n(ξ)=15n(\xi) = 15, n(A)=3n(A) = 3, n(B)=6n(B) = 6, n(C)=0n(C) = 0

The Complement of a Set, A′A'

Let ξ={1,2,3,…,9}\xi = \{1, 2, 3, \ldots, 9\} and A={2,5,6,8}A = \{2, 5, 6, 8\}. The elements of ξ\xi that are not in AA are 11, 33, 44, 77 and 99. They form a set too: the complement of AA.

The complement of a set

The complement of AA, written A′A', is the set of all the elements of ξ\xi that are not elements of AA.

Every element of ξ\xi is in exactly one of AA and A′A': it is in AA, or it is in A′A', never both.

A′A' is read "the complement of AA" (or "AA prime"). It is always listed from ξ\xi.

So A′={1,3,4,7,9}A' = \{1, 3, 4, 7, 9\}. In the diagram, AA is the circle and A′A' is the shaded part of the rectangle outside it.

The universal set ξ = {1, 2, …, 9} and the set A = {2, 5, 6, 8}. A Venn diagram: the universal set ξ with the set A. In A: 2, 5, 6, 8. Outside A: 1, 3, 4, 7, 9. Shaded: outside A.ξA256813479

Example 2: Finding Complements

ξ={1,2,3,4,5,6,7,8}.\xi = \{1, 2, 3, 4, 5, 6, 7, 8\}\text{.} Find the complement of each set. (a) A={2,5,6}A = \{2, 5, 6\} (b) BB = {odd numbers} (c) CC = {composite numbers} (d) DD = {perfect squares}

Solution

(a) Go through ξ\xi and keep each number that is not in AA: 11, 33, 44, 77, 88.

(b) First list BB from ξ\xi: B={1,3,5,7}B = \{1, 3, 5, 7\}. The rest of ξ\xi is 22, 44, 66, 88, the even numbers of ξ\xi.

(c) The composite numbers in ξ\xi are 44, 66 and 88, so C={4,6,8}C = \{4, 6, 8\}. The rest of ξ\xi is 11, 22, 33, 55, 77: the primes, and also 11, which is neither prime nor composite.

(d) 1=121 = 1^2 and 4=224 = 2^2 are the perfect squares in ξ\xi (99 is not in ξ\xi), so D={1,4}D = \{1, 4\}.

(a) A′={1,3,4,7,8}A' = \{1, 3, 4, 7, 8\} (b) B′={2,4,6,8}B' = \{2, 4, 6, 8\} (c) C′={1,2,3,5,7}C' = \{1, 2, 3, 5, 7\} (d) D′={2,3,5,6,7,8}D' = \{2, 3, 5, 6, 7, 8\}

The complement depends on ξ\xi

For A={2,4}A = \{2, 4\}: if ξ={1,2,3,4,5}\xi = \{1, 2, 3, 4, 5\}, then A′={1,3,5}A' = \{1, 3, 5\}; if ξ={1,2,3,4,5,6},\xi = \{1, 2, 3, 4, 5, 6\}\text{,} then A′={1,3,5,6}A' = \{1, 3, 5, 6\}. Always read ξ\xi before you list a complement.

Counting the Elements of A′A'

Every element of ξ\xi is in exactly one of AA and A′A', so counting the elements of AA and then those of A′A' counts every element of ξ\xi once. In the diagram above, n(A)=4n(A) = 4, n(A′)=5n(A') = 5 and n(ξ)=9n(\xi) = 9.

The number of elements in the complement

n(A)+n(A′)=n(ξ),n(A) + n(A') = n(\xi)\text{,} so n(A′)=n(ξ)−n(A).n(A') = n(\xi) - n(A)\text{.}

Example 3: Using the Count

(a) n(ξ)=54n(\xi) = 54 and n(A)=17n(A) = 17. Find n(A′)n(A'). (b) There are 4040 pupils in a class, and ξ\xi = {pupils in the class}. GG = {pupils who wear glasses} and n(G)=13n(G) = 13. Describe G′G' in words and find n(G′)n(G').

Solution

(a) n(A′)=n(ξ)−n(A)=54−17=37.n(A') = n(\xi) - n(A) = 54 - 17 = 37\text{.}

(b) G′G' holds the pupils of the class who are not in GG: the pupils who do not wear glasses. n(G′)=40−13=27.n(G') = 40 - 13 = 27\text{.}

(a) n(A′)=37n(A') = 37 (b) G′G' = {pupils in the class who do not wear glasses}; n(G′)=27n(G') = 27

Example 4: Counting Without Listing the Complement

ξ={1,2,3,…,50}\xi = \{1, 2, 3, \ldots, 50\} and MM = {multiples of 6}. Find n(M′)n(M').

Solution

Listing M′M' would mean writing out over 4040 numbers. List the smaller set instead: M={6,12,18,24,30,36,42,48}M = \{6, 12, 18, 24, 30, 36, 42, 48\} (5454 is not in ξ\xi), so n(M)=8n(M) = 8.

n(M′)=n(ξ)−n(M)=50−8=42.n(M') = n(\xi) - n(M) = 50 - 8 = 42\text{.}

n(M′)=42n(M') = 42

The Complements of ξ\xi, ∅\varnothing and A′A'

Three complements to know

ξ′=∅\xi' = \varnothing: no element of ξ\xi is outside ξ\xi.

∅′=ξ\varnothing' = \xi: no element is in ∅\varnothing, so every element of ξ\xi is in its complement.

(A′)′=A(A')' = A: the elements of ξ\xi that are not in A′A' are exactly the elements of AA.

Example 5: Complements of Complements

ξ={a,b,c,d,e}\xi = \{a, b, c, d, e\} and P={a,e}P = \{a, e\}. Find (a) P′P' (b) (P′)′(P')' (c) ξ′\xi' (d) ∅′\varnothing' (e) n(P′)n(P')

Solution

(a) The letters of ξ\xi not in PP: bb, cc, dd.

(b) The letters of ξ\xi not in P′={b,c,d}P' = \{b, c, d\}: aa and ee. This is PP again.

(c) Every letter is in ξ\xi, so none is left over.

(d) None of the letters is in ∅\varnothing, so all five are in its complement.

(e) n(P′)=n(ξ)−n(P)=5−2=3,n(P') = n(\xi) - n(P) = 5 - 2 = 3\text{,} which agrees with the list in (a).

(a) P′={b,c,d}P' = \{b, c, d\} (b) (P′)′={a,e}=P(P')' = \{a, e\} = P (c) ξ′=∅\xi' = \varnothing (d) ∅′={a,b,c,d,e}=ξ\varnothing' = \{a, b, c, d, e\} = \xi (e) 33

Common Mistakes

  • Listing a complement from all numbers instead of from ξ\xi. With ξ={1,2,…,8}\xi = \{1, 2, \ldots, 8\} and BB = {odd numbers}, B′={2,4,6,8}B' = \{2, 4, 6, 8\}: it does not go on to 10,12,…10, 12, \ldots
  • Leaving out an element of ξ\xi that fits neither description. With ξ={1,2,…,8}\xi = \{1, 2, \ldots, 8\}, the complement of the composite numbers is {1,2,3,5,7}\{1, 2, 3, 5, 7\}: 11 is not prime, but it is not composite either.
  • Subtracting the wrong way round: n(A′)=n(ξ)−n(A),n(A') = n(\xi) - n(A)\text{,} never n(A)−n(ξ)n(A) - n(\xi), which would be negative.
  • Thinking that ξ′=ξ\xi' = \xi or ∅′=∅\varnothing' = \varnothing. In fact ξ′=∅\xi' = \varnothing and ∅′=ξ\varnothing' = \xi.
  • Using UU for the universal set. The symbol is ξ\xi.

Practice

Try each question before you open its solution. Questions 8 and 9 are word problems.

Question 1

ξ={1,2,3,…,10}\xi = \{1, 2, 3, \ldots, 10\} and A={1,2,3,4}A = \{1, 2, 3, 4\}. List the elements of A′A' and find n(A′)n(A').

ShowHide solution

The numbers of ξ\xi not in AA: 55, 66, 77, 88, 99, 1010.

Check: n(A′)=n(ξ)−n(A)=10−4=6.n(A') = n(\xi) - n(A) = 10 - 4 = 6\text{.}

A′={5,6,7,8,9,10};A' = \{5, 6, 7, 8, 9, 10\}\text{;} n(A′)=6n(A') = 6

Question 2

ξ\xi = {letters of the English alphabet} ={a,b,c,…,z}= \{a, b, c, \ldots, z\} and S={c,f,j,m,p,u,y,z}.S = \{c, f, j, m, p, u, y, z\}\text{.} List the elements of S′S' and check its number of elements.

ShowHide solution

Go through the alphabet and leave out c, f, j, m, p, u, y and z.

Check: n(S′)=26−8=18n(S') = 26 - 8 = 18, and the list has 1818 letters.

S′S' = {a, b, d, e, g, h, i, k, l, n, o, q, r, s, t, v, w, x}; n(S′)=18n(S') = 18

Question 3

ξ={1,2,3,…,30}\xi = \{1, 2, 3, \ldots, 30\} and AA = {factors of 30}. List the elements of AA and of A′A', and state n(A′)n(A').

ShowHide solution

30=1×30=2×15=3×10=5×6,30 = 1 \times 30 = 2 \times 15 = 3 \times 10 = 5 \times 6\text{,} so A={1,2,3,5,6,10,15,30}A = \{1, 2, 3, 5, 6, 10, 15, 30\} and n(A)=8n(A) = 8.

A′A' holds the other numbers from 11 to 3030.

Check: n(A′)=30−8=22n(A') = 30 - 8 = 22, and the list has 2222 numbers.

A′A' = {4, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29}; n(A′)=22n(A') = 22

Question 4

Given that n(ξ)=40n(\xi) = 40, n(A)=17n(A) = 17 and n(B)=25n(B) = 25, find n(A′)n(A') and n(B′)n(B').

ShowHide solution

n(A′)=n(ξ)−n(A)=40−17=23.n(A') = n(\xi) - n(A) = 40 - 17 = 23\text{.}

n(B′)=n(ξ)−n(B)=40−25=15.n(B') = n(\xi) - n(B) = 40 - 25 = 15\text{.}

n(A′)=23n(A') = 23, n(B′)=15n(B') = 15

Question 5

ξ\xi = {whole numbers from 1 to 20} and PP = {prime numbers}. (a) List the elements of PP and of P′P'. (b) Check that n(P)+n(P′)=n(ξ).n(P) + n(P') = n(\xi)\text{.}

ShowHide solution

(a) The primes up to 2020: 22, 33, 55, 77, 1111, 1313, 1717, 1919. The other twelve numbers, 11 included, make up P′P'.

(b) n(P)+n(P′)=8+12=20=n(ξ).n(P) + n(P') = 8 + 12 = 20 = n(\xi)\text{.}

(a) P={2,3,5,7,11,13,17,19},P = \{2, 3, 5, 7, 11, 13, 17, 19\}\text{,} P′P' = {1, 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20} (b) 8+12=208 + 12 = 20

Question 6

ξ={2,4,6,8,10}\xi = \{2, 4, 6, 8, 10\} and A={4,8}A = \{4, 8\}. Find (a) A′A' (b) (A′)′(A')' (c) ξ′\xi' (d) ∅′\varnothing'

ShowHide solution

(a) The elements of ξ\xi not in AA: 22, 66, 1010.

(b) The elements of ξ\xi not in {2,6,10}\{2, 6, 10\}: 44 and 88, which is AA.

(c) Nothing in ξ\xi is outside ξ\xi. (d) Everything in ξ\xi is outside ∅\varnothing.

(a) {2,6,10}\{2, 6, 10\} (b) {4,8}=A\{4, 8\} = A (c) ∅\varnothing (d) {2,4,6,8,10}=ξ\{2, 4, 6, 8, 10\} = \xi

Question 7

ξ\xi = {letters of the word TRIANGLE} and VV = {vowels}. The diagram shows ξ\xi and VV, with the part of the rectangle outside VV marked "?". (a) List the elements of ξ\xi and of VV. (b) Write down the letters that belong in the part marked "?", and name the set they form. (c) Find n(V′)n(V').

The universal set ξ = {letters of the word TRIANGLE} and the set V = {vowels}. A Venn diagram: the universal set ξ with the set V. In V: I, A, E. Outside V: ?, to be found.ξVIAE?
ShowHide solution

(a) TRIANGLE has eight different letters: ξ\xi = {T, R, I, A, N, G, L, E}. Its vowels are I, A and E: VV = {I, A, E}.

(b) The part of the rectangle outside circle VV holds the letters of ξ\xi that are not vowels: T, R, N, G, L. They form V′V', the complement of VV.

(c) n(V′)=n(ξ)−n(V)=8−3=5.n(V') = n(\xi) - n(V) = 8 - 3 = 5\text{.}

(a) ξ\xi = {T, R, I, A, N, G, L, E}, VV = {I, A, E} (b) T, R, N, G, L; they form V′V' (c) n(V′)=5n(V') = 5

Question 8

There are 3636 pupils in Class 4B, and ξ\xi = {pupils in Class 4B}. BB = {pupils who take the school bus}, and 1414 pupils take the school bus. (a) Describe B′B' in words. (b) Find n(B′)n(B').

ShowHide solution

(a) B′B' holds the pupils of Class 4B who are not in BB.

(b) n(B′)=n(ξ)−n(B)=36−14=22.n(B') = n(\xi) - n(B) = 36 - 14 = 22\text{.}

(a) B′B' = {pupils in Class 4B who do not take the school bus} (b) n(B′)=22n(B') = 22

Question 9

A shop has 120120 phone covers, and ξ\xi = {phone covers in the shop}. KK = {blue covers}. Exactly 4848 of the covers are not blue. Find n(K)n(K).

ShowHide solution

The covers that are not blue form K′K', so n(K′)=48n(K') = 48.

n(K)+n(K′)=n(ξ)n(K) + n(K') = n(\xi) gives n(K)=120−48=72.n(K) = 120 - 48 = 72\text{.}

n(K)=72n(K) = 72

Question 10

A={2,3,5,7}A = \{2, 3, 5, 7\}. Find A′A' when (a) ξ={1,2,3,…,10}\xi = \{1, 2, 3, \ldots, 10\} (b) ξ\xi = {prime numbers less than 10} (c) ξ={1,2,3,…,7}\xi = \{1, 2, 3, \ldots, 7\}

ShowHide solution

(a) The numbers from 11 to 1010 that are not in AA: 11, 44, 66, 88, 99, 1010.

(b) The primes less than 1010 are 22, 33, 55 and 77, so ξ=A\xi = A, and nothing is left over.

(c) The numbers from 11 to 77 that are not in AA: 11, 44, 66.

(a) {1,4,6,8,9,10}\{1, 4, 6, 8, 9, 10\} (b) ∅\varnothing (c) {1,4,6}\{1, 4, 6\}

Question 11

ξ={1,2,3,…,12},\xi = \{1, 2, 3, \ldots, 12\}\text{,} AA = {factors of 12} and BB = {multiples of 3}. (a) List the elements of A′A' and of B′B'. (b) Is A′⊆B′A' \subseteq B'? Give a reason. (c) Which numbers are in both A′A' and B′B'?

ShowHide solution

(a) A={1,2,3,4,6,12},A = \{1, 2, 3, 4, 6, 12\}\text{,} so A′={5,7,8,9,10,11}.A' = \{5, 7, 8, 9, 10, 11\}\text{.} B={3,6,9,12}B = \{3, 6, 9, 12\}, so B′={1,2,4,5,7,8,10,11}.B' = \{1, 2, 4, 5, 7, 8, 10, 11\}\text{.}

(b) 9∈A′9 \in A', but 9∉B′9 \mathrel{\char"2209} B' (99 is a multiple of 33). So A′⊈B′A' \nsubseteq B'.

(c) Going through A′A': 55, 77, 88, 1010 and 1111 are also in B′B'; 99 is not.

(a) A′={5,7,8,9,10,11},A' = \{5, 7, 8, 9, 10, 11\}\text{,} B′={1,2,4,5,7,8,10,11}B' = \{1, 2, 4, 5, 7, 8, 10, 11\} (b) No: 9∈A′9 \in A' but 9∉B′9 \mathrel{\char"2209} B' (c) 55, 77, 88, 1010, 1111

Question 12

ξ={1,2,3,…,100}\xi = \{1, 2, 3, \ldots, 100\} and SS = {perfect squares}. Find n(S′)n(S') without listing S′S'.

ShowHide solution

The perfect squares up to 100100 are 121^2, 222^2, …, 10210^2 (112=12111^2 = 121 is not in ξ\xi), so n(S)=10n(S) = 10.

n(S′)=n(ξ)−n(S)=100−10=90.n(S') = n(\xi) - n(S) = 100 - 10 = 90\text{.}

n(S′)=90n(S') = 90

Key Points

  • The universal set ξ\xi is the set of all the elements under consideration; every set in the problem is a subset of ξ\xi. It is drawn as a rectangle.
  • The complement A′A' is the set of all the elements of ξ\xi that are not in AA. List it from ξ\xi.
  • Every element of ξ\xi is in exactly one of AA and A′A', so n(A′)=n(ξ)−n(A).n(A') = n(\xi) - n(A)\text{.}
  • ξ′=∅\xi' = \varnothing, ∅′=ξ\varnothing' = \xi and (A′)′=A(A')' = A.
  • The complement depends on ξ\xi: always read ξ\xi first.

Previous lesson1.2 Subsets Next lesson1.4 Venn Diagrams

All Secondary 4 (Grade 10) lessons

Home Campus has lessons for Primary 3 to Secondary 4, and practice questions with worked solutions and worksheets for Primary 3 to Secondary 2. Register free to practise and keep track of progress.

This lesson follows the Singapore Secondary 4 syllabus and was checked question by question before it was published. Spotted a mistake? Tell us.