Skip to content

Mathematics · Ch 1 — Sets

Complement of a Set and Its Properties

1.8

Complement of a Set and Its Properties

Complement of a set. Once a universal set UU has been fixed, the complement

of a set AA (with A⊆UA \subseteq U), written A′A' (or AcA^c, or U−AU - A), is the set of

all elements of UU that do not belong to AA:

A′=U−A={x∈U:x∉A}.A' = U - A = \{x \in U : x \notin A\}.

Worked illustration. Let U={1,2,…,12}U = \{1, 2, \dots, 12\} and A={2,4,6,8,10,12}A = \{2, 4, 6, 8, 10, 12\}

(the even numbers up to 12). Then A′A' consists of everything in UU that is not in

AA, namely the odd numbers: A′={1,3,5,7,9,11}A' = \{1, 3, 5, 7, 9, 11\}.

Properties of the complement. For any set A⊆UA \subseteq U:

  1. Complement laws: A∪A′=UA \cup A' = U and A∩A′=∅A \cap A' = \varnothing. (Every element of UU is either in AA or in A′A', never both — so together they fill up all of UU with no overlap.)
  2. Law of double complementation: (A′)′=A(A')' = A. Taking the complement of the complement returns the original set.
  3. ∅′=U\varnothing' = U and U′=∅U' = \varnothing.
  4. De Morgan's laws:

(A∪B)′=A′∩B′,(A∩B)′=A′∪B′.(A \cup B)' = A' \cap B', \qquad (A \cap B)' = A' \cup B'.

Proof of (A′)′=A(A')' = A. By definition, (A′)′=U−A′={x∈U:x∉A′}(A')' = U - A' = \{x \in U : x \notin A'\}.

But x∉A′x \notin A' means xx is not in "everything outside AA," which (since

x∈Ux \in U) can only mean x∈Ax \in A. Hence (A′)′={x∈U:x∈A}=A(A')' = \{x \in U : x \in A\} = A.

■\blacksquare

Proof of De Morgan's law (A∪B)′=A′∩B′(A \cup B)' = A' \cap B'. Let xx be any element of

UU.

x∈(A∪B)′  ⟺  x∉(A∪B)  ⟺  not(x∈A or x∈B)x \in (A \cup B)' \iff x \notin (A \cup B) \iff \text{not}(x \in A \text{ or } x \in B)

  ⟺  (x∉A) and (x∉B)  ⟺  x∈A′ and x∈B′  ⟺  x∈A′∩B′.\iff (x \notin A) \text{ and } (x \notin B) \iff x \in A' \text{ and } x \in B' \iff x \in A' \cap B'.

Since this chain of "if and only if" holds for every x∈Ux \in U, the two sets

(A∪B)′(A \cup B)' and A′∩B′A' \cap B' have exactly the same elements, so they are equal.

■\blacksquare The second law, (A∩B)′=A′∪B′(A \cap B)' = A' \cup B', is proved the same way, …