The Universal Set and Complements
The universal set , the set of all the elements under consideration; the complement of a set, listed from ; counting with and the complements of , of and of .
Before you start
In lesson 1.2, meant that every element of is also an element of , 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 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,
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 , is the set of all the elements under consideration in a problem.
Every set in the problem is a subset of : .
In a diagram, is drawn as a rectangle, with in its corner, and the other sets inside it.
The universal set depends on the problem. For a problem about single-digit numbers, . For a problem about the 30 pupils of a class, = {pupils in the class} and .
A set described in words takes only the elements of that fit. If = {even numbers}, then with , ; with , has elements.
Example 1: Sets Inside a Universal Set
= {whole numbers from 1 to 15}, = {multiples of 4}, = {prime numbers} and = {multiples of 20}. List the elements of , and , and give , , and .
Solution
so . Every set takes its elements from these numbers only.
: the multiples of up to are , and ( is not in ).
: the primes up to are , , , , and .
: the smallest multiple of is , which is not in , so has no elements.
, ; , , ,
The Complement of a Set,
Let and . The elements of that are not in are , , , and . They form a set too: the complement of .
The complement of a set
The complement of , written , is the set of all the elements of that are not elements of .
Every element of is in exactly one of and : it is in , or it is in , never both.
is read "the complement of " (or " prime"). It is always listed from .
So . In the diagram, is the circle and is the shaded part of the rectangle outside it.
Example 2: Finding Complements
Find the complement of each set. (a) (b) = {odd numbers} (c) = {composite numbers} (d) = {perfect squares}
Solution
(a) Go through and keep each number that is not in : , , , , .
(b) First list from : . The rest of is , , , , the even numbers of .
(c) The composite numbers in are , and , so . The rest of is , , , , : the primes, and also , which is neither prime nor composite.
(d) and are the perfect squares in ( is not in ), so .
(a) (b) (c) (d)
The complement depends on
For : if , then ; if then . Always read before you list a complement.
Counting the Elements of
Every element of is in exactly one of and , so counting the elements of and then those of counts every element of once. In the diagram above, , and .
The number of elements in the complement
so
Example 3: Using the Count
(a) and . Find . (b) There are pupils in a class, and = {pupils in the class}. = {pupils who wear glasses} and . Describe in words and find .
Solution
(a)
(b) holds the pupils of the class who are not in : the pupils who do not wear glasses.
(a) (b) = {pupils in the class who do not wear glasses};
Example 4: Counting Without Listing the Complement
and = {multiples of 6}. Find .
Solution
Listing would mean writing out over numbers. List the smaller set instead: ( is not in ), so .
The Complements of , and
Three complements to know
: no element of is outside .
: no element is in , so every element of is in its complement.
: the elements of that are not in are exactly the elements of .
Example 5: Complements of Complements
and . Find (a) (b) (c) (d) (e)
Solution
(a) The letters of not in : , , .
(b) The letters of not in : and . This is again.
(c) Every letter is in , so none is left over.
(d) None of the letters is in , so all five are in its complement.
(e) which agrees with the list in (a).
(a) (b) (c) (d) (e)
Common Mistakes
- Listing a complement from all numbers instead of from . With and = {odd numbers}, : it does not go on to
- Leaving out an element of that fits neither description. With , the complement of the composite numbers is : is not prime, but it is not composite either.
- Subtracting the wrong way round: never , which would be negative.
- Thinking that or . In fact and .
- Using for the universal set. The symbol is .
Practice
Try each question before you open its solution. Questions 8 and 9 are word problems.
Question 1
and . List the elements of and find .
ShowHide solution
The numbers of not in : , , , , , .
Check:
Question 2
= {letters of the English alphabet} and List the elements of 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: , and the list has letters.
= {a, b, d, e, g, h, i, k, l, n, o, q, r, s, t, v, w, x};
Question 3
and = {factors of 30}. List the elements of and of , and state .
ShowHide solution
so and .
holds the other numbers from to .
Check: , and the list has numbers.
= {4, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29};
Question 4
Given that , and , find and .
ShowHide solution
,
Question 5
= {whole numbers from 1 to 20} and = {prime numbers}. (a) List the elements of and of . (b) Check that
ShowHide solution
(a) The primes up to : , , , , , , , . The other twelve numbers, included, make up .
(b)
(a) = {1, 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20} (b)
Question 6
and . Find (a) (b) (c) (d)
ShowHide solution
(a) The elements of not in : , , .
(b) The elements of not in : and , which is .
(c) Nothing in is outside . (d) Everything in is outside .
(a) (b) (c) (d)
Question 7
= {letters of the word TRIANGLE} and = {vowels}. The diagram shows and , with the part of the rectangle outside marked "?". (a) List the elements of and of . (b) Write down the letters that belong in the part marked "?", and name the set they form. (c) Find .
ShowHide solution
(a) TRIANGLE has eight different letters: = {T, R, I, A, N, G, L, E}. Its vowels are I, A and E: = {I, A, E}.
(b) The part of the rectangle outside circle holds the letters of that are not vowels: T, R, N, G, L. They form , the complement of .
(c)
(a) = {T, R, I, A, N, G, L, E}, = {I, A, E} (b) T, R, N, G, L; they form (c)
Question 8
There are pupils in Class 4B, and = {pupils in Class 4B}. = {pupils who take the school bus}, and pupils take the school bus. (a) Describe in words. (b) Find .
ShowHide solution
(a) holds the pupils of Class 4B who are not in .
(b)
(a) = {pupils in Class 4B who do not take the school bus} (b)
Question 9
A shop has phone covers, and = {phone covers in the shop}. = {blue covers}. Exactly of the covers are not blue. Find .
ShowHide solution
The covers that are not blue form , so .
gives
Question 10
. Find when (a) (b) = {prime numbers less than 10} (c)
ShowHide solution
(a) The numbers from to that are not in : , , , , , .
(b) The primes less than are , , and , so , and nothing is left over.
(c) The numbers from to that are not in : , , .
(a) (b) (c)
Question 11
= {factors of 12} and = {multiples of 3}. (a) List the elements of and of . (b) Is ? Give a reason. (c) Which numbers are in both and ?
ShowHide solution
(a) so , so
(b) , but ( is a multiple of ). So .
(c) Going through : , , , and are also in ; is not.
(a) (b) No: but (c) , , , ,
Question 12
and = {perfect squares}. Find without listing .
ShowHide solution
The perfect squares up to are , , …, ( is not in ), so .
Key Points
- The universal set is the set of all the elements under consideration; every set in the problem is a subset of . It is drawn as a rectangle.
- The complement is the set of all the elements of that are not in . List it from .
- Every element of is in exactly one of and , so
- , and .
- The complement depends on : always read first.