Partitioning of a Set

A partition of a set S is a collection of n disjoint subsets P1, P2, ... Pn that satisfies the following three conditions −

  • No subset is empty − Pi ≠ ∅ for all 0 < i ≤ n
  • Union covers the entire set − P1 ∪ P2 ∪ ... ∪ Pn = S
  • Subsets are mutually disjoint − Pa ∩ Pb = ∅ for a ≠ b
S = { a, b, c, d, e, f, g, h } P? { a } P? { b, c, d } P? { e, f, g, h } P? ∩ P? = ∅ P? ∩ P? = ∅

Example

Let S = { a, b, c, d, e, f, g, h }. Some valid partitions are −

Partition 1:  { a }, { b, c, d }, { e, f, g, h }
Partition 2:  { a, b }, { c, d }, { e, f, g, h }
Partition 3:  { a, b, c, d, e, f, g, h }           (single subset)
Partition 4:  { a }, { b }, { c }, { d }, { e }, { f }, { g }, { h }  (all singletons)

Each partition satisfies all three conditions − no empty subsets, their union equals S, and no two subsets overlap.

Bell Numbers

Bell numbers give the count of the total number of ways to partition a set. They are denoted by Bn where n is the cardinality of the set.

Example

Let S = { 1, 2, 3 }, n = |S| = 3. All possible partitions are −

1.  { 1, 2, 3 }                 (one group of all)
2.  { 1 }, { 2, 3 }             (1 separated)
3.  { 1, 2 }, { 3 }             (3 separated)
4.  { 1, 3 }, { 2 }             (2 separated)
5.  { 1 }, { 2 }, { 3 }         (all separated)

Hence B3 = 5.

The first few Bell numbers are −

n 0 1 2 3 4 5 6
Bn 1 1 2 5 15 52 203

Conclusion

A partition divides a set into non-empty, non-overlapping subsets whose union reconstructs the original set. The Bell number Bn counts the total number of distinct partitions possible for a set of n elements.

Updated on: 2026-03-14T08:22:24+05:30

10K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements