Stirling numbers and exponential generating functions
From Wikipedia, the free encyclopedia
The use of exponential generating functions or EGFs to study the properties of Stirling numbers is a classical exercise in combinatorics and possibly the canonical example of how symbolic combinatorics, the method that encapsulates the fundamental theorem of combinatorial enumeration, is used. It also illustrates the parallels in the construction of these two types of numbers, lending support to the binomial-style notation that is used for them.
This article uses the coefficient extraction operator [zn] for formal power series, as well as the (labelled) operators (for cycles) and (for sets) on combinatorial classes, which are explained on the pages for symbolic combinatorics and the fundamental theorem of combinatorial enumeration. Quite simply, given a combinatorial class, the cycle operator creates the class obtained by placing objects from the source class along a cycle of some length, where cyclical symmetries are taken into account, and the set operator creates the class obtained by placing objects from the source class in a set (symmetries from the symmetric group, i.e. an "unstructured bag".) The two combinatorial classes (shown without additional markers) are
- permutations (for unsigned Stirling numbers of the first kind):
and
- set partitions into non-empty subsets (for Stirling numbers of the second kind):
where is the singleton class.
Contents |
[edit] Stirling numbers of the first kind
The unsigned Stirling numbers of the first kind count the number of permutations of [n] with k cycles. A permutation is a set of cycles, and hence the set of permutations is given by
where the singletion marks cycles. This decomposition is examined in some detail on the page on the statistics of random permutations.
Translating to generating functions we obtain the mixed generating function of the unsigned Stirling numbers of the first kind:
Now the signed Stirling numbers of the first kind are obtained from the unsigned ones through the relation
Hence the generating function H(z,u) of these numbers is
A variety of identities may be derived by manipulating this generating function:
In particular, the order of summation may be exchanged, and derivatives taken, and then z or u may be fixed.
[edit] Finite sums
A simple sum is
This formula holds because the exponential generating function of the sum is
[edit] A convolution identity
The identity
has a combinatorial proof as well as a proof using generating functions. The left side counts permutations of n elements, with at least k cycles, of which exactly k are marked. The right side counts permutations of n + 1 elements having exactly k + 1 cycles. It is easy to establish a bijection between these two, thereby showing that they have the same cardinality. To go from the left to the right, take the cycles that were not marked, which define a permutation, write down this permutation in table notation, i.e. as a sequence, and make it into a cycle by connecting the end of the table to the beginning, inserting n + 1 after the end, thereby obtaining a permutation on n + 1 elements having exactly k + 1 cycles. The other direction is as follows: mark all cycles except the one containing n + 1, then take this cycle (the one that contains n + 1) and turn it into a sequence by taking it apart at the position of n + 1, which you remove. Read this sequence as a permutation and factorize it into cycles. You now have a permutation on [1,n] of at least k cycles, of which exactly k are marked. As an example, let n = 8 and suppose you have not marked (18)(25). Written in table notation, this reads [8521]. Turn it into a cycle, inserting n + 1 = 9, getting (85219).
The proof using generating functions follows directly from the generating function
We have
Differentiating with respect to z, we find
Note that
so that
which is
But
so this simplifies to
The references for this identity are from sci.math.research, more information may be found here.
[edit] Infinite sums
Some infinite sums include
where | z | < 1 (the singularity nearest to z = 0 of log(1 + z) is at z = − 1.)
This relation holds because
[edit] Stirling numbers of the second kind
These numbers count the number of partitions of [n] into k nonempty subsets. First consider the total number of partitions, i.e. Bn where
i.e. the Bell numbers. The fundamental theorem of combinatorial enumeration applies (labelled case). The set of partitions into non-empty subsets is given by ("set of non-empty sets of singletons")
This decomposition is entirely analogous to the construction of the set of permutations from cycles, which is given by
and yields the Stirling numbers of the first kind. Hence the name "Stirling numbers of the second kind."
The decomposition is equivalent to the EGF
Differentiate to obtain
which implies that
by convolution of exponential generating functions and because differentiating an EGF drops the first coefficient and shifts Bn + 1 to zn / n!.
The EGF of the Stirling numbers of the second kind is obtained by marking every subset that goes into the partition with the term , giving
Translating to generating functions, we obtain
This EGF yields the formula for the Stirling numbers of the second kind:
or
which simplifies to
We can use B(z,u) to evaluate the sum
This is equal to
or
where the last equality occurs because when
Now consider the Taylor series of yx at y = 1:
Hence
[edit] External links
- Philippe Flajolet and Robert Sedgewick, Analytic combinatorics - Symbolic combinatorics.
- Various, Identity for unsigned Stirling Numbers of the first kind, newsgroup sci.math.research
[edit] References
- Ronald Graham, Donald Knuth, Oren Patashnik (1989): Concrete Mathematics, Addison-Wesley, ISBN 0-201-14236-8
- D.S. Mitrinovic, Sur une classe de nombre relies aux nombres de Stirling, C. R. Acad. Sci. Paris 252 (1961), 2354--2356.
- A.C.R. Belton, The monotone Poisson process, in: Quantum Probability (M. Bozejko, W. Mlotkowski and J. Wysoczanski, eds.), Banach Center Publications 73, Polish Academy of Sciences, Warsaw, 2006