- 1. What is a set?
- 2. Two ways to write a set
- 3. Empty, finite and infinite sets
- 4. Equal sets and subsets
- 5. Number sets and intervals
- 6. Universal set and Venn diagrams
- 7. Union: putting sets together
- 8. Intersection: what sets share
- 9. Difference: A minus B
- 10. Complement and De Morgan's laws
- Review
10 of 10·NCERT §1.10·6 min
Complement and De Morgan's laws
The big ideaThe complement of a set is everything in the universal set that is not in it, and complements turn unions into intersections and back.
In simple words
Your whole class is in a room. Ask everyone who wears glasses to stand on one side. Everyone left on the other side is "not wearing glasses". That second group is the complement. You can only find it if you know who is in the room to begin with.
The complement of a set
Let \( U \) be the universal set and \( A \) a subset of \( U \). The complement of \( A \) is the set of all elements of \( U \) that are not in \( A \). It is written \( A' \) (read "\( A \) dash" or "\( A \) complement").
\[ A' = \{\, x : x \in U \text{ and } x \notin A \,\} \]That is exactly the difference of \( U \) and \( A \), so
\[ A' = U - A \]In a Venn diagram, \( A' \) is everything inside the rectangle but outside the circle \( A \).
Worked example 1
Let \( U = \{1, 2, 3, \dots, 12\} \) and \( A = \{3, 6, 9, 12\} \), the multiples of 3 in \( U \).
- Remove 3, 6, 9 and 12 from \( U \).
- \( A' = \{1, 2, 4, 5, 7, 8, 10, 11\} \): the numbers in \( U \) that are not multiples of 3.
Worked example 2: words
Let \( U \) be all the passengers on a train and \( A \) those with a reserved seat. Then \( A' \) is the set of passengers without a reserved seat.
Change \( U \) and the complement changes. If \( U \) were only the passengers in coach S4, \( A' \) would be only the unreserved passengers in S4. A complement always depends on the universal set.
Try it: keep A's rule fixed and change only U. Watch the complement move.
Since \( A' \) is made only from elements of \( U \), the complement of a subset of \( U \) is also a subset of \( U \).
Taking the complement twice
In Worked example 1, take the complement of \( A' = \{1, 2, 4, 5, 7, 8, 10, 11\} \). The elements of \( U \) not in it are \( 3, 6, 9, 12 \), which is \( A \) again. This always happens:
\[ (A')' = A \]This is the law of double complementation. "Not not wearing glasses" just means "wearing glasses".
De Morgan's laws
Worked example 3: spotting the pattern
Let \( U = \{1, 2, 3, 4, 5, 6, 7\} \), \( A = \{1, 2, 3\} \), \( B = \{3, 4, 5\} \).
- \( A \cup B = \{1, 2, 3, 4, 5\} \), so \( (A \cup B)' = \{6, 7\} \).
- \( A' = \{4, 5, 6, 7\} \) and \( B' = \{1, 2, 6, 7\} \), so \( A' \cap B' = \{6, 7\} \).
- Same answer: \( (A \cup B)' = A' \cap B' \).
- Now the other way: \( A \cap B = \{3\} \), so \( (A \cap B)' = \{1, 2, 4, 5, 6, 7\} \).
- \( A' \cup B' = \{1, 2, 4, 5, 6, 7\} \). Again the same: \( (A \cap B)' = A' \cup B' \).
This is true for every pair of subsets \( A, B \) of \( U \). The two results are De Morgan's laws, named after the mathematician Augustus De Morgan:
\[ (A \cup B)' = A' \cap B' \qquad (A \cap B)' = A' \cup B' \]In words: the complement of a union is the intersection of the complements, and the complement of an intersection is the union of the complements. Taking the complement flips \( \cup \) into \( \cap \) and \( \cap \) into \( \cup \).
Now test the law, and the tempting wrong version, with the sets of Worked example 3.
Laws of complements
| Law | Statement |
|---|---|
| Complement laws | \( A \cup A' = U \), \( A \cap A' = \phi \) |
| De Morgan's laws | \( (A \cup B)' = A' \cap B' \), \( (A \cap B)' = A' \cup B' \) |
| Law of double complementation | \( (A')' = A \) |
| Laws of empty set and universal set | \( \phi' = U \), \( U' = \phi \) |
Each one can be checked by shading Venn diagrams. For instance, \( A \) and \( A' \) together fill the whole rectangle (\( A \cup A' = U \)) and never overlap (\( A \cap A' = \phi \)).
Don't mix these up
- \( (A \cup B)' \) is not \( A' \cup B' \). The complement flips the operation.
- \( A' \) depends on \( U \). The same \( A \) has different complements in different universal sets.
- \( A' = U - A \), but \( A - B \) is a different thing: it removes \( B \) from \( A \), not \( A \) from \( U \).
Try it. Let \( U = \{a, b, c, d, e, f\} \), \( A = \{a, b, c\} \), \( B = \{c, d\} \). Find (a) \( A' \) (b) \( (A \cup B)' \) (c) \( A' \cup B' \), and check (c) against \( (A \cap B)' \).
Answer
Try it. Take \( U = \mathbf{N} \). What is the complement of the set of odd natural numbers? Of \( \{\, x : x + 4 = 9 \,\} \)?
Answer
- Complement \( A' \)
- Everything in \( U \) that is not in \( A \); \( A' = U - A \).
- Complement laws
- \( A \cup A' = U \) and \( A \cap A' = \phi \).
- De Morgan's laws
- \( (A \cup B)' = A' \cap B' \) and \( (A \cap B)' = A' \cup B' \).
- Double complementation
- \( (A')' = A \).
- \( \phi' \), \( U' \)
- \( \phi' = U \) and \( U' = \phi \).
Words to know
Which of these always equals \( (A \cap B)' \)?
- \( A' \cap B' \)
- \( A' \cup B' \)
- \( A \cup B \)
\( U \) is the set of students in a class and \( A \) is the set of students who scored below 50 in at least one subject. What is \( A' \)?
- Students who scored 50 or more in at least one subject
- Students who scored 50 or more in every subject
- Students who scored below 50 in every subject
What is \( A \cap A' \) for any set \( A \)?
- \( U \)
- \( A \)
- \( \phi \)
Picture and video credits