Math 2.0

Number theory Proof

Proof of the recurrence for Stirling numbers of the second kind

Builds on Stirling numbers of the second kindPartition of a setRule of sumBijection principle

Proof

We sort the partitions by the block of the last element.

  1. Let nn and kk be natural numbers. Let X={1,…,n+1}X = \set{1, \dots, n + 1}, let z=n+1z = n + 1, and let Y={1,…,n}Y = \set{1, \dots, n}.
  2. By the definition of the Stirling numbers of the second kind, S(n+1,k+1)S(n + 1, k + 1) is the number of partitions of XX into k+1k + 1 blocks.
  3. Let PP be such a partition, and let BB be its block that contains zz. Either B={z}B = \set{z}, or BB has another element.
  4. Case B={z}B = \set{z}. Then P∖{B}P \setminus \set{B} is a partition of YY into kk blocks.
  5. Conversely, if QQ is a partition of YY into kk blocks, then Q∪{{z}}Q \cup \set{\set{z}} is a partition of XX into k+1k + 1 blocks. One of its blocks is {z}\set{z}.
  6. These maps are inverse to each other. So by the bijection principle, this case has S(n,k)S(n, k) partitions.
  7. Case B≠{z}B \ne \set{z}. Then B∖{z}B \setminus \set{z} is nonempty. Replacing BB by B∖{z}B \setminus \set{z} gives a partition P′P' of YY into k+1k + 1 blocks.
  8. Map PP to the pair (P′,B∖{z})(P', B \setminus \set{z}). The second entry is a block of P′P'.
  9. Conversely, let QQ be a partition of YY into k+1k + 1 blocks, and let C∈QC \in Q. Replace CC by C∪{z}C \cup \set{z}. This gives a partition of XX into k+1k + 1 blocks. In it, the block of zz is not {z}\set{z}.
  10. These maps are inverse to each other. So this case is in bijection with the pairs (Q,C)(Q, C), where QQ is a partition of YY into k+1k + 1 blocks and C∈QC \in Q.
  11. Each such QQ has exactly k+1k + 1 choices of CC. By the rule of sum over QQ, there are (k+1) S(n,k+1)(k + 1)\, S(n, k + 1) such pairs.
  12. The two cases are disjoint and cover all partitions of XX into k+1k + 1 blocks. By the rule of sum, S(n+1,k+1)=(k+1) S(n,k+1)+S(n,k).S(n + 1, k + 1) = (k + 1)\, S(n, k + 1) + S(n, k).

Idea

Remove the last element zz from its block. If zz was alone, one block disappears and kk blocks remain. If not, k+1k + 1 blocks remain, and zz could have been in any one of them, which gives the factor k+1k + 1.

Reading path

To understand this page from the ground up, read these 43 pages in order. The foundations come first. The path takes the proofs Proof that a composition of injections is injective, Proof that a function is bijective iff it has a two-sided inverse, Proof that a composition of surjections is surjective, Proof of the rule of sum, Proof of the bijection principle.

  1. Cardinality of a finite set definition
  2. Element definition
  3. Proposition concept
  4. Stirling numbers of the second kind definition
  5. Set definition
  6. Conjunction definition
  7. Disjunction definition
  8. Implication definition
  9. Predicate definition
  10. Empty set object
  11. Family of sets definition
  12. Ordered pair definition
  13. Intersection definition
  14. Union definition
  15. Existential quantifier definition
  16. Universal quantifier definition
  17. Disjoint sets definition
  18. Cartesian product definition
  19. Subset definition
  20. Union of a family of sets definition
  21. Uniqueness quantifier definition
  22. Binary relation definition
  23. Partition of a set definition
  24. Function definition
  25. Codomain definition
  26. Function composition definition
  27. Identity function definition
  28. Injective function definition
  29. Surjective function definition
  30. Left inverse definition
  31. Right inverse definition
  32. Proof that a composition of injections is injective proof
  33. Proof that a composition of surjections is surjective proof
  34. Bijective function definition
  35. Composition of injections is injective statement
  36. Composition of surjections is surjective statement
  37. Proof of the rule of sum proof
  38. Proof that a function is bijective iff it has a two-sided inverse proof
  39. Rule of sum statement
  40. Bijective iff it has a two-sided inverse statement
  41. Proof of the bijection principle proof
  42. Bijection principle statement
  43. Proof of the recurrence for Stirling numbers of the second kind proof

Where this leads

1 page builds on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Stirling_numbers_of_the_second_kind, Recurrence relation
About this page
Tag229GVWHHGG
URIm2://229GVWHHGG
Kindproof
WritingW0 stub
MSC11B73
ProvesRecurrence for Stirling numbers of the second kind
UsesStirling numbers of the second kind, Partition of a set, Rule of sum, Bijection principle
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.