2.4 De Morgan’s laws

Take a look at this Venn diagram:

Figure 2.6: Venn diagram for the complement of the union of A and B

You can see that the shaded area is exactly the area not in A∪B, so this is the Venn diagram for (A∪B)c. Now consider the Venn diagrams for Ac and Bc:

Figure 2.7: Venn diagram for the complement of A
Figure 2.8: Venn diagram for the complement of B

You can see from the diagrams that Ac∩Bc=(A∪B)c. This is a general and useful fact, one of De Morgan’s laws.

Theorem 2.4.1.

(De Morgan’s laws for sets). Let A,B⊆Ω and let Ac and Bc denote the complement with respect to Ω. Then

  1. 1.

    (A∪B)c=Ac∩Bc, and

  2. 2.

    (A∩B)c=Ac∪Bc.

Proof.

These follow from De Morgan’s laws in logic. The left hand side of the first of these is the set of all x∈Ω such that

¬(x∈A∨x∈B)

and the right hand side is the set of all x∈Ω such that

¬(x∈A)∧¬(x∈B).

Since ¬(p∨q) is logically equivalent to (¬p∧¬q) (Theorem 1.6.3), the two sets have the same elements and so are equal. The second equality follows from the other logical De Morgan law. ∎

De Morgan’s laws also work for unions and intersections of more than two sets.

Theorem 2.4.2.

For any sets A1,A2,…

  1. 1.

    (A1∪A2∪⋯)c=A1c∩A2c∩⋯, and

  2. 2.

    (A1∩A2∩⋯)c=A1c∪A2c∪⋯