Set Partitioning

Partitioning a set produces a set of nonempty disjoint subsets, called partitions.

Conditions:

  • No partition is empty (i.e. nonempty subsets)

  • The intersection of two partitions is empty (i.e. disjoint subsets)

  • The union of partitions must equal the original set (i.e. sanity check)

Partitioning the set SS produces nn partitions, P1,P2,,PnP_1, P_2,\dots,P_n, which are the disjoint and non-empty subsets of SS.

i=1n\displaystyle \bigcup_{i=1}^{n}

P1,P2,,PnP_1, P_2,\dots,P_n

PiP_i are non-empty sets:

PiP_i Pi ≠ {∅} for all 0 < i ≤ n

P1∪P2∪⋯∪Pn=S

The intersection of two partitions is empty:

Pa ∩ Pb={∅}, for a≠b where n≥a, b≥0

Example: Let S={a,b,c,d,e,f,g,h} One probable partitioning scheme: {a},{b,c,d},{e,f,g,h} Another probable partitioning scheme: {a,b},{c,d},{e,f,g,h}

Bell number signifies the number of ways to partition a set; it is denoted by BnB_n, where nn is the cardinality of the set. For example, let S={1,2,3},  n=S=3S=\{1,2,3\},\ \ n=|S|=3.

The partitions:

  1. {},{1,2,3}\{\},\{1,2,3\}

  2. {1},{2,3}\{1\},\{2,3\}

  3. {1,2},{3}\{1,2\},\{3\}

  4. {1,3},{2}\{1,3\},\{2\}

  5. {1},{2},{3}\{1\},\{2\},\{3\}

so, B3=5B_3=5

Last updated