HOME

TheInfoList



OR:

The use of
exponential generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary ser ...
s (EGFs) to study the properties of
Stirling numbers In mathematics, Stirling numbers arise in a variety of analytic and combinatorial problems. They are named after James Stirling, who introduced them in a purely algebraic setting in his book ''Methodus differentialis'' (1730). They were rediscov ...
is a classical exercise in
combinatorial mathematics Combinatorics is an area of mathematics primarily concerned with counting, both as a means and an end in obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many appl ...
and possibly the canonical example of how
symbolic combinatorics In combinatorics, the symbolic method is a technique for counting combinatorial objects. It uses the internal structure of the objects to derive formulas for their generating functions. The method is mostly associated with Philippe Flajolet a ...
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 ^n/math> for
formal power series In mathematics, a formal series is an infinite sum that is considered independently from any notion of convergence, and can be manipulated with the usual algebraic operations on series (addition, subtraction, multiplication, division, partial sum ...
, as well as the (labelled) operators \mathfrak (for cycles) and \mathfrak (for sets) on combinatorial classes, which are explained on the page for
symbolic combinatorics In combinatorics, the symbolic method is a technique for counting combinatorial objects. It uses the internal structure of the objects to derive formulas for their generating functions. The method is mostly associated with Philippe Flajolet a ...
. 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 *
permutation In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or proc ...
s (for unsigned Stirling numbers of the first kind): :: \mathcal = \operatorname(\operatorname(\mathcal)), and * set partitions into non-empty subsets (for Stirling numbers of the second kind): :: \mathcal = \operatorname(\operatorname_(\mathcal)), where \mathcal is the singleton class. Warning: The notation used here for the Stirling numbers is not that of the Wikipedia articles on Stirling numbers; square brackets denote the signed Stirling numbers here.


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 \mathcal\, of permutations is given by : \mathcal = \operatorname(\mathcal \times \operatorname(\mathcal)), \, where the singleton \mathcal 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: :G(z, u) = \exp \left( u \log \frac \right) = \left(\frac \right)^u = \sum_^\infty \sum_^n \left begin n \\ k \end\rightu^k \, \frac. Now the signed Stirling numbers of the first kind are obtained from the unsigned ones through the relation :(-1)^ \left begin n \\ k \end\right Hence the generating function H(z, u) of these numbers is : H(z, u) = G(-z, -u) = \left(\frac \right)^ = (1+z)^u = \sum_^\infty \sum_^n (-1)^ \left begin n \\ k \end\rightu^k \, \frac. A variety of identities may be derived by manipulating this
generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary seri ...
: :(1+z)^u = \sum_^\infty z^n = \sum_^\infty \frac \sum_^n (-1)^ \left begin n \\ k \end\rightu^k = \sum_^\infty u^k \sum_^\infty \frac (-1)^ \left begin n \\ k \end\right= e^. In particular, the order of summation may be exchanged, and derivatives taken, and then ''z'' or ''u'' may be fixed.


Finite sums

A simple sum is :\sum_^n (-1)^k \left begin n \\ k \end\right= (-1)^n n!. This formula holds because the exponential generating function of the sum is :H(z, -1) = \frac \quad \mbox \quad n! ^nH(z, -1) = (-1)^n n!.


Infinite sums

Some infinite sums include :\sum_^\infty \left begin n \\ k \end\right \frac = \frac where , z, <1 (the singularity nearest to z=0 of \log (1+z) is at z=-1.) This relation holds because : ^kH(z, u) = ^k\exp \left( u \log (1+z) \right) = \frac .


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. ''B''''n'' where :B_n = \sum_^n \left\ \mbox B_0 = 1, i.e. the
Bell number In combinatorial mathematics, the Bell numbers count the possible partitions of a set. These numbers have been studied by mathematicians since the 19th century, and their roots go back to medieval Japan. In an example of Stigler's law of eponymy ...
s. The
Flajolet–Sedgewick fundamental theorem In combinatorics, the symbolic method is a technique for counting combinatorial objects. It uses the internal structure of the objects to derive formulas for their generating functions. The method is mostly associated with Philippe Flajolet and ...
applies (labelled case). The set \mathcal\, of partitions into non-empty subsets is given by ("set of non-empty sets of singletons") : \mathcal = \operatorname(\operatorname_(\mathcal)). This decomposition is entirely analogous to the construction of the set \mathcal\, of permutations from cycles, which is given by : \mathcal = \operatorname(\operatorname(\mathcal)). 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 : B(z) = \exp \left(\exp z - 1\right). Differentiate to obtain : \frac B(z) = \exp \left(\exp z - 1\right) \exp z = B(z) \exp z, which implies that : B_ = \sum_^n B_k, by convolution of
exponential generating function In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary ser ...
s and because differentiating an EGF drops the first coefficient and shifts ''B''''n''+1 to ''z'' ''n''/''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 \mathcal\,, giving : \mathcal = \operatorname(\mathcal \times \operatorname_(\mathcal)). Translating to generating functions, we obtain : B(z, u) = \exp \left(u \left(\exp z - 1\right)\right). This EGF yields the formula for the Stirling numbers of the second kind: : \left\ = n! ^k ^nB(z, u) = n! ^n\frac or : n! ^n\frac \sum_^k \exp(jz) (-1)^ which simplifies to : \frac \sum_^k (-1)^ \frac = \frac \sum_^k (-1)^ j^n.


References

*
Ronald Graham Ronald Lewis Graham (October 31, 1935July 6, 2020) was an American mathematician credited by the American Mathematical Society as "one of the principal architects of the rapid development worldwide of discrete mathematics in recent years". He ...
,
Donald Knuth Donald Ervin Knuth ( ; born January 10, 1938) is an American computer scientist, mathematician, and professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of computer sc ...
,
Oren Patashnik Oren Patashnik (born 1954) is an American computer scientist. He is notable for co-creating BibTeX, and co-writing '' Concrete Mathematics: A Foundation for Computer Science''. He is a researcher at the Center for Communications Research, La Jol ...
(1989): ''Concrete Mathematics'', Addison–Wesley, * 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 *
Milton Abramowitz Milton Abramowitz (19 February 1915 in Brooklyn, New York – 5 July 1958) was a Jewish American mathematician at the National Bureau of Standards who, with Irene Stegun, edited a classic book of mathematical tables called '' Handbook of Mathemati ...
and Irene A. Stegun, ''Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables'', USGPO, 1964, Washington DC, {{ISBN, 0-486-61272-4 Enumerative combinatorics