Skip to content

Mathematics · Ch 1 — Sets

Complement of a Set

1.10

Complement of a Set

Complement of a Set

The idea of a complement arises naturally once we fix a universal set. If the universal set UU contains everything we care about in a given discussion, then the complement of a set AA is simply everything in UU that is not in AA.

Consider UU as the set of all prime numbers. Let AA be the subset of UU consisting of those primes that are not divisors of 42. The prime divisors of 42 are 2, 3, and 7. So AA contains every prime except 2, 3, and 7. The set {2,3,7}\{2, 3, 7\} — the three primes that are missing from AA — is called the complement of AA with respect to UU, denoted A′A'.

Formally, for a universal set UU and a subset A⊆UA \subseteq U, the complement of AA is the set of all elements of UU that are not in AA. In set-builder notation:

A′={x:x∈U and x∉A}A' = \{x : x \in U \text{ and } x \notin A\}

An equivalent way to see this is as a set difference: A′=U−AA' = U - A.

Note

If AA is a subset of UU, then its complement A′A' is also a subset of UU. The complement operation always stays inside the universal set.

Example 20. Let U={1,2,3,4,5,6,7,8,9,10}U = \{1, 2, 3, 4, 5, 6, 7, 8, 9, 10\} and A={1,3,5,7,9}A = \{1, 3, 5, 7, 9\}. Then A′={2,4,6,8,10}A' = \{2, 4, 6, 8, 10\}.

Example 21. In a coeducational school, let UU be the set of all Class XI students and AA be the set of all girls in Class XI. Then A′A' is the set of all boys in Class XI.

Double Complementation

If you take the complement of a complement, you get back the original set. From Example 20, A′={2,4,6,8,10}A' = \{2, 4, 6, 8, 10\}, so (A′)′={x:x∈U and x∉A′}={1,3,5,7,9}=A(A')' = \{x : x \in U \text{ and } x \notin A'\} = \{1, 3, 5, 7, 9\} = A.

This is always true: for any subset AA of a universal set UU,

(A′)′=A(A')' = A

This is called the law of double complementation.

De Morgan's Laws

The most powerful results about complements involve how they interact with union and intersection. These are named after the mathematician Augustus De Morgan.

De Morgan's Laws

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

(A∩B)′=A′∪B′(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.

Example 22. Let U={1,2,3,4,5,6}U = \{1, 2, 3, 4, 5, 6\}, A={2,3}A = \{2, 3\}, and B={3,4,5}B = \{3, 4, 5\}.

First, find the individual complements:

A′={1,4,5,6},B′={1,2,6}A' = \{1, 4, 5, 6\}, \quad B' = \{1, 2, 6\}

Then A′∩B′={1,6}A' \cap B' = \{1, 6\}.

Now find A∪B={2,3,4,5}A \cup B = \{2, 3, 4, 5\}, so (A∪B)′={1,6}(A \cup B)' = \{1, 6\}.

Since (A∪B)′={1,6}=A′∩B′(A \cup B)' = \{1, 6\} = A' \cap B', the first De Morgan law is verified for this example.

›Proof

Proof of De Morgan's First Law: (A∪B)′=A′∩B′(A \cup B)' = A' \cap B'

We prove set equality by showing each side is a subset of the other.

Part 1: (A∪B)′⊆A′∩B′(A \cup B)' \subseteq A' \cap B'

Let x∈(A∪B)′x \in (A \cup B)'. Then x∈Ux \in U and x∉(A∪B)x \notin (A \cup B).

If x∉(A∪B)x \notin (A \cup B), then xx is not in AA and xx is not in BB (because if xx were in either AA or BB, it would be in the union).

So x∉Ax \notin A and x∉Bx \notin B, which means x∈A′x \in A' and x∈B′x \in B'.

Therefore x∈A′∩B′x \in A' \cap B'.

Part 2: A′∩B′⊆(A∪B)′A' \cap B' \subseteq (A \cup B)'

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.

Since xx is in neither AA nor BB, x∉(A∪B)x \notin (A \cup B).

And x∈Ux \in U (because complements are defined within UU), so x∈(A∪B)′x \in (A \cup B)'.

Since both subset relations hold, the sets are equal.

›Proof

Proof of De Morgan's Second Law: (A∩B)′=A′∪B′(A \cap B)' = A' \cup B'

Part 1: (A∩B)′⊆A′∪B′(A \cap B)' \subseteq A' \cup B'

Let x∈(A∩B)′x \in (A \cap B)'. Then x∈Ux \in U and x∉(A∩B)x \notin (A \cap B).

If xx is not in the intersection, then xx is missing from at least one of AA or BB. That is, x∉Ax \notin A or x∉Bx \notin B (or both).

So x∈A′x \in A' or x∈B′x \in B', which means x∈A′∪B′x \in A' \cup B'.

Part 2: A′∪B′⊆(A∩B)′A' \cup B' \subseteq (A \cap B)'

Let x∈A′∪B′x \in A' \cup B'. Then x∈A′x \in A' or x∈B′x \in B' (or both).

So x∉Ax \notin A or x∉Bx \notin B.

If xx is missing from at least one of AA or BB, then xx cannot be in both, so x∉(A∩B)x \notin (A \cap B).

Since x∈Ux \in U, we have x∈(A∩B)′x \in (A \cap B)'.

Properties of Complement Sets

The textbook lists four groups of properties. Each can be verified using Venn diagrams or element arguments.

1. Complement Laws

A∪A′=UA \cup A' = U

A∩A′=∅A \cap A' = \varnothing

Every element of UU is either in AA or not in AA, so the union of AA and its complement covers the entire universal set. No element can be both in AA and not in AA, so the intersection is empty.

2. De Morgan's Laws

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

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

These have been proved above.

3. Law of Double Complementation

(A′)′=A(A')' = A …

Definition 7Complement of a Set

The complement of a set AA (written as A′A' or AcA^c) is the collection of all objects in the universal set UU that are not in AA. Formally, A′={x∈U∣x∉A}A' = \{ x \in U \mid x \notin A \}.

Intuition: It’s everything outside the boundary of AA inside the universe UU. …

Figure 1.10Venn diagram showing the complement A prime as the shaded region of the universal set U that lies outside the circle A.
Fig. 1.10 — Venn diagram showing the complement A prime as the shaded region of the universal set U that lies outside the circle A.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your NCERT textbook's own diagram.

Fig. 1.10 is a Venn diagram that shows the complement of a set. The universal set UU is drawn as a rectangle, and inside it is a single circle labelled AA. The circle AA itself is left unshaded. The entire region of the rectangle that lies outside the circle — that is, everything in UU that is not in AA — is shaded. That shaded region is labelled A′A' (read as "A complement" or "A prime").

The physical idea is simple: the complement is everything in the universe that the original set leaves out. If UU contains all the objects we care about, and AA picks out some of them, then A′A' picks out the rest. The diagram makes this "either inside or outside" relationship visually immediate — there is no overlap, no middle ground. An element of UU belongs either to AA or to A′A', never to both.

The key definition the textbook builds from this figure is:

A′={x:x∈U and x∉A}A' = \{ x : x \in U \text{ and } x \notin A \}

Here UU is the universal set, AA is any subset of UU, and A′A' is the set of all elements of UU that are not in AA. An equivalent way to write it is A′=U−AA' = U - A, the set difference of UU and AA.

From this definition, several important properties follow directly, and the textbook lists them after the figure:

  • A∪A′=UA \cup A' = U (every element is either in AA or in its complement)
  • A∩A′=∅A \cap A' = \varnothing (no element can be in both)
  • (A′)′=A(A')' = A (the complement of the complement brings you back to the original set — the law of double complementation)
  • ∅′=U\varnothing' = U and U′=∅U' = \varnothing

The figure also sets the stage for De Morgan's laws, which the textbook proves using Venn diagrams shortly after. Those laws state:

(A∪B)′=A′∩B′and(A∩B)′=A′∪B′(A \cup B)' = A' \cap B' \qquad \text{and} \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. …