A set partition is a collection of nonempty, mutually disjoint subsets, called blocks, that together contain every element of a given set. Each element therefore belongs to exactly one block. Partitions describe grouping without assigning an order to the groups or to their members. They are fundamental objects in set theory and combinatorics, and correspond precisely to equivalence relations. (web.mit.edu)
Definition and examples
A partition of a set is a collection of subsets of satisfying three conditions:
- Nonemptiness: for every .
- Disjointness: whenever and .
- Exhaustiveness: .
Thus, a partition is a set of subsets, not a subset of elements of . The number of blocks need not be finite. (web.mit.edu)
For example, the five partitions of are
Reordering the blocks does not produce another partition. The collection fails because its blocks overlap. These examples follow directly from the definition. (web.mit.edu)
For a nonempty set , the discrete partition consists of all singleton subsets, while the indiscrete partition has the single block . Under the nonempty-block convention, the empty set has exactly one partition: the empty collection of blocks. (math.ucr.edu)
Equivalence relations and quotient sets
Every partition defines an equivalence relation by
This relation is reflexive, symmetric, and transitive. Conversely, the equivalence classes of any equivalence relation on form a partition of . The two constructions are inverse to one another: specifying a partition and specifying an equivalence relation are equivalent descriptions of the same grouping structure. (web.mit.edu)
The collection of equivalence classes is called the quotient set, written . For example, congruence modulo a positive integer partitions the integers into blocks:
Both the underlying set and each block are infinite, although the number of blocks is finite. (web.mit.edu)
A related construction uses a function . Equality of outputs, , is an equivalence relation, so its nonempty fibers , for , partition . This follows from the equivalence-relation correspondence; different labels for the same fibers do not change the partition. (math.ucr.edu)
Counting finite partitions
The number of partitions of an -element set into exactly blocks is the Stirling number of the second kind, denoted
The elements are distinguishable, but the blocks are unlabeled. The boundary conditions include , for , and . (dlmf.nist.gov)
These numbers satisfy the recurrence
To see why, distinguish one element. It either forms a singleton block, leaving blocks among the remaining elements, or joins one of their existing blocks. An explicit formula is
where is a factorial and is a binomial coefficient. In particular, assigning distinct labels to all blocks gives surjective functions onto a fixed -element set. (dlmf.nist.gov)
The total number of partitions is the Bell number
Beginning at , the values are
Thus, a four-element set has 15 partitions, whereas a ten-element set has 115,975. Bell numbers also count equivalence relations on a finite set, by the correspondence described above. (dlmf.nist.gov)
Their exponential generating function is
They satisfy the recurrence
A combinatorial explanation chooses the elements outside the block containing a distinguished new element, then partitions those elements arbitrarily. (dlmf.nist.gov)
Refinement and the partition lattice
A partition refines a partition , written , if every block of is contained in a block of . Equivalently, can be obtained by merging blocks of . Refinement defines a partial order, whose least element is the discrete partition and whose greatest element is the indiscrete partition. (math.ucr.edu)
Under this order, partitions form a lattice:
- The meet , their greatest common refinement, consists of all nonempty intersections , with and .
- The join , their least common coarsening, groups elements connected by chains in which consecutive elements share a block of either partition.
The lattice of partitions of is conventionally denoted . It organizes the relationships between different groupings, rather than merely counting them. (ocw.mit.edu)
Distinction from integer partitions
A set partition must not be confused with an integer partition, which expresses a positive integer as an unordered sum of positive integers. For a finite set partition, the block sizes determine an integer partition, but discard information about which elements belong together. For example,
are different set partitions with the same block sizes . Counting block-size patterns therefore differs from counting partitions of distinguishable elements. (dlmf.nist.gov)
References
- Mathematics for Computer Scienceweb.mit.edu
- Lecture 11: The Poset of Partitionsmath.ucr.edu
- DLMF: §26.8 Set Partitions: Stirling Numbersdlmf.nist.gov
- DLMF: §26.7 Set Partitions: Bell Numbersdlmf.nist.gov
- 212 S19 Algebraic Combinatorics, Lecture 15: Posets and lattices. Boolean lattice. Partition lattice. Young's latticeocw.mit.edu
- Some of My Favorite Posetsmath.mit.edu
- DLMF: Chapter 26 Combinatorial Analysisdlmf.nist.gov