Stirling Numbers
   HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, Stirling numbers arise in a variety of
analytic Analytic or analytical may refer to: Chemistry * Analytical chemistry, the analysis of material samples to learn their chemical composition and structure * Analytical technique, a method that is used to determine the concentration of a chemical ...
and
combinatorial Combinatorics is an area of mathematics primarily concerned with counting, both as a means and as an end to obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many ...
problems. They are named after James Stirling, who introduced them in a purely algebraic setting in his book ''Methodus differentialis'' (1730). They were rediscovered and given a combinatorial meaning by Masanobu Saka in his 1782 ''Sanpō-Gakkai'' ''(The Sea of Learning on Mathematics)''. Two different sets of numbers bear this name: the
Stirling numbers of the first kind In mathematics, especially in combinatorics, Stirling numbers of the first kind arise in the study of permutations. In particular, the unsigned Stirling numbers of the first kind count permutations according to their number of cycles (counting fi ...
and the
Stirling numbers of the second kind In mathematics, particularly in combinatorics, a Stirling number of the second kind (or Stirling partition number) is the number of ways to partition a set of ''n'' objects into ''k'' non-empty subsets and is denoted by S(n,k) or \textstyle \lef ...
. Additionally, Lah numbers are sometimes referred to as Stirling numbers of the third kind. Each kind is detailed in its respective article, this one serving as a description of relations between them. A common property of all three kinds is that they describe coefficients relating three different sequences of polynomials that frequently arise in combinatorics. Moreover, all three can be defined as the number of partitions of ''n'' elements into ''k'' non-empty subsets, where each subset is endowed with a certain kind of order (no order, cyclical, or linear).


Notation

Several different notations for Stirling numbers are in use. Ordinary (signed) Stirling numbers of the first kind are commonly denoted: : s(n,k)\,. Unsigned Stirling numbers of the first kind, which count the number of
permutation In mathematics, a permutation of a set can mean one of two different things: * an arrangement of its members in a sequence or linear order, or * the act or process of changing the linear order of an ordered set. An example of the first mean ...
s of ''n'' elements with ''k'' disjoint
cycle Cycle, cycles, or cyclic may refer to: Anthropology and social sciences * Cyclic history, a theory of history * Cyclical theory, a theory of American political history associated with Arthur Schlesinger, Sr. * Social cycle, various cycles in ...
s, are denoted: : \biggl biggr=c(n,k)=, s(n,k), =(-1)^ s(n,k)\, Stirling numbers of the second kind, which count the number of ways to partition a set of ''n'' elements into ''k'' nonempty subsets: : \biggl\ = S(n,k) = S_n^ \,
Abramowitz and Stegun ''Abramowitz and Stegun'' (''AS'') is the informal name of a 1964 mathematical reference work edited by Milton Abramowitz and Irene Stegun of the United States National Bureau of Standards (NBS), now the National Institute of Standards and T ...
use an uppercase S and a
blackletter Blackletter (sometimes black letter or black-letter), also known as Gothic script, Gothic minuscule or Gothic type, was a script used throughout Western Europe from approximately 1150 until the 17th century. It continued to be commonly used for ...
\mathfrak S, respectively, for the first and second kinds of Stirling number. The notation of brackets and braces, in analogy to
binomial coefficients In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the te ...
, was introduced in 1935 by
Jovan Karamata Jovan Karamata ( sr-Cyrl, Јован Карамата; February 1, 1902 – August 14, 1967) was a Serbian mathematician and university professor. He is remembered for contributions to analysis, in particular, the Tauberian theory and the theory ...
and promoted later by
Donald Knuth Donald Ervin Knuth ( ; born January 10, 1938) is an American computer scientist and mathematician. He is a professor emeritus at Stanford University. He is the 1974 recipient of the ACM Turing Award, informally considered the Nobel Prize of comp ...
, though the bracket notation conflicts with a common notation for
Gaussian coefficient In mathematics, the Gaussian binomial coefficients (also called Gaussian coefficients, Gaussian polynomials, or ''q''-binomial coefficients) are ''q''-analogs of the binomial coefficients. The Gaussian binomial coefficient, written as \binom nk ...
s. The mathematical motivation for this type of notation, as well as additional Stirling number formulae, may be found on the page for Stirling numbers and exponential generating functions. Another infrequent notation is s_1(n,k) and s_2(n,k).


Expansions of falling and rising factorials

Stirling numbers express coefficients in expansions of
falling and rising factorials In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial \begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) . \end ...
(also known as the Pochhammer symbol) as polynomials. That is, the falling factorial, defined as \ (x)_ = x(x-1)\ \cdots(x-n+1)\ , is a polynomial in of degree whose expansion is :(x)_\ =\ \sum_^n\ s(n,k)\ x^k\ with (signed) Stirling numbers of the first kind as coefficients. Note that \ (x)_0 \equiv 1\ , by convention, because it is an
empty product In mathematics, an empty product, or nullary product or vacuous product, is the result of multiplication, multiplying no factors. It is by convention equal to the multiplicative identity (assuming there is an identity for the multiplication operat ...
. The notations \ x^\ for the falling factorial and \ x^\ for the rising factorial are also often used. (Confusingly, the Pochhammer symbol that many use for ''falling'' factorials is used in
special function Special functions are particular mathematical functions that have more or less established names and notations due to their importance in mathematical analysis, functional analysis, geometry, physics, or other applications. The term is defined by ...
s for ''rising'' factorials.) Similarly, the rising factorial, defined as \ x^\ =\ x(x+1)\ \cdots(x+n-1)\ , is a polynomial in of degree whose expansion is : x^\ =\ \sum_^n\ \biggl biggr x^k\ =\ \sum_^n\ (-1)^\ s(n,k)\ x^k\ , with unsigned Stirling numbers of the first kind as coefficients. One of these expansions can be derived from the other by observing that \ x^ = (-1)^n (-x)_ ~. Stirling numbers of the second kind express the reverse relations: :\ x^n\ =\ \sum_^n\ S(n,k)\ (x)_k\ and :\ x^n\ =\ \sum_^n\ (-1)^\ S(n,k)\ x^ ~.


As change of basis coefficients

Considering the set of
polynomial In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
s in the (indeterminate) variable ''x'' as a vector space, each of the three sequences :x^0,x^1,x^2,x^3,\dots \quad (x)_0,(x)_1,(x)_2,\dots \quad x^,x^,x^,\dots is a
basis Basis is a term used in mathematics, finance, science, and other contexts to refer to foundational concepts, valuation measures, or organizational names; here, it may refer to: Finance and accounting * Adjusted basis, the net cost of an asse ...
. That is, every polynomial in ''x'' can be written as a sum a_0 x^ + a_1 x^ + \dots + a_n x^ for some unique coefficients a_i (similarly for the other two bases). The above relations then express the
change of basis In mathematics, an ordered basis of a vector space of finite dimension allows representing uniquely any element of the vector space by a coordinate vector, which is a sequence of scalars called coordinates. If two different bases are conside ...
between them, as summarized in the following
commutative diagram 350px, The commutative diagram used in the proof of the five lemma In mathematics, and especially in category theory, a commutative diagram is a diagram such that all directed paths in the diagram with the same start and endpoints lead to the s ...
: : The coefficients for the two bottom changes are described by the Lah numbers below. Since coefficients in any basis are unique, one can define Stirling numbers this way, as the coefficients expressing polynomials of one basis in terms of another, that is, the unique numbers relating x^n with falling and rising factorials as above. Falling factorials define, up to scaling, the same polynomials as
binomial coefficients In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the te ...
: \binom = (x)_k/k!. The changes between the standard basis \textstyle x^0, x^1, x^2, \dots and the basis \binom, \binom, \binom, \dots are thus described by similar formulas: : x^n=\sum_^n \biggl\ k! \binom \quad \text \quad \binom=\sum_^n \frac x^k.


Example

Expressing a polynomial in the basis of falling factorials is useful for calculating sums of the polynomial evaluated at consecutive integers. Indeed, the sum of falling factorials with fixed ''k'' can expressed as another falling factorial (for k\ne-1) :\sum_ (i)_k = \frac This can be proved by induction. For example, the sum of fourth powers of integers up to ''n'' (this time with ''n'' included), is: :\begin \sum_^ i^4 & = \sum_^n \sum_^4 \biggl\ (i)_k = \sum_^4 \biggl\ \sum_^n (i)_k = \sum_^4 \biggl\ \frac \\ 0mu& = \biggl\ \frac2 + \biggl\ \frac3 + \biggl\ \frac4 + \biggl\ \frac5 \\ mu& = \frac12 (n1)_ + \frac73 (n1)_ + \frac64 (n1)_ + \frac15 (n1)_\,. \end Here the Stirling numbers can be computed from their definition as the number of partitions of 4 elements into ''k'' non-empty unlabeled subsets. In contrast, the sum \sum_^n i^k in the standard basis is given by
Faulhaber's formula In mathematics, Faulhaber's formula, named after the early 17th century mathematician Johann Faulhaber, expresses the sum of the ''p''-th powers of the first ''n'' positive integers \sum_^ k^p = 1^p + 2^p + 3^p + \cdots + n^p as a polynomial in&n ...
, which in general is more complicated.


As inverse matrices

The Stirling numbers of the first and second kinds can be considered inverses of one another: :\sum_^n s(n,j) S(j,k) = \sum_^n (-1)^ \biggl biggr\biggl\ = \delta_ and :\sum_^n S(n,j) s(j,k) = \sum_^n (-1)^ \biggl\ \biggl biggr \delta_, where \delta_ is the
Kronecker delta In mathematics, the Kronecker delta (named after Leopold Kronecker) is a function of two variables, usually just non-negative integers. The function is 1 if the variables are equal, and 0 otherwise: \delta_ = \begin 0 &\text i \neq j, \\ 1 &\ ...
. These two relationships may be understood to be matrix inverse relationships. That is, let ''s'' be the
lower triangular matrix In mathematics, a triangular matrix is a special kind of square matrix. A square matrix is called if all the entries ''above'' the main diagonal are zero. Similarly, a square matrix is called if all the entries ''below'' the main diagonal are z ...
of Stirling numbers of the first kind, whose matrix elements s_=s(n,k).\, The
inverse Inverse or invert may refer to: Science and mathematics * Inverse (logic), a type of conditional sentence which is an immediate inference made from another conditional sentence * Additive inverse, the inverse of a number that, when added to the ...
of this matrix is ''S'', the
lower triangular matrix In mathematics, a triangular matrix is a special kind of square matrix. A square matrix is called if all the entries ''above'' the main diagonal are zero. Similarly, a square matrix is called if all the entries ''below'' the main diagonal are z ...
of Stirling numbers of the second kind, whose entries are S_=S(n,k). Symbolically, this is written :s^ = S\, Although ''s'' and ''S'' are infinite, so calculating a product entry involves an infinite sum, the matrix multiplications work because these matrices are lower triangular, so only a finite number of terms in the sum are nonzero.


Lah numbers

The Lah numbers L(n,k) = \frac are sometimes called Stirling numbers of the third kind. By convention, L(0,0)=1 and L(n,k)=0 if n or k = 0 < n. These numbers are coefficients expressing falling factorials in terms of rising factorials and vice versa: :x^ = \sum_^n L(n,k) (x)_k\quad and \quad(x)_n = \sum_^n (-1)^ L(n,k)x^. As above, this means they express the change of basis between the bases (x)_0,(x)_1,(x)_2,\cdots and x^,x^,x^,\cdots, completing the diagram. In particular, one formula is the inverse of the other, thus: : \sum_^n (-1)^ L(n,j) L(j,k) = \delta_. Similarly, composing the change of basis from x^ to x^n with the change of basis from x^n to (x)_ gives the change of basis directly from x^ to (x)_: : L(n,k) = \sum_^n \biggl biggr \biggl\ , and similarly for other compositions. In terms of matrices, if L denotes the matrix with entries L_=L(n,k) and L^ denotes the matrix with entries L^_=(-1)^L(n,k), then one is the inverse of the other: L^ = L^. Composing the matrix of unsigned Stirling numbers of the first kind with the matrix of Stirling numbers of the second kind gives the Lah numbers: L = , s, \cdot S. Enumeratively, \left\, \left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
, L(n,k) can be defined as the number of partitions of ''n'' elements into ''k'' non-empty unlabeled subsets, where each subset is endowed with no order, a
cyclic order In mathematics, a cyclic order is a way to arrange a set of objects in a circle. Unlike most structures in order theory, a cyclic order is not modeled as a binary relation, such as "". One does not say that east is "more clockwise" than west. Ins ...
, or a linear order, respectively. In particular, this implies the inequalities: : \biggl\ \leq \biggl biggr\leq L(n,k).


Inversion relations and the Stirling transform

For any pair of sequences, \ and \, related by a finite sum Stirling number formula given by :g_n = \sum_^ \left\ f_k, for all integers n \geq 0, we have a corresponding inversion formula for f_n given by :f_n = \sum_^ \left begin n \\ k \end \right(-1)^ g_k. The lower indices could be any integer between 0 and n. These inversion relations between the two sequences translate into functional equations between the sequence exponential generating functions given by the Stirling (generating function) transform as :\widehat(z) = \widehat\left(e^z-1\right) and :\widehat(z) = \widehat\left(\log(1+z)\right). For D = d/dx, the
differential operators In mathematics, a differential operator is an operator defined as a function of the differentiation operator. It is helpful, as a matter of notation first, to consider differentiation as an abstract operation that accepts a function and retur ...
x^nD^n and (xD)^n are related by the following formulas for all integers n \geq 0: : \begin (xD)^n &= \sum_^n S(n, k) x^k D^k \\ x^n D^n &= \sum_^n s(n, k) (xD)^k = (xD)_n = xD(xD - 1)\ldots (xD - n + 1) \end Another pair of "''inversion''" relations involving the Stirling numbers relate the forward differences and the ordinary n^
derivative In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
s of a function, f(x), which is analytic for all x by the formulas :\frac \frac f(x) = \sum_^ \frac \Delta^n f(x) :\frac \Delta^k f(x) = \sum_^ \frac \frac f(x).


Similar properties

See the specific articles for details.


Symmetric formulae

Abramowitz and Stegun give the following symmetric formulae that relate the Stirling numbers of the first and second kind. : \left \right= \sum_^ (-1)^ \binom \binom \left\ and : \left\ = \sum_^ (-1)^ \binom \binom \left \right


Stirling numbers with negative integral values

The Stirling numbers can be extended to negative integral values, but not all authors do so in the same way.D.E. Knuth, 1992. Regardless of the approach taken, it is worth noting that Stirling numbers of first and second kind are connected by the relations: : \biggl biggr= \biggl\ \quad \text \quad \biggl\ = \biggl biggr/math> when ''n'' and ''k'' are nonnegative integers. So we have the following table for \left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
/math>: Donald Knuth defined the more general Stirling numbers by extending a
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
to all integers. In this approach, \left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
/math> and \left\ are zero if ''n'' is negative and ''k'' is nonnegative, or if ''n'' is nonnegative and ''k'' is negative, and so we have, for ''any'' integers ''n'' and ''k'', : \biggl biggr= \biggl\ \quad \text \quad \biggl\ = \biggl biggr On the other hand, for positive integers ''n'' and ''k'', David Branson defined \left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
!, \left\\!, \left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
!, and \left\ (but not \left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
/math> or \left\). In this approach, one has the following extension of the
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
of the Stirling numbers of the first kind: : \biggl biggr= \frac\sum_^\frac \binom ni , For example, \left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
= \frac1\Bigl(5-\frac+\frac-\frac 5+\frac 1\Bigr). This leads to the following table of values of \left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
/math> for negative integral ''n''. In this case \sum_^\left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
B_ where B_ is a
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 epony ...
, and so one may define the negative Bell numbers by \sum_^\left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
:B_. For example, this produces \sum_^\left
right Rights are law, legal, social, or ethics, ethical principles of freedom or Entitlement (fair division), entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal sy ...
B_=\frac 1e\sum_^\infty\frac1=\frac 1e\int_0^1\fracdt=0.4848291\dots, generally B_=\frac 1e\sum_^\infty\frac1 .


See also

*
Bell polynomials In combinatorial mathematics, the Bell polynomials, named in honor of Eric Temple Bell, are used in the study of set partitions. They are related to Stirling and Bell numbers. They also occur in many applications, such as in Faà di Bruno's for ...
*
Catalan number The Catalan numbers are a sequence of natural numbers that occur in various Enumeration, counting problems, often involving recursion, recursively defined objects. They are named after Eugène Charles Catalan, Eugène Catalan, though they were p ...
*
Cycles and fixed points In mathematics, the cycles of a permutation of a finite set S correspond bijectively to the orbits of the subgroup generated by acting on ''S''. These orbits are subsets of S that can be written as , such that : for , and . The correspondi ...
*
Pochhammer symbol In mathematics, the falling factorial (sometimes called the descending factorial, falling sequential product, or lower factorial) is defined as the polynomial \begin (x)_n = x^\underline &= \overbrace^ \\ &= \prod_^n(x-k+1) = \prod_^(x-k) . \end ...
*
Polynomial sequence In mathematics, a polynomial sequence is a sequence of polynomials indexed by the nonnegative integers 0, 1, 2, 3, ..., in which each index is equal to the degree of the corresponding polynomial. Polynomial sequences are a topic of interest in ...
*
Touchard polynomials The Touchard polynomials, studied by , also called the exponential polynomials or Bell polynomials, comprise a polynomial sequence of binomial type defined by :T_n(x)=\sum_^n S(n,k)x^k=\sum_^n \left\x^k, where S(n,k)=\left\ is a Stirling ...
*
Stirling permutation In combinatorics, combinatorial mathematics, a Stirling permutation of order ''k'' is a permutation of the multiset 1, 1, 2, 2, ..., ''k'', ''k'' (with two copies of each value from 1 to ''k'') with the additional property that, for each value ''i' ...


Citations


References

* *


Further reading

* * * * * * * * * * * * * * * {{Classes of natural numbers Permutations Q-analogs Factorial and binomial topics Integer sequences