Dobiński's formula

From HandWiki

In combinatorial mathematics, Dobiński's formula[1] states that the n-th Bell number Bn (i.e., the number of partitions of a set of size n) equals

[math]\displaystyle{ B_n = {1 \over e}\sum_{k=0}^\infty \frac{k^n}{k!}, }[/math]

where [math]\displaystyle{ e }[/math] denotes Euler's number. The formula is named after G. Dobiński, who published it in 1877.

Probabilistic content

In the setting of probability theory, Dobiński's formula represents the nth moment of the Poisson distribution with mean 1. Sometimes Dobiński's formula is stated as saying that the number of partitions of a set of size n equals the nth moment of that distribution.

Reduced formula

The computation of the sum of Dobiński's series can be reduced to a finite sum of [math]\displaystyle{ n+o(n) }[/math] terms, taking into account the information that [math]\displaystyle{ B_n }[/math] is an integer. Precisely one has, for any integer [math]\displaystyle{ K \gt 1 }[/math]

[math]\displaystyle{ B_n = \left\lceil {1 \over e}\sum_{k=0}^{K-1}\frac{k^n}{k!}\right\rceil }[/math]

provided [math]\displaystyle{ \frac{K^n}{K!}\le 1 }[/math] (a condition that of course implies [math]\displaystyle{ K \gt n }[/math], but that is satisfied by some [math]\displaystyle{ K }[/math] of size [math]\displaystyle{ n+o(n) }[/math]). Indeed, since [math]\displaystyle{ K \gt n }[/math], one has

[math]\displaystyle{ \Big(\frac{K+j}K\Big)^n\le\Big(\frac{K+j}K\Big)^K=\Big(1+\frac jK\Big)^K \le \Big(1+\frac j1\Big)\Big(1+\frac j2\Big)\dots\Big(1+\frac jK\Big)=\frac{1+j}1 \frac{2+j}2 \dots \frac{K+j}K=\frac{(K+j)!}{K!j!}. }[/math]

Therefore [math]\displaystyle{ \frac{(K+j)^n}{(K+j)!}\le \frac{K^n}{K!}\frac 1{j!} \le \frac1{j!} }[/math] for all [math]\displaystyle{ j \ge0 }[/math] so that the tail [math]\displaystyle{ \sum_{k\ge K} \frac{k^n}{k!}=\sum_{j\ge 0} \frac{(K+j)^n}{(K+j)!} }[/math] is dominated by the series [math]\displaystyle{ \sum_{j\ge 0} \frac{1}{j!}=e }[/math], which implies [math]\displaystyle{ 0 \lt B_n - \frac1{e}\sum_{k=0}^{K-1}\frac{k^n}{k!}\lt 1 }[/math], whence the reduced formula.

Generalization

Dobiński's formula can be seen as a particular case, for [math]\displaystyle{ x=0 }[/math], of the more general relation:[math]\displaystyle{ {1 \over e}\sum_{k=x}^\infty \frac{k^n}{(k-x)!} = \sum_{k=0}^n \binom{n}{k} B_{k} x^{n-k} }[/math]

and for [math]\displaystyle{ x=1 }[/math] in this formula for Touchard polynomials

[math]\displaystyle{ T_n(x) = e^{-x}\sum_{k=0}^\infty \frac{x^kk^n}{k!} }[/math]

Proof

One proof[2] relies on a formula for the generating function for Bell numbers,

[math]\displaystyle{ e^{e^x - 1} = \sum_{n = 0}^\infty \frac{B_n}{n!} x^n. }[/math]

The power series for the exponential gives

[math]\displaystyle{ e^{e^x} = \sum_{k = 0}^\infty \frac{e^{kx}}{k!} = \sum_{k = 0}^\infty \frac{1}{k!} \sum_{n = 0}^\infty \frac{(kx)^n}{n!} }[/math]

so

[math]\displaystyle{ e^{e^x - 1} = \frac{1}{e} \sum_{k = 0}^\infty \frac{1}{k!} \sum_{n = 0}^\infty \frac{(kx)^n}{n!} }[/math]

The coefficient of [math]\displaystyle{ x^n }[/math] in this power series must be [math]\displaystyle{ B_n/n! }[/math], so

[math]\displaystyle{ B_n = \frac{1}{e} \sum_{k = 0}^\infty \frac{k^n}{k!}. }[/math]

Another style of proof was given by Rota.[3] Recall that if x and n are nonnegative integers then the number of one-to-one functions that map a size-n set into a size-x set is the falling factorial

[math]\displaystyle{ (x)_n = x(x-1)(x-2)\cdots(x-n+1) }[/math]

Let ƒ be any function from a size-n set A into a size-x set B. For any b ∈ B, let ƒ −1(b) = {a ∈ A : ƒ(a) = b}. Then {ƒ −1(b) : b ∈ B} is a partition of A. Rota calls this partition the "kernel" of the function ƒ. Any function from A into B factors into

  • one function that maps a member of A to the element of the kernel to which it belongs, and
  • another function, which is necessarily one-to-one, that maps the kernel into B.

The first of these two factors is completely determined by the partition π that is the kernel. The number of one-to-one functions from π into B is (x)|π|, where |π| is the number of parts in the partition π. Thus the total number of functions from a size-n set A into a size-x set B is

[math]\displaystyle{ \sum_\pi (x)_{|\pi|}, }[/math]

the index π running through the set of all partitions of A. On the other hand, the number of functions from A into B is clearly xn. Therefore, we have

[math]\displaystyle{ x^n = \sum_\pi (x)_{|\pi|}. }[/math]

Rota continues the proof using linear algebra, but it is enlightening to introduce a Poisson-distributed random variable X with mean 1. The equation above implies that the nth moment of this random variable is

[math]\displaystyle{ E(X^n) = \sum_\pi E((X)_{|\pi|}) }[/math]

where E stands for expected value. But we shall show that all the quantities E((X)k) equal 1. It follows that

[math]\displaystyle{ E(X^n) = \sum_\pi 1, }[/math]

and this is just the number of partitions of the set A.

The quantity E((X)k) is called the kth factorial moment of the random variable X. To show that this equals 1 for all k when X is a Poisson-distributed random variable with mean 1, recall that this random variable assumes each value integer value [math]\displaystyle{ j \ge 0 }[/math] with probability [math]\displaystyle{ 1/(ej!) }[/math]. Thus

[math]\displaystyle{ E((X)_k) = \sum_{j = 0}^\infty \frac{(j)_k}{ej!} = \frac{1}{e} \sum_{j = 0}^\infty \frac{j(j-1) \cdots (j-k+1)}{j(j-1) \cdots 1} = \frac{1}{e} \sum_{j = i}^\infty \frac{1}{(j-i)!} = 1. }[/math]

Notes and references