A partition of a set XX is a set P\mathcal{P} of subsets of XX (called blocks or parts) such that:

  1. (Nonempty blocks) For every B∈PB\in\mathcal{P}, one has B≠∅B\neq\varnothing.
  2. (Pairwise disjoint) For all B,C∈PB,C\in\mathcal{P}, if B≠CB\neq C then B∩C=∅B\cap C=\varnothing.
  3. (Covers XX) ⋃B∈PB=X\bigcup_{B\in\mathcal{P}} B = X.
Remarks

Partitions are in bijective correspondence with : an equivalence relation yields a partition by its , and a partition yields an equivalence relation by declaring two elements equivalent exactly when they lie in the same block.

Examples
  • {{1,3},{2},{4}}\bigl\{\{1,3\},\{2\},\{4\}\bigr\} is a partition of {1,2,3,4}\{1,2,3,4\}.
  • The set of residue classes modulo nn forms a partition of Z\mathbb{Z}.