Lably
Skip to content

Stirling numbers of the second kind

Numbers parameterizing ways to partition a set

  • 8 min read
  • 7 chapters

Related on Lably

Through Mathematics, Combinatorics and Equivalence relation

The Stirling numbers of the first and second kind can be understood as inverses of one another when viewed as triangular matrices. This article is devoted to specifics of Stirling numbers of the second kind. Identities linking the two kinds appear in the article on Stirling numbers.

Definition

The Stirling numbers of the second kind, written S(n,k) or {nk} or with other notations, count the number of ways to partition a set of n labelled objects into k nonempty unlabelled subsets. Equivalently, they count the number of different equivalence relations with precisely k equivalence classes that can be defined on an n element set. In fact, there is a bijection between the set of partitions and the set of equivalence relations on a given set. Obviously,

{n0}=0 for n ≥ 1, {nn}=1 for n ≥ 0, and {n1}=1 for n ≥ 1,

as there is no empty partition of a nonempty set, the only way to partition an n-element set into n parts is to put each element of the set into its own part, and the only way to partition a nonempty set into one part is to put all of the elements in the same part. Unlike Stirling numbers of the first kind, they can be calculated using a one-sum formula:

{nk}=1k!∑i=0k(−1)k−i(ki)in=∑i=0k(−1)k−iin(k−i)!i!.

The Stirling numbers of the first kind may be characterized as the numbers that arise when one expresses powers of an indeterminate x in terms of the falling factorials

(x)n=x(x−1)(x−2)⋯(x−n+1).

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Discrete mathematics