


Inmathematics, apartition of a set is a grouping of its elements intonon-emptysubsets, in such a way that every element is included in exactly one subset.
Everyequivalence relation on aset 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 asetoid, typically intype theory andproof theory.
A partition of a setX is a set of non-empty subsets ofX such that every elementx inX is in exactly one of these subsets[2] (i.e., the subsets are nonempty mutuallydisjoint sets).
Equivalently, afamily of setsP is a partition ofX if and only if all of the following conditions hold:[3]
The sets in are called theblocks,parts, orcells, of the partition.[4] If then we represent the cell containing by. That is to say, is notation for the cell in which contains.
Every partition may be identified with an equivalence relation on, namely the relation such that for any we have if and only if (equivalently, if and only if). The notation evokes the idea that the equivalence relation may be constructed from the partition. Conversely every equivalence relation may be identified with a partition. This is why it is sometimes said informally that "an equivalence relation is the same as a partition". IfP is the partition identified with a given equivalence relation, then some authors write. This notation is suggestive of the idea that the partition is the setX divided into cells. The notation also evokes the idea that, from the equivalence relation one may construct the partition.
For anyequivalence relation on a setX, the set of itsequivalence classes is a partition ofX. Conversely, from any partitionP ofX, we can define an equivalence relation onX by settingx ~y precisely whenx andy are in the same part inP. Thus the notions of equivalence relation and partition are essentially equivalent.[5]
Theaxiom of choice guarantees for any partition of a setX the existence of a subset ofX containing exactly one element from each part of the partition. This implies that given an equivalence relation on a set one can select acanonical representative element from every equivalence class.

A partitionα of a setX is arefinement of a partitionρ ofX—and we say thatα isfiner thanρ and thatρ iscoarser 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 ofX is apartial order (so the notation "≤" is appropriate). Each set of elements has aleast upper bound (their "join") and agreatest lower bound (their "meet"), so that it forms alattice, and more specifically (for partitions of a finite set) it is ageometric andsupersolvable lattice.[6][7] Thepartition lattice of a 4-element set has 15 elements and is depicted in theHasse diagram on the left.
The meet and join of partitions α and ρ are defined as follows. Themeet is the partition whose blocks are the intersections of a block ofα and a block ofρ, except for the empty set. In other words, a block of is the intersection of a block ofα and a block ofρ that are not disjoint from each other. To define thejoin, form a relation on the blocksA ofα and the blocksB ofρ byA ~B ifA andB are not disjoint. Then is the partition in which each blockC is the union of a family of blocks connected by this relation.
Based on the equivalence between geometric lattices andmatroids, this lattice of partitions of a finite set corresponds to a matroid in which the base set of the matroid consists of theatoms of the lattice, namely, the partitions with singleton sets and one two-element set. These atomic partitions correspond one-for-one with the edges of acomplete graph. Thematroid closure of a set of atomic partitions is the finest common coarsening of them all; in graph-theoretic terms, it is the partition of thevertices of the complete graph into theconnected components of the subgraph formed by the given set of edges. In this way, the lattice of partitions corresponds to the lattice of flats of thegraphic matroid of the complete graph.
Another example illustrates refinement of partitions from the perspective of equivalence relations. IfD is the set of cards in a standard 52-card deck, thesame-color-as relation onD – which can be denoted ~C – has two equivalence classes: the sets {red cards} and {black cards}. The 2-part partition corresponding to ~C has a refinement that yields thesame-suit-as relation ~S, which has the four equivalence classes {spades}, {diamonds}, {hearts}, and {clubs}.
A partition of the setN = {1, 2, ...,n} with corresponding equivalence relation ~ isnoncrossing if it has the following property: If four elementsa,b,c andd ofN havinga <b <c <d satisfya ~c andb ~d, thena ~b ~c ~d. The name comes from the following equivalent definition: Imagine the elements 1, 2, ...,n ofN drawn as then vertices of a regularn-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 infree probability theory.
The total number of partitions of ann-element set is theBell numberBn. The first several Bell numbers areB0 = 1,B1 = 1,B2 = 2,B3 = 5,B4 = 15,B5 = 52, andB6 = 203 (sequenceA000110 in theOEIS). Bell numbers satisfy therecursion
and have theexponential generating function

The Bell numbers may also be computed using theBell 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 largestsingleton.
The number of partitions of ann-element set into exactlyk (non-empty) parts is theStirling number of the second kindS(n,k).
The number of noncrossing partitions of ann-element set is theCatalan number
{{cite book}}:ISBN / Date incompatibility (help)