Math Lab
Home/Class XI/Ch 1/Complement and De Morgan's laws

Complement and De Morgan's laws

Once we fix a universal set UU, every subset A⊆UA \subseteq U has a natural partner , the set of all elements of UU that are not in AA. 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 UU. For A⊆UA \subseteq U, the complement of AA in UU is A′=U−A={x∈U:x∉A}.A' = U - A = \{x \in U : x \notin A\}. Other common notations: AcA^c, A‾\overline{A}, ∁UA\complement_U A. In a Venn diagram, A′A' is everything inside the rectangle but outside the circle for AA.

Properties of complement

Let A,B⊆UA, B \subseteq U.

  1. Double complement: (A′)′=A(A')' = A.
  2. Universal: ∅′=U\varnothing' = U, U′=∅U' = \varnothing.
  3. Self-disjointness: A∩A′=∅A \cap A' = \varnothing.
  4. Cover: A∪A′=UA \cup A' = U.
  5. Reversal of inclusion: if A⊆BA \subseteq B then B′⊆A′B' \subseteq A'.
  6. Difference via complement: A−B=A∩B′A - B = A \cap B'.

All can be checked element by element. For (5): if A⊆BA \subseteq B and x∈B′x \in B', then x∉Bx \notin B, hence x∉Ax \notin A (since A⊆BA \subseteq B), so x∈A′x \in A'.

De Morgan's laws

The two De Morgan laws for sets are: (A∪B)′=A′∩B′,(A∩B)′=A′∪B′.\boxed{(A \cup B)' = A' \cap B', \qquad (A \cap B)' = A' \cup 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′(A \cup B)' = A' \cap B'

(⊆\subseteq) Let x∈(A∪B)′x \in (A \cup B)'. Then x∈Ux \in U and x∉A∪Bx \notin A \cup B. Hence x∉Ax \notin A and x∉Bx \notin B (if either held, then xx would be in A∪BA \cup B). So x∈A′x \in A' and x∈B′x \in B', i.e. x∈A′∩B′x \in A' \cap B'.

(⊇\supseteq) Let x∈A′∩B′x \in A' \cap B'. Then x∈A′x \in A' and x∈B′x \in B', so x∉Ax \notin A and x∉Bx \notin B. Therefore x∉A∪Bx \notin A \cup B, i.e. x∈(A∪B)′x \in (A \cup B)'.

Both inclusions give equality. The second law follows by applying the first to A′A' and B′B' and using (A′)′=A(A')' = A. \qed\qed

De Morgan generalised

For any family A1,A2,…,An⊆UA_1, A_2, \dots, A_n \subseteq U: (⋃i=1nAi)′=⋂i=1nAi′,(⋂i=1nAi)′=⋃i=1nAi′.\left(\bigcup_{i=1}^n A_i\right)' = \bigcap_{i=1}^n A_i', \qquad \left(\bigcap_{i=1}^n A_i\right)' = \bigcup_{i=1}^n A_i'.

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)\neg(p \lor q) \equiv (\neg p) \land (\neg q).
  • Probability: P(A∪B‾)=P(A′∩B′)P(\overline{A \cup B}) = P(A' \cap 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}U = \{1, 2, \dots, 10\}, A={2,4,6,8,10}A = \{2, 4, 6, 8, 10\}, B={1,2,3,4,5}B = \{1, 2, 3, 4, 5\}. Find A′A', B′B', (A∪B)′(A \cup B)' and verify De Morgan.

A′={1,3,5,7,9}A' = \{1, 3, 5, 7, 9\}, B′={6,7,8,9,10}B' = \{6, 7, 8, 9, 10\}. A∪B={1,2,3,4,5,6,8,10}A \cup B = \{1, 2, 3, 4, 5, 6, 8, 10\}, so (A∪B)′={7,9}(A \cup B)' = \{7, 9\}. Also A′∩B′={7,9}A' \cap B' = \{7, 9\}. They agree.

Example 2. Simplify (A∩B)′∩A(A \cap B)' \cap A.

(A∩B)′=A′∪B′(A \cap B)' = A' \cup B' (De Morgan). So (A∩B)′∩A=(A′∪B′)∩A=(A′∩A)∪(B′∩A)=∅∪(A∩B′)=A−B(A \cap B)' \cap A = (A' \cup B') \cap A = (A' \cap A) \cup (B' \cap A) = \varnothing \cup (A \cap B') = A - B.

Example 3. If A={x∈R:x≥0}A = \{x \in \mathbb{R} : x \ge 0\} and U=RU = \mathbb{R}, find A′A'.

A′={x∈R:x<0}=(−∞,0)A' = \{x \in \mathbb{R} : x < 0\} = (-\infty, 0).

Example 4. Prove A∪A′=UA \cup A' = U and A∩A′=∅A \cap A' = \varnothing.

Take any x∈Ux \in U. By the law of the excluded middle, either x∈Ax \in A or x∉Ax \notin A. The first puts xx in A⊆A∪A′A \subseteq A \cup A'; the second puts xx in A′⊆A∪A′A' \subseteq A \cup A'. Hence U⊆A∪A′U \subseteq A \cup A', and the reverse is obvious. For the intersection: no xx can be both in AA and not in AA.

Example 5 (harder). Use De Morgan to simplify (A′∩B′)∪(A′∩B)(A' \cap B') \cup (A' \cap B).

Factor out A′A': (A′∩B′)∪(A′∩B)=A′∩(B′∪B)=A′∩U=A′(A' \cap B') \cup (A' \cap B) = A' \cap (B' \cup B) = A' \cap U = A'.

Try it yourself

  1. Let U={1,2,…,10}U = \{1, 2, \dots, 10\} and A={1,3,5,7,9}A = \{1, 3, 5, 7, 9\}. Find A′A'.
  2. Verify De Morgan's law (A∩B)′=A′∪B′(A \cap B)' = A' \cup B' for A={1,2,3}A = \{1, 2, 3\}, B={2,3,4}B = \{2, 3, 4\}, U={1,2,3,4,5}U = \{1, 2, 3, 4, 5\}.
  3. Simplify (A′)′∪B′(A')' \cup B'.
  4. Show A−B=A∩B′A - B = A \cap B'.
  5. Prove A⊆BA \subseteq B iff B′⊆A′B' \subseteq A'.
  6. Simplify (A∪B)∩A′(A \cup B) \cap A'.
  7. If A∩B=∅A \cap B = \varnothing, prove A⊆B′A \subseteq B'.
  8. With U=RU = \mathbb{R}, find the complement of [2,5)[2, 5).
  9. Show (A∪B∪C)′=A′∩B′∩C′(A \cup B \cup C)' = A' \cap B' \cap C' by induction on the number of sets.
  10. Simplify (A−B)′=?(A - B)' = ? (express using ∪,∩,′\cup, \cap, ').
  11. Show A∩(A′∪B)=A∩BA \cap (A' \cup B) = A \cap B.
  12. Prove A∪B=(A′∩B′)′A \cup B = (A' \cap B')'.

Pitfalls / Tricks

  • The complement depends on UU. The complement of {0}\{0\} in N\mathbb{N} is empty; in Z\mathbb{Z} it is huge.
  • (A∪B)′=A′∪B′(A \cup B)' = A' \cup B' is WRONG. The correct rule swaps the operation: (A∪B)′=A′∩B′(A \cup B)' = A' \cap B'.
  • A−B=A∩B′A - B = A \cap 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.

Test Your Knowledge

Quick MCQ check on this chapter

Start Quiz →

AI Summary

Summarize this page in your favorite LLM