Set Theory Guide

Set Notation Reference

SymbolNameMeaningExample
UnionElements in A or B{1,2}∪{2,3}={1,2,3}
IntersectionElements in both A and B{1,2}∩{2,3}={2}
ComplementElements not in A∁ᵤA
DifferenceElements in A but not B{1,2,3}∖{2}={1,3}
SubsetA is subset of B{1,2}⊆{1,2,3}
Proper SubsetA⊆B and A≠B{1,2}⊂{1,2,3}
Empty SetSet with no elements{}=∅
Element ofx is in set A2∈{1,2,3}
Not element ofx is not in set A5∉{1,2,3}
|A|CardinalityNumber of elements|{a,b,c}|=3
×Cartesian ProductAll ordered pairs (a,b)A×B
𝒫(A)Power SetAll subsets of A𝒫({1,2})={{"{∅,{1},{2},{1,2}}"}}

De Morgan's Laws

Law 1
(A ∪ B)ᶜ = Aᶜ ∩ Bᶜ

Complement of union = intersection of complements

Law 2
(A ∩ B)ᶜ = Aᶜ ∪ Bᶜ

Complement of intersection = union of complements

Inclusion-Exclusion Principle

|A ∪ B| = |A| + |B| - |A ∩ B|
|A ∪ B ∪ C| = |A| + |B| + |C| - |A∩B| - |A∩C| - |B∩C| + |A∩B∩C|