20 min read
Complement and Difference
The complement is everything outside a set. The difference is what is in one set but not the other.
The Complement
Example 1 — complement
Let U = {, , , , , } and A = {, , }. Find A′.
- List every element of U that is not in A.
- From U: , , , , , . Remove , , .
- What remains: , ,
Answer: A′ = {, , }
The Difference
Example 1 — difference
Let A = {, , , } and B = {, , }. Find A − B.
- Start with every element of A: , , , .
- Remove anything that is also in B: remove and .
- What remains: ,
Answer: A − B = {, }
Example 2 — difference the other way round
Using the same A and B, find B − A.
- Start with every element of B: , , .
- Remove anything that is also in A: remove and .
- What remains:
Answer: B − A = {} (note this is different from A − B)
Practice
U = {,,,,,,,}, A = {,,,}. What is A′?
More lessons in Sets and Functions · Next: Number of Elements · Previous: Union and Intersection
