Stirling Numbers
   HOME

TheInfoList



OR:

In
mathematics Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, Stirling numbers arise in a variety of analytic and
combinatorial 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 app ...
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 1782. 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 Stirling numbers of the first kind count permutations according to their number of cycles (counting fixed poin ...
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, with different ways of counting orderings within each subset.


Notation

Several different notations for Stirling numbers are in use. Common notation for ordinary (signed) Stirling numbers of the first kind is: : s(n,k)\, For unsigned Stirling numbers of the first kind, which count the number of
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 of ''n'' elements with ''k'' disjoint cycles, is: : \biggl biggr=c(n,k)=, s(n,k), =(-1)^ s(n,k)\, And for 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^ \, For example, the sum \displaystyle\sum_^n \left
right Rights are law, legal, social, or ethics, ethical principles of Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
= n! is the number of all permutations, while the sum \displaystyle\sum_^n \left\ = B_n is the ''n''th
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 ...
.
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 Te ...
use an uppercase S and a
blackletter Blackletter (sometimes black letter), also known as Gothic script, Gothic minuscule, or Textura, was a script used throughout Western Europe from approximately 1150 until the 17th century. It continued to be commonly used for the Danish, Norweg ...
\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 t ...
, was introduced in 1935 by Jovan Karamata and promoted later by
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 ...
. (The bracket notation conflicts with a common notation for Gaussian coefficients.) 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 The use of exponential generating functions (EGFs) to study the properties of Stirling numbers is a classical exercise in combinatorial mathematics and possibly the canonical example of how symbolic combinatorics is used. It also illustrates the pa ...
.


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) \,. \ ...
(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 ''x'' of degree ''n'' 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 = 1 because it is an
empty product In mathematics, an empty product, or nullary product or vacuous product, is the result of multiplying no factors. It is by convention equal to the multiplicative identity (assuming there is an identity for the multiplication operation in question ...
. Combinatorialists also sometimes use the notation x^ for the falling factorial, and x^ for the rising factorial. (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 ''x'' of degree ''n'' whose expansion is :x^ = \sum_^n \biggl biggrx^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 an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exa ...
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 may refer to: Finance and accounting * Adjusted basis, the net cost of an asset after adjusting for various tax-related items *Basis point, 0.01%, often used in the context of interest rates * Basis trading, a trading strategy consisting ...
. 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 considere ...
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 t ...
: \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.


As inverse matrices

The Stirling numbers of the first and second kinds can be considered inverses of one another: :\sum_ s(n,j) S(j,k) = \sum_ (-1)^ \biggl biggr\biggl\ = \delta_ and :\sum_ S(n,j) s(j,k) = \sum_ (-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 ...
of Stirling numbers of the first kind, whose matrix elements s_=s(n,k).\, The inverse 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 ...
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.


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 a falling factorial is simply expressed as another falling factorial (for ''k''≠−1) :\sum_ (i)_k = \frac This is analogous to the integral \int_0^n x^kdx = n^ / (k+1), though the sum should be over integers ''i'' strictly less than ''n''. For example, the sum of fourth powers of integers up to ''n'' (this time with ''n'' included), is: :\begin &\sum_^ i^4 = \sum_^ \sum_^4 \biggl\ (i)_k = \sum_^4 \biggl\ \frac \\ mu&\quad = \biggl\ \frac2 + \biggl\ \frac3 + \biggl\ \frac4 + \biggl\ \frac5 \\ mu&\quad = \frac12 (n+1)_ + \frac73 (n+1)_ + \frac64 (n+1)_ + \frac15 (n+1)_ \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_^ 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_^n k^p = 1^p + 2^p + 3^p + \cdots + n^p as a (''p''&nb ...
, which in general is more complex.


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>k 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_ L(n,j) \cdot (-1)^ L(j,k) = \delta_. Similarly, composing for example 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_ \biggl biggr \biggl\ , 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^. Similarly, 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. The numbers \left\, \left
right Rights are law, legal, social, or ethics, ethical principles of Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
, L(n,k) can be defined as the number of partitions of ''n'' elements into ''k'' non-empty unlabeled subsets, each of which is unordered, cyclically ordered, or linearly ordered, respectively. In particular, this implies the following inequalities: : \biggl\ \leq \biggl biggr\leq L(n,k).


Symmetric formulae

Abramowitz and Stegun give the following symmetric formulae that relate the Stirling numbers of the first and second kind. :s(n,k) = \sum_^ (-1)^j S(n-k+j,j) and :S(n,k) = \sum_^ (-1)^j s(n-k+j,j).


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 Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
/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 Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
/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 Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
!, \left\\!, \left
right Rights are law, legal, social, or ethics, ethical principles of Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
!, and \left\ (but not \left
right Rights are law, legal, social, or ethics, ethical principles of Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
/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 Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
= \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 Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
/math>. In this case \sum_^\left
right Rights are law, legal, social, or ethics, ethical principles of Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
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 eponymy ...
, and so one may define the negative Bell numbers by \sum_^\left
right Rights are law, legal, social, or ethics, ethical principles of Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
B_. For example, this produces \sum_^\left
right Rights are law, legal, social, or ethics, ethical principles of Liberty, freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people according to some legal system, social convent ...
B_=0.421773\ldots.


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 the Faà di Bruno's fo ...
*
Catalan number In combinatorial mathematics, the Catalan numbers are a sequence of natural numbers that occur in various counting problems, often involving recursively defined objects. They are named after the French-Belgian mathematician Eugène Charles Cata ...
*
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 ...
*
Lah number In mathematics, the Lah numbers, discovered by Ivo Lah in 1954, are coefficients expressing rising factorials in terms of falling factorials. They are also the coefficients of the nth derivatives of e^. Unsigned Lah numbers have an interesting m ...
*
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) \,. \e ...
*
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 en ...
*
Stirling transform In combinatorial mathematics, the Stirling transform of a sequence of numbers is the sequence given by :b_n=\sum_^n \left\ a_k, where \left\ is the Stirling number of the second kind, also denoted ''S''(''n'',''k'') (with a capital ''S''), which ...
*
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 numb ...
*
Stirling permutation In 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'' appearing in ...


Citations


References

* *


Further reading

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