In mathematics, a partition of a set is a grouping of its elements into non-empty subsets, in such a way that every element is included in exactly one subset.
Every equivalence relation on a set defines a partition of this set, and every partition defines an equivalence relation. A set equipped with an equivalence relation or a partition is sometimes called a setoid, typically in type theory and proof theory.
A partition of a set X is a set of non-empty subsets of X such that every element x in X is in exactly one of these subsets[1] (i.e., the subsets are nonempty mutually disjoint sets).
Equivalently, a family of sets P is a partition of X if and only if all of the following conditions hold:[2]
\emptyset\notinP
stylecupA\inA=X
(\forallA,B\inP) A ≠ B\impliesA\capB=\emptyset
The sets in
P
a\inX
a
[a]
[a]
P
a
Every partition
P
X
\simP
a,b\inX
a\simPb
a\in[b]
b\in[a]
\simP
\sim
P=X/\sim
The rank of
P
|X|-|P|
X
\emptyset
\emptyset
For any equivalence relation on a set X, the set of its equivalence classes is a partition of X. Conversely, from any partition P of X, we can define an equivalence relation on X by setting precisely when x and y are in the same part in P. Thus the notions of equivalence relation and partition are essentially equivalent.
The axiom of choice guarantees for any partition of a set X the existence of a subset of X containing exactly one element from each part of the partition. This implies that given an equivalence relation on a set one can select a canonical representative element from every equivalence class.
A partition α of a set X is a refinement of a partition ρ of X—and we say that α is finer than ρ and that ρ is coarser than α—if every element of α is a subset of some element of ρ. Informally, this means that α is a further fragmentation of ρ. In that case, it is written that α ≤ ρ.
This "finer-than" relation on the set of partitions of X is a partial order (so the notation "≤" is appropriate). Each set of elements has a least upper bound (their "join") and a greatest lower bound (their "meet"), so that it forms a lattice, and more specifically (for partitions of a finite set) it is a geometric and supersolvable lattice.[3] The partition lattice of a 4-element set has 15 elements and is depicted in the Hasse diagram on the left.
The meet and join of partitions α and ρ are defined as follows. The meet
\alpha\wedge\rho
\alpha\wedge\rho
\alpha\vee\rho
\alpha\vee\rho
Based on the equivalence between geometric lattices and matroids, this lattice of partitions of a finite set corresponds to a matroid in which the base set of the matroid consists of the atoms of the lattice, namely, the partitions with
n-2
Another example illustrates refinement of partitions from the perspective of equivalence relations. If D is the set of cards in a standard 52-card deck, the same-color-as relation on D – which can be denoted ~C – has two equivalence classes: the sets and . The 2-part partition corresponding to ~C has a refinement that yields the same-suit-as relation ~S, which has the four equivalence classes,,, and .
A partition of the set N = with corresponding equivalence relation ~ is noncrossing if it has the following property: If four elements a, b, c and d of N having a < b < c < d satisfy a ~ c and b ~ d, then a ~ b ~ c ~ d. The name comes from the following equivalent definition: Imagine the elements 1, 2, ..., n of N drawn as the n vertices of a regular n-gon (in counterclockwise order). A partition can then be visualized by drawing each block as a polygon (whose vertices are the elements of the block). The partition is then noncrossing if and only if these polygons do not intersect.
The lattice of noncrossing partitions of a finite set forms a subset of the lattice of all partitions, but not a sublattice, since the join operations of the two lattices do not agree.
The noncrossing partition lattice has taken on importance because of its role in free probability theory.
The total number of partitions of an n-element set is the Bell number Bn. The first several Bell numbers are B0 = 1,B1 = 1, B2 = 2, B3 = 5, B4 = 15, B5 = 52, and B6 = 203 . Bell numbers satisfy the recursion
Bn+1
n | |
=\sum | |
k=0 |
{n\choosek}Bk
and have the exponential generating function
| ||||
\sum | ||||
n=0 |
zn=e
ez-1 | |
.
The Bell numbers may also be computed using the Bell trianglein which the first value in each row is copied from the end of the previous row, and subsequent values are computed by adding two numbers, the number to the left and the number to the above left of the position. The Bell numbers are repeated along both sides of this triangle. The numbers within the triangle count partitions in which a given element is the largest singleton.
The number of partitions of an n-element set into exactly k (non-empty) parts is the Stirling number of the second kind S(n, k).
Cn={1\overn+1}{2n\choosen}.