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 fixed points as cycles of length one). [1]
The Stirling numbers of the first and second kind can be understood as inverses of one another when viewed as triangular matrices. This article is devoted to specifics of Stirling numbers of the first kind. Identities linking the two kinds appear in the article on Stirling numbers.
Signed Stirling numbers of the first kind are the coefficients in the expansion of the falling factorial
into powers of the variable :
For example, , leading to the values , , and .
The unsigned Stirling numbers may also be defined algebraically as the coefficients of the rising factorial:
The notations used on this page for Stirling numbers are not universal, and may conflict with notations in other sources; the square bracket notation is also common notation for the Gaussian coefficients. [2]
Subsequently, it was discovered that the absolute values of these numbers are equal to the number of permutations of certain kinds. These absolute values, which are known as unsigned Stirling numbers of the first kind, are often denoted or . They may be defined directly to be the number of permutations of elements with disjoint cycles. [1]
For example, of the permutations of three elements, there is one permutation with three cycles (the identity permutation, given in one-line notation by or in cycle notation by ), three permutations with two cycles (, , and ) and two permutations with one cycle ( and ). Thus , and . These can be seen to agree with the previous algebraic calculations of for .
For another example, the image at right shows that : the symmetric group on 4 objects has 3 permutations of the form
and 8 permutations of the form
These numbers can be calculated by considering the orbits as conjugacy classes. Alfréd Rényi observed that the unsigned Stirling number of the first kind also counts the number of permutations of size with left-to-right maxima. [3]
The signs of the signed Stirling numbers of the first kind depend only on the parity of n − k.
The unsigned Stirling numbers of the first kind follow the recurrence relation
for , with the boundary conditions
for . [2]
It follows immediately that the signed Stirling numbers of the first kind satisfy the recurrence
We prove the recurrence relation using the definition of Stirling numbers in terms of rising factorials. Distributing the last term of the product, we have
The coefficient of on the left-hand side of this equation is . The coefficient of in is , while the coefficient of in is . Since the two sides are equal as polynomials, the coefficients of on both sides must be equal, and the result follows.
We prove the recurrence relation using the definition of Stirling numbers in terms of permutations with a given number of cycles (or equivalently, orbits).
Consider forming a permutation of objects from a permutation of objects by adding a distinguished object. There are exactly two ways in which this can be accomplished. We could do this by forming a singleton cycle, i.e., leaving the extra object alone. This increases the number of cycles by 1 and so accounts for the term in the recurrence formula. We could also insert the new object into one of the existing cycles. Consider an arbitrary permutation of objects with cycles, and label the objects , so that the permutation is represented by
To form a new permutation of objects and cycles one must insert the new object into this array. There are ways to perform this insertion, inserting the new object immediately following any of the already present. This explains the term of the recurrence relation. These two cases include all possibilities, so the recurrence relation follows.
Below is a triangular array of unsigned values for the Stirling numbers of the first kind, similar in form to Pascal's triangle. These values are easy to generate using the recurrence relation in the previous section.
k n | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|---|
0 | 1 | ||||||||||
1 | 0 | 1 | |||||||||
2 | 0 | 1 | 1 | ||||||||
3 | 0 | 2 | 3 | 1 | |||||||
4 | 0 | 6 | 11 | 6 | 1 | ||||||
5 | 0 | 24 | 50 | 35 | 10 | 1 | |||||
6 | 0 | 120 | 274 | 225 | 85 | 15 | 1 | ||||
7 | 0 | 720 | 1764 | 1624 | 735 | 175 | 21 | 1 | |||
8 | 0 | 5040 | 13068 | 13132 | 6769 | 1960 | 322 | 28 | 1 | ||
9 | 0 | 40320 | 109584 | 118124 | 67284 | 22449 | 4536 | 546 | 36 | 1 | |
10 | 0 | 362880 | 1026576 | 1172700 | 723680 | 269325 | 63273 | 9450 | 870 | 45 | 1 |
Using the Kronecker delta one has,
and
Also
and
Similar relationships involving the Stirling numbers hold for the Bernoulli polynomials. Many relations for the Stirling numbers shadow similar relations on the binomial coefficients. The study of these 'shadow relationships' is termed umbral calculus and culminates in the theory of Sheffer sequences. Generalizations of the Stirling numbers of both kinds to arbitrary complex-valued inputs may be extended through the relations of these triangles to the Stirling convolution polynomials. [4]
These identities may be derived by enumerating permutations directly. For example, a permutation of n elements with n − 3 cycles must have one of the following forms:
The three types may be enumerated as follows:
Sum the three contributions to obtain
Note that all the combinatorial proofs above use either binomials or multinomials of .
Therefore if is prime, then:
for .
Since the Stirling numbers are the coefficients of a polynomial with roots 0, 1, ..., n − 1, one has by Vieta's formulas that
In other words, the Stirling numbers of the first kind are given by elementary symmetric polynomials evaluated at 0, 1, ..., n − 1. [5] In this form, the simple identities given above take the form
and so on.
One may produce alternative forms for the Stirling numbers of the first kind with a similar approach preceded by some algebraic manipulation: since
it follows from Newton's formulas that one can expand the Stirling numbers of the first kind in terms of generalized harmonic numbers. This yields identities like
where Hn is the harmonic number and Hn(m) is the generalized harmonic number
These relations can be generalized to give
where w(n, m) is defined recursively in terms of the generalized harmonic numbers by
(Here δ is the Kronecker delta function and is the Pochhammer symbol.) [6]
For fixed these weighted harmonic number expansions are generated by the generating function
where the notation means extraction of the coefficient of from the following formal power series (see the non-exponential Bell polynomials and section 3 of [7] ).
More generally, sums related to these weighted harmonic number expansions of the Stirling numbers of the first kind can be defined through generalized zeta series transforms of generating functions. [8] [9]
One can also "invert" the relations for these Stirling numbers given in terms of the -order harmonic numbers to write the integer-order generalized harmonic numbers in terms of weighted sums of terms involving the Stirling numbers of the first kind. For example, when the second-order and third-order harmonic numbers are given by
More generally, one can invert the Bell polynomial generating function for the Stirling numbers expanded in terms of the -order harmonic numbers to obtain that for integers
Since permutations are partitioned by number of cycles, one has
The identities
and
can be proved by the techniques at Stirling numbers and exponential generating functions#Stirling numbers of the first kind and Binomial coefficient#Ordinary generating functions.
The table in section 6.1 of Concrete Mathematics provides a plethora of generalized forms of finite sums involving the Stirling numbers. Several particular finite sums relevant to this article include
Additionally, if we define the second-order Eulerian numbers by the triangular recurrence relation [10]
we arrive at the following identity related to the form of the Stirling convolution polynomials which can be employed to generalize both Stirling number triangles to arbitrary real, or complex-valued, values of the input :
Particular expansions of the previous identity lead to the following identities expanding the Stirling numbers of the first kind for the first few small values of :
Software tools for working with finite sums involving Stirling numbers and Eulerian numbers are provided by the RISC Stirling.m package utilities in Mathematica. Other software packages for guessing formulas for sequences (and polynomial sequence sums) involving Stirling numbers and other special triangles is available for both Mathematica and Sage here and here, respectively. [11]
The following congruence identity may be proved via a generating function-based approach: [12]
More recent results providing Jacobi-type J-fractions that generate the single factorial function and generalized factorial-related products lead to other new congruence results for the Stirling numbers of the first kind. [13] For example, working modulo we can prove that
Where is the Iverson bracket.
and working modulo we can similarly prove that
More generally, for fixed integers if we define the ordered roots
then we may expand congruences for these Stirling numbers defined as the coefficients
in the following form where the functions, , denote fixed polynomials of degree in for each , , and :
Section 6.2 of the reference cited above provides more explicit expansions related to these congruences for the -order harmonic numbers and for the generalized factorial products, .
A variety of identities may be derived by manipulating the generating function (see change of basis):
Using the equality
it follows that
and
This identity is valid for formal power series, and the sum converges in the complex plane for |z| < 1.
Other identities arise by exchanging the order of summation, taking derivatives, making substitutions for z or u, etc. For example, we may derive: [14]
or
and
where and are the Riemann zeta function and the Hurwitz zeta function respectively, and even evaluate this integral
where is the gamma function. There also exist more complicated expressions for the zeta-functions involving the Stirling numbers. One, for example, has
This series generalizes Hasse's series for the Hurwitz zeta-function (we obtain Hasse's series by setting k=1). [15] [16]
The next estimate given in terms of the Euler gamma constant applies: [17]
For fixed we have the following estimate :
It is well-known that we don't know any one-sum formula for Stirling numbers of the first kind. A two-sum formula can be obtained using one of the symmetric formulae for Stirling numbers in conjunction with the explicit formula for Stirling numbers of the second kind.
As discussed earlier, by Vieta's formulas, one getThe Stirling number s(n,n-p) can be found from the formula [18]
where The sum is a sum over all partitions of p.
Another exact nested sum expansion for these Stirling numbers is computed by elementary symmetric polynomials corresponding to the coefficients in of a product of the form . In particular, we see that
Newton's identities combined with the above expansions may be used to give an alternate proof of the weighted expansions involving the generalized harmonic numbers already noted above.
The nth derivative of the μth power of the natural logarithm involves the signed Stirling numbers of the first kind:
where is the falling factorial, and is the signed Stirling number.
It can be proved by using mathematical induction.
Stirling numbers of the first kind appear in the formula for Gregory coefficients and in a finite sum identity involving Bell numbers [19]
Infinite series involving the finite sums with the Stirling numbers often lead to the special functions. For example [14] [20]
and
or even
where γm are the Stieltjes constants and δm,0 represents the Kronecker delta function.
Notice that this last identity immediately implies relations between the polylogarithm functions, the Stirling number exponential generating functions given above, and the Stirling-number-based power series for the generalized Nielsen polylogarithm functions.
There are many notions of generalized Stirling numbers that may be defined (depending on application) in a number of differing combinatorial contexts. In so much as the Stirling numbers of the first kind correspond to the coefficients of the distinct polynomial expansions of the single factorial function, , we may extend this notion to define triangular recurrence relations for more general classes of products.
In particular, for any fixed arithmetic function and symbolic parameters , related generalized factorial products of the form
may be studied from the point of view of the classes of generalized Stirling numbers of the first kind defined by the following coefficients of the powers of in the expansions of and then by the next corresponding triangular recurrence relation:
These coefficients satisfy a number of analogous properties to those for the Stirling numbers of the first kind as well as recurrence relations and functional equations related to the f-harmonic numbers, . [21]
One special case of these bracketed coefficients corresponding to allows us to expand the multiple factorial, or multifactorial functions as polynomials in . [22]
The Stirling numbers of both kinds, the binomial coefficients, and the first and second-order Eulerian numbers are all defined by special cases of a triangular super-recurrence of the form
for integers and where whenever or . In this sense, the form of the Stirling numbers of the first kind may also be generalized by this parameterized super-recurrence for fixed scalars (not all zero).
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 n ≥ k ≥ 0 and is written It is the coefficient of the xk term in the polynomial expansion of the binomial power (1 + x)n; this coefficient can be computed by the multiplicative formula
In mathematics, the Bernoulli numbersBn are a sequence of rational numbers which occur frequently in analysis. The Bernoulli numbers appear in the Taylor series expansions of the tangent and hyperbolic tangent functions, in Faulhaber's formula for the sum of m-th powers of the first n positive integers, in the Euler–Maclaurin formula, and in expressions for certain values of the Riemann zeta function.
In mathematics, the Euler numbers are a sequence En of integers defined by the Taylor series expansion
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.
In mathematics, a generating function is a representation of an infinite sequence of numbers as the coefficients of a formal power series. Generating functions are often expressed in closed form, by some expression involving operations on the formal series.
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, they are named after Eric Temple Bell, who wrote about them in the 1930s.
In mathematics, the n-th harmonic number is the sum of the reciprocals of the first n natural numbers:
In linear algebra, the permanent of a square matrix is a function of the matrix similar to the determinant. The permanent, as well as the determinant, is a polynomial in the entries of the matrix. Both are special cases of a more general function of a matrix called the immanant.
In mathematics, the falling factorial is defined as the polynomial
In combinatorics, the inclusion–exclusion principle is a counting technique which generalizes the familiar method of obtaining the number of elements in the union of two finite sets; symbolically expressed as
In mathematics, the double factorial of a number n, denoted by n‼, is the product of all the positive integers up to n that have the same parity as n. That is,
In mathematics, a Lambert series, named for Johann Heinrich Lambert, is a series taking the form
In mathematics, particularly in combinatorics, a Stirling number of the second kind is the number of ways to partition a set of n objects into k non-empty subsets and is denoted by or . Stirling numbers of the second kind occur in the field of mathematics called combinatorics and the study of partitions. They are named after James Stirling.
In mathematics, the Stirling polynomials are a family of polynomials that generalize important sequences of numbers appearing in combinatorics and analysis, which are closely related to the Stirling numbers, the Bernoulli numbers, and the generalized Bernoulli polynomials. There are multiple variants of the Stirling polynomial sequence considered below most notably including the Sheffer sequence form of the sequence, , defined characteristically through the special form of its exponential generating function, and the Stirling (convolution) polynomials, , which also satisfy a characteristic ordinary generating function and that are of use in generalizing the Stirling numbers to arbitrary complex-valued inputs. We consider the "convolution polynomial" variant of this sequence and its properties second in the last subsection of the article. Still other variants of the Stirling polynomials are studied in the supplementary links to the articles given in the references.
The statistics of random permutations, such as the cycle structure of a random permutation are of fundamental importance in the analysis of algorithms, especially of sorting algorithms, which operate on random permutations. Suppose, for example, that we are using quickselect to select a random element of a random permutation. Quickselect will perform a partial sort on the array, as it partitions the array according to the pivot. Hence a permutation will be less disordered after quickselect has been performed. The amount of disorder that remains may be analysed with generating functions. These generating functions depend in a fundamental way on the generating functions of random permutation statistics. Hence it is of vital importance to compute these generating functions.
In combinatorics, the Eulerian number is the number of permutations of the numbers 1 to in which exactly elements are greater than the previous element.
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 as a polynomial in n. In modern notation, Faulhaber's formula is Here, is the binomial coefficient "p + 1 choose r", and the Bj are the Bernoulli numbers with the convention that .
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 parallels in the construction of these two types of numbers, lending support to the binomial-style notation that is used for them.
In mathematics, a Carleman matrix is a matrix used to convert function composition into matrix multiplication. It is often used in iteration theory to find the continuous iteration of functions which cannot be iterated by pattern recognition alone. Other uses of Carleman matrices occur in the theory of probability generating functions, and Markov chains.
In mathematics, a transformation of a sequence's generating function provides a method of converting the generating function for one sequence into a generating function enumerating another. These transformations typically involve integral formulas applied to a sequence generating function or weighted sums over the higher-order derivatives of these functions.
{{cite book}}
: CS1 maint: date and year (link)