You are here
Homecomplement
Primary tabs
complement
1 Definition
Let $A$ be a subset of $X$. The complement of $A$ in $X$ (denoted $A^{\complement}$ when the larger set $X$ is clear from context) is the set difference $X\setminus A$.
The Venn diagram below illustrates the complement of $A$ in red.
2 Properties

$(A^{{\complement}})^{\complement}=A$

$\emptyset^{\complement}=X$

$X^{\complement}=\emptyset$

If $A$ and $B$ are subsets of $X$, then $A\setminus B=A\cap B^{\complement}$, where the complement is taken in $X$.
3 de Morgan’s laws
Let $X$ be a set with subsets $A_{i}\subset X$ for $i\in I$, where $I$ is an arbitrary indexset. In other words, $I$ can be finite, countable, or uncountable. Then
$\displaystyle\left(\bigcup_{{i\in I}}A_{i}\right)^{\complement}$  $\displaystyle=$  $\displaystyle\bigcap_{{i\in I}}A_{i}^{\complement},$  
$\displaystyle\left(\bigcap_{{i\in I}}A_{i}\right)^{\complement}$  $\displaystyle=$  $\displaystyle\bigcup_{{i\in I}}A_{i}^{\complement}.$ 
Related:
DeMorgansLaws
Type of Math Object:
Definition
Major Section:
Reference
Groups audience:
Mathematics Subject Classification
03E99 no label found Forums
 Planetary Bugs
 HS/Secondary
 University/Tertiary
 Graduate/Advanced
 Industry/Practice
 Research Topics
 LaTeX help
 Math Comptetitions
 Math History
 Math Humor
 PlanetMath Comments
 PlanetMath System Updates and News
 PlanetMath help
 PlanetMath.ORG
 Strategic Communications Development
 The Math Pub
 Testing messages (ignore)
 Other useful stuff
Recent Activity
Oct 7
new question: Lorenz system by David Bankom
Oct 19
new correction: examples and OEIS sequences by fizzie
Oct 13
new correction: Define Galois correspondence by porton
Oct 7
new correction: Closure properties on languages: DCFL not closed under reversal by babou
new correction: DCFLs are not closed under reversal by petey
Oct 2
new correction: Many corrections by Smarandache
Sep 28
new question: how to contest an entry? by zorba
new question: simple question by parag
Sep 26
new question: Latent variable by adam_reith
new question: Lorenz system by David Bankom
Oct 19
new correction: examples and OEIS sequences by fizzie
Oct 13
new correction: Define Galois correspondence by porton
Oct 7
new correction: Closure properties on languages: DCFL not closed under reversal by babou
new correction: DCFLs are not closed under reversal by petey
Oct 2
new correction: Many corrections by Smarandache
Sep 28
new question: how to contest an entry? by zorba
new question: simple question by parag
Sep 26
new question: Latent variable by adam_reith