Complement

Learn about the complement of a set.

If a universal set is U\mathbb{U}, then the complement of the set AA, denoted by A\overline{A}, is the set of elements from U\mathbb{U} that are not elements of AA. We can write it as follows:

A=UA\overline{A} = \mathbb{U} \setminus A

By this definition, the union of a set and its complement always yields the universal set, which is:

AA=UA \cup \overline{A} =\mathbb{U}

Similarly, we can extract the following facts from the definition:

=UU=A=A\begin{align*} \overline{\emptyset} &= \mathbb{U} \\ \overline{\mathbb{U}} &= \emptyset \\ \overline{\overline{A}} &= A\end{align*}

Furthermore, it’s important to note the following: ABAB.A\ne B \Rightarrow \overline{A} \ne \overline{B}.

Complement of A
Complement of A

Get hands-on with 1400+ tech skills courses.