Skip to content

Complement

Definition

Let A⊆U,A\subseteq U\text{,} where UU is a fixed universal set. The complement of AA relative to UU is

A∁=U∖A={x∈U ⁣:x∉A}.A^{\complement}=U\setminus A=\{x\in U\colon x\notin A\}.

The complement is the difference set U∖AU\setminus A once the universal set UU has been fixed.


Interpretation

The complement contains everything in the chosen universe that does not belong to the set. It therefore depends on which universal set is being used: for A={1,2}A=\{1,2\}, the complement is {3,4}\{3,4\} when U={1,2,3,4}U=\{1,2,3,4\}, but {3}\{3\} when U={1,2,3}U=\{1,2,3\}.

A rectangle for the universal set U with a disc for the set A; the shaded region outside the disc is the complement of A.

The rectangle is UU and the disc is AA; the shaded region outside the disc is A∁A^{\complement}. The disc and the shaded region do not overlap and together fill the rectangle, which is A∩A∁=∅A\cap A^{\complement}=\varnothing and A∪A∁=UA\cup A^{\complement}=U; taking the complement of the shaded region gives back the disc.

In logical terms, the complement is "not": x∈A∁x\in A^{\complement} means x∈Ux\in U and x∉Ax\notin A. A common slip is to distribute the complement without switching the operation: with U={1,2,3,4}U=\{1,2,3,4\}, A={1,3}A=\{1,3\} and B={1,2}B=\{1,2\}, we get (A∪B)∁={4}(A\cup B)^{\complement}=\{4\}, whereas A∁∪B∁={2,3,4}A^{\complement}\cup B^{\complement}=\{2,3,4\}. De Morgan's laws give the correct rule.

The idea returns in probability as the complement of an event: the event that a given event does not happen.


Key Results

  • (A∁)∁=A.(A^{\complement})^{\complement}=A\text{.}
  • U∁=∅U^{\complement}=\varnothing and ∅∁=U.\varnothing^{\complement}=U\text{.}
  • De Morgan's laws:

    (A∪B)∁=A∁∩B∁,(A∩B)∁=A∁∪B∁.\begin{aligned} (A\cup B)^{\complement}&=A^{\complement}\cap B^{\complement},\\ (A\cap B)^{\complement}&=A^{\complement}\cup B^{\complement}. \end{aligned}

Examples

  • If U={1,2,3,4}U=\{1,2,3,4\} and A={1,3},A=\{1,3\}\text{,} then A∁={2,4}.A^{\complement}=\{2,4\}\text{.}
  • If U=RU=\mathbb{R} and A=[0,∞),A=[0,\infty)\text{,} then A∁=(−∞,0).A^{\complement}=(-\infty,0)\text{.}

Prerequisites

Sources

Aliases: set complement, absolute complement Symbols: element of, infinity, intersection, real numbers, subset, union

Last updated: 20 October 2026 03:02