Complement and De Morgan's laws
Once we fix a universal set U, every subset A⊆U has a natural partner , the set of all elements of U that are not in A. This is the complement. It looks innocent, but it is the operation that lets us flip "everyone who plays cricket" into "everyone who does not play cricket" , and the two De Morgan laws tell us how complement interacts with union and intersection.
Definitions
Fix a universal set U. For A⊆U, the complement of A in U is
A′=U−A={x∈U:x∈/A}.
Other common notations: Ac, A, ∁UA. In a Venn diagram, A′ is everything inside the rectangle but outside the circle for A.
Properties of complement
Let A,B⊆U.
- Double complement: (A′)′=A.
- Universal: ∅′=U, U′=∅.
- Self-disjointness: A∩A′=∅.
- Cover: A∪A′=U.
- Reversal of inclusion: if A⊆B then B′⊆A′.
- Difference via complement: A−B=A∩B′.
All can be checked element by element. For (5): if A⊆B and x∈B′, then x∈/B, hence x∈/A (since A⊆B), so x∈A′.
De Morgan's laws
The two De Morgan laws for sets are:
(A∪B)′=A′∩B′,(A∩B)′=A′∪B′.
In words: "not (A or B)" = "(not A) and (not B)", and "not (A and B)" = "(not A) or (not B)". The complement swaps union and intersection.
Proof of (A∪B)′=A′∩B′
(⊆) Let x∈(A∪B)′. Then x∈U and x∈/A∪B. Hence x∈/A and x∈/B (if either held, then x would be in A∪B). So x∈A′ and x∈B′, i.e. x∈A′∩B′.
(⊇) Let x∈A′∩B′. Then x∈A′ and x∈B′, so x∈/A and x∈/B. Therefore x∈/A∪B, i.e. x∈(A∪B)′.
Both inclusions give equality. The second law follows by applying the first to A′ and B′ and using (A′)′=A. \qed
De Morgan generalised
For any family A1,A2,…,An⊆U:
(⋃i=1nAi)′=⋂i=1nAi′,(⋂i=1nAi)′=⋃i=1nAi′.
The proof is by induction using the two-set version.
Why De Morgan is fundamental
The laws are not just notation: they are the algebra of "and / or / not". You will see exactly the same shape in:
- Logic: ¬(p∨q)≡(¬p)∧(¬q).
- Probability: P(A∪B)=P(A′∩B′); the chance that neither event happens.
- Circuits: a NAND-gate equals an inverter on each input followed by an OR.
Mastering De Morgan now will save you headaches throughout Class XII, JEE and beyond.
Worked examples
Example 1. Take U={1,2,…,10}, A={2,4,6,8,10}, B={1,2,3,4,5}. Find A′, B′, (A∪B)′ and verify De Morgan.
A′={1,3,5,7,9}, B′={6,7,8,9,10}. A∪B={1,2,3,4,5,6,8,10}, so (A∪B)′={7,9}. Also A′∩B′={7,9}. They agree.
Example 2. Simplify (A∩B)′∩A.
(A∩B)′=A′∪B′ (De Morgan). So (A∩B)′∩A=(A′∪B′)∩A=(A′∩A)∪(B′∩A)=∅∪(A∩B′)=A−B.
Example 3. If A={x∈R:x≥0} and U=R, find A′.
A′={x∈R:x<0}=(−∞,0).
Example 4. Prove A∪A′=U and A∩A′=∅.
Take any x∈U. By the law of the excluded middle, either x∈A or x∈/A. The first puts x in A⊆A∪A′; the second puts x in A′⊆A∪A′. Hence U⊆A∪A′, and the reverse is obvious. For the intersection: no x can be both in A and not in A.
Example 5 (harder). Use De Morgan to simplify (A′∩B′)∪(A′∩B).
Factor out A′: (A′∩B′)∪(A′∩B)=A′∩(B′∪B)=A′∩U=A′.
Try it yourself
- Let U={1,2,…,10} and A={1,3,5,7,9}. Find A′.
- Verify De Morgan's law (A∩B)′=A′∪B′ for A={1,2,3}, B={2,3,4}, U={1,2,3,4,5}.
- Simplify (A′)′∪B′.
- Show A−B=A∩B′.
- Prove A⊆B iff B′⊆A′.
- Simplify (A∪B)∩A′.
- If A∩B=∅, prove A⊆B′.
- With U=R, find the complement of [2,5).
- Show (A∪B∪C)′=A′∩B′∩C′ by induction on the number of sets.
- Simplify (A−B)′=? (express using ∪,∩,′).
- Show A∩(A′∪B)=A∩B.
- Prove A∪B=(A′∩B′)′.
Pitfalls / Tricks
- The complement depends on U. The complement of {0} in N is empty; in Z it is huge.
- (A∪B)′=A′∪B′ is WRONG. The correct rule swaps the operation: (A∪B)′=A′∩B′.
- A−B=A∩B′ is the bridge identity. Use it to convert any difference into intersection-with-complement, then apply algebra.
- Insight. Complement is an involution , applying it twice returns the original. Union and intersection are dual under complement. These two facts together generate every identity you will ever need on sets.