CSCA Mathematics · Sets & Inequalities · Section 3 of 13

Complement

The complement of a set A (补集; Chinese textbooks write ∁UA, read "the complement of A in U"; other books write A', Aᶜ or Ā, and this course uses A' for short) is everything in the universal set U that is not in A.

Imagine U is your entire music library and A is your "Favourites" playlist. Then A' is every song you have that is not marked as a favourite.

Formal definition: A' = {x ∈ U | x ∉ A}.

Key Properties

  • A ∪ A' = U — together a set and its complement cover everything.
  • A ∩ A' = ∅ — a set and its complement share nothing.
  • (A')' = A — the complement of the complement brings you back.
  • |A'| = |U| - |A|.

De Morgan's Laws — two crucial rules that let you move complements inside or outside operations:

  • (A ∪ B)' = A' ∩ B' — "not (A or B)" = "not A and not B".
  • (A ∩ B)' = A' ∪ B' — "not (A and B)" = "not A or not B".

These laws are often hidden inside word problems. For instance: "Students who play neither football nor basketball" = (F ∪ B)' = F' ∩ B'.

With Intervals
If U = ℝ and A = [2, 5), then A' = (-∞, 2) ∪ [5, ∞). Notice how the closed bracket at 2 becomes open in the complement (because 2 is in A, so it must not be in A'), and the open bracket at 5 becomes closed.

Mastering complements lets you solve problems "backwards" — sometimes it is easier to count what you do not want and subtract from U.

Key takeaway: A' contains everything in U that is NOT in A. De Morgan's Laws: (A ∪ B)' = A' ∩ B' and (A ∩ B)' = A' ∪ B'. Use |A'| = |U| - |A| for counting.

Key Formulas

A' = ∁UA = {x ∈ U | x ∉ A}  |  |A'| = |U| - |A|
De Morgan: (A ∪ B)' = A' ∩ B'  |  (A ∩ B)' = A' ∪ B'

Worked Example 1

Example 1: U = {1,2,3,4,5,6,7,8,9,10}, A = {2,4,6,8,10}. Find A'.

A' = ∁UA = {1, 3, 5, 7, 9} — every element of U that is not in A.

Worked Example 2

Example 2: U = ℝ, A = (-∞, 3] ∪ (7, ∞). Find A'.

A' = (3, 7]. The parts not covered by A are the numbers strictly between 3 and 7, including 7 itself.

Worked Example 3

Example 3: Using De Morgan's Law, simplify (A ∪ B)' when A = {1,2,3} and B = {3,4,5} with U = {1,2,3,4,5,6}.

Step 1: A ∪ B = {1,2,3,4,5}.

Step 2: (A ∪ B)' = {6}.

Verify via De Morgan: A' = {4,5,6}, B' = {1,2,6}. A' ∩ B' = {6}. ✓

Exam Tips

When inverting intervals, flip every bracket type at finite endpoints: [ becomes ( and vice versa.

If a problem asks "how many students study neither X nor Y", think complement: |U| - |X ∪ Y|.

Common Mistakes

Forgetting to flip brackets: The complement of [2, 5) is (-∞, 2) ∪ [5, ∞), NOT (-∞, 2] ∪ (5, ∞).

Applying De Morgan's incorrectly: The complement swaps ∪ to ∩ and vice versa — do not keep the same operation.

Try This Yourself

U = {1,2,…,10}, A = {1,3,5,7}, B = {2,3,5,7}. Find (A ∩ B)'.

Show the answer

A ∩ B = {3,5,7}. (A ∩ B)' = {1,2,4,6,8,9,10}.

Practise It