HOME

TheInfoList



OR:

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 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 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 \le ...
. Additionally,
Lah numbers 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 m ...
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 p ...
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 soc ...
s, 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 legal, social, or ethical principles of 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 convention, or ethical th ...
= 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 epony ...
.
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 ...
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 Jovan Karamata ( sr-cyr, Јован Карамата; February 1, 1902 – August 14, 1967) was a Serbian mathematician. He is remembered for contributions to analysis, in particular, the Tauberian theory and the theory of slowly varying function ...
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 ...
. (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.


Expansions of falling and rising factorials

Stirling numbers express coefficients in expansions of falling and rising factorials (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 questio ...
. 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 defin ...
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 ex ...
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. 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 consid ...
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 ...
: : The coefficients for the two bottom changes are described by the
Lah numbers 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 m ...
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 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 (negation), the inverse of a number that, when ad ...
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 legal, social, or ethical principles of 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 convention, or ethical th ...
, 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 legal, social, or ethical principles of 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 convention, or ethical th ...
/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 paramete ...
to all integers. In this approach, \left
right Rights are legal, social, or ethical principles of 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 convention, or ethical th ...
/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 legal, social, or ethical principles of 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 convention, or ethical th ...
!, \left\\!, \left
right Rights are legal, social, or ethical principles of 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 convention, or ethical th ...
!, and \left\ (but not \left
right Rights are legal, social, or ethical principles of 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 convention, or ethical th ...
/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 paramete ...
of the Stirling numbers of the first kind: : \biggl biggr= \frac\sum_^\frac \binom ni , For example, \left
right Rights are legal, social, or ethical principles of 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 convention, or ethical th ...
= \frac1\Bigl(5-\frac+\frac-\frac 5+\frac 1\Bigr). This leads to the following table of values of \left
right Rights are legal, social, or ethical principles of 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 convention, or ethical th ...
/math>. In this case \sum_^\left
right Rights are legal, social, or ethical principles of 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 convention, or ethical th ...
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 legal, social, or ethical principles of 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 convention, or ethical th ...
B_. For example, this produces \sum_^\left
right Rights are legal, social, or ethical principles of 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 convention, or ethical th ...
B_=0.421773\ldots.


See also

* Bell polynomials *
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 C ...
* Cycles and fixed points * Lah number * Pochhammer symbol *
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 e ...
* Stirling transform * Touchard polynomials * Stirling permutation


Citations


References

* *


Further reading

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