---
title: 'Stirling Polynomials: Definitions & Applications'
url: https://www.emergentmind.com/topics/stirling-polynomials
type: topic
---

# Stirling Polynomials: Definitions & Applications

Stirling polynomials are polynomial families built from Stirling numbers, Stirling permutations, and their higher-order or multivariate analogues. The label does not designate a single canonical sequence: in current usage it includes the second-order Eulerian polynomials on Stirling permutations, polynomial-valued extensions of Stirling numbers of the first and second kind, diagonal Jacobi- and Legendre-Stirling objects, and multivariate first- and second-kind Stirling polynomials tied to Bell polynomials, Faà di Bruno theory, and Lagrange inversion [2506.16438] [1705.08375] [1201.0622] [1311.5067] [2410.12550].

## 1. Terminological scope and basic definitions

The literature uses the term “Stirling polynomials” in several adjacent senses. Some authors reserve it for the second-order Eulerian polynomials \(C_n(x)\) arising from Stirling permutations; others use it for polynomial refinements such as \(S_2(n,k\mid x)\), \(S_{2,r}(n,k\mid x)\), \(s(n,m,Y)\), \(S(n,m,Y)\), or for multivariate families \(S_{n,k}\) and \(B_{n,k}\) that specialize to the classical Stirling numbers of the first and second kind [2508.12577] [1705.08375] [1311.5067].

| Family | Defining relation | Source |
|---|---|---|
| Second-order Eulerian polynomials \(C_n(x)\) | \(C_n(x)=\sum_{\sigma\in Q_n}x^{\operatorname{asc}(\sigma)}=\sum_{\sigma\in Q_n}x^{\operatorname{des}(\sigma)}=\sum_{\sigma\in Q_n}x^{\operatorname{plat}(\sigma)}\) | [2506.16438] |
| Stirling polynomials of the second kind \(S_2(n,k\mid x)\) | \(\frac{1}{k!}(e^t-1)^k e^{xt}=\sum_{n=k}^\infty S_2(n,k\mid x)\frac{t^n}{n!}\) | [1705.08375] |
| Extended Stirling polynomials \(S_{2,r}(n,k\mid x)\) | \(\frac{1}{k!}(e^t-1+rt)^k e^{xt}=\sum_{n=k}^\infty S_{2,r}(n,k\mid x)\frac{t^n}{n!}\) | [1705.08375] |
| Stirling polynomials \(s(n,m,Y)\), \(S(n,m,Y)\) | \((X-Y)_n=\sum_{m=0}^n s(n,m,Y)X^m\), \((X+Y)^n=\sum_{m=0}^n S(n,m,Y)(X)_m\) | [2508.12577] |
| Diagonal Jacobi-Stirling polynomials \(f_k(n;z)\) | \(f_k(n;z)=\mathrm{JS}(n+k,n;z)=\sum_{i=0}^k p_{k,i}(n)z^i\) | [1201.0622] |

A persistent source of confusion is that the same notation may denote different variable orderings or different specializations. The data show, for example, both univariate Stirling-permutation enumerators and multivariate Bell-polynomial-type objects being called Stirling polynomials. The common thread is not a single formula but the role of Stirling structures as coefficient arrays, basis-change operators, or descent-generating functions.

## 2. Stirling permutations and second-order Eulerian polynomials

One central meaning of Stirling polynomial is the second-order Eulerian polynomial attached to classical Stirling permutations. A Stirling permutation is a permutation of the multiset \(\{1,1,2,2,\dots,n,n\}\) in which, for each \(i\), all entries between the two \(i\)’s are at least \(i\). On this set, ascents, descents, and plateaux are equidistributed, and their common enumerator is
\[
C_n(x)=\sum_{\sigma\in Q_n}x^{\operatorname{asc}(\sigma)}
=\sum_{\sigma\in Q_n}x^{\operatorname{des}(\sigma)}
=\sum_{\sigma\in Q_n}x^{\operatorname{plat}(\sigma)}.
\]
These polynomials satisfy
\[
C_{n+1}(x)=(2n+1)xC_n(x)+x(1-x)\frac{d}{dx}C_n(x),\qquad C_0(x)=1,
\]
and admit a convolution formula
\[
C_n(x)=n x C_{n-1}(x)+\sum_{r=1}^{n-1}\binom{n}{n-r+1}C_{n-r}(x)C_{r-1}(x),
\]
together with a lower Hessenberg determinantal expression [2506.16438].

Trivariate and higher refinements mark the joint distribution of ascents, descents, and plateaux. One such refinement satisfies Dumont’s symmetric derivative recurrence
\[
C_{n+1}(x,y,z)=xyz\left(\frac{\partial}{\partial x}+\frac{\partial}{\partial y}+\frac{\partial}{\partial z}\right)C_n(x,y,z),
\]
and later work develops eight-variable and seventeen-variable expansions generalizing the trivariate second-order Eulerian and ascent-plateau polynomials [2506.16438] [2406.04211].

Recent work on Stirling permutation codes converts these polynomial questions into code-theoretic and tree-theoretic ones. The code formalism yields equidistribution results such as up-down-pair with ascent-plateau and exterior up-down-pair with left ascent-plateau, proves that six bivariable set-valued statistics are equidistributed on the set of Stirling permutations, and gives \(e\)-positive expansions for enumerators by left ascent-plateaux, exterior up-down-pairs, and right plateau-descents. The sequel establishes a strong connection between signed permutations in the hyperoctahedral group and Stirling permutations, derives expansion formulas for the joint distribution of type \(A\) and type \(B\) descent statistics, and proves an interlacing property for coefficient polynomials [2210.11372] [2406.04211].

The second-order Eulerian interpretation has also expanded to refined Eulerian-type objects. By introducing the statistics proper ascent-plateau, improper ascent-plateau, and trace, a six-variable Eulerian-type polynomial over a class of restricted Stirling permutations is shown to equal a six-variable Eulerian-type polynomial over signed permutations; suitable parametrizations then produce unified interpretations of \((p,q)\)-Eulerian polynomials and derangement polynomials of types \(A\) and \(B\) [2506.16438].

## 3. Polynomial extensions of Stirling numbers

A second major strand studies polynomial families whose coefficients or basis expansions are Stirling numbers. The classical Stirling polynomials of the second kind are defined by
\[
\frac{1}{k!}(e^t-1)^k e^{xt}=\sum_{n=k}^\infty S_2(n,k\mid x)\frac{t^n}{n!},
\]
and the extended Stirling polynomials of the second kind by
\[
\frac{1}{k!}(e^t-1+rt)^k e^{xt}=\sum_{n=k}^\infty S_{2,r}(n,k\mid x)\frac{t^n}{n!}.
\]
When \(r=0\), \(S_{2,r}(n,k\mid x)\) reduces to the classical polynomial \(S_2(n,k\mid x)\); when \(x=0\), \(S_{2,r}(n,k\mid 0)\) is the extended Stirling number of the second kind. These extended polynomials satisfy
\[
S_{2,r}(n,k\mid x)=\sum_{m=k}^n \binom{n}{m}S_{2,r}(m,k)x^{n-m},
\]
and are linked to the extended Bell polynomials by
\[
\mathrm{Bel}_{n,r}(x)=\sum_{m=0}^n S_{2,r}(n,m)x^m.
\]
They also satisfy the Poisson-moment identity
\[
\mathbb{E}[(X+r)^n]=\mathrm{Bel}_{n,r}(\lambda)=\sum_{m=0}^n S_{2,r}(n,m)\lambda^m
\]
for a Poisson random variable \(X\) with parameter \(\lambda\) [1705.08375].

A broader basis-change theory is obtained by attaching Stirling numbers to an arbitrary polynomial sequence \(P=\{p_n(x)\}_{n\ge 0}\) with \(\deg p_n(x)=n\). The associated Stirling numbers of the second kind are defined by
\[
p_n(x)=\sum_{k=0}^n S_2(n,k;P)\,(x)_k,
\]
and those of the first kind by
\[
(x)_n=\sum_{k=0}^n S_1(n,k;P)\,p_k(x).
\]
Umbral calculus yields generating functions, inverse relations, and orthogonality identities, recovering classical Stirling numbers, Lah numbers, Gould-Hopper numbers, central factorial numbers, Bell, Bernoulli, Euler, Mittag-Leffler, and Laguerre examples within one framework [2202.11306].

A still more general construction is provided by the \(B\)-Stirling numbers associated to potential polynomials. If
\[
\sum_{n=0}^\infty P_n(B;x)\frac{z^n}{n!}=(B(z))^x,
\]
then the coefficients in the monomial and falling-factorial expansions
\[
P_n(B;x)=\sum_{k=0}^n S_B(n,k)x^k
=\sum_{k=0}^n S^B(n,k)(x)_k
\]
define the \(B\)-Stirling numbers of the first and second kind. Their generating functions are
\[
\frac{(\log B(z))^k}{k!}=\sum_{n=k}^\infty S_B(n,k)\frac{z^n}{n!},\qquad
\frac{(B(z)-1)^k}{k!}=\sum_{n=k}^\infty S^B(n,k)\frac{z^n}{n!},
\]
and the two kinds are related through the classical Stirling numbers by
\[
S^{B}(n,k)=\sum_{j=k}^n S_B(n,j)s(j,k),\qquad
S_B(n,k)=\sum_{j=k}^n S^B(n,j)S(j,k).
\]
This framework includes partial and complete Bell polynomials, degenerate and probabilistic Stirling numbers, \(S\)-restricted Stirling numbers, and Lah numbers [2410.12550].

## 4. Multivariate, grammatical, and inversion-theoretic frameworks

A distinct multivariate theory replaces scalar Stirling numbers by homogeneous and isobaric polynomials. In this setting, the partial exponential Bell polynomials \(B_{n,k}\) serve as multivariate Stirling polynomials of the second kind, while a new family \(S_{n,k}\) specializes to the signed Stirling numbers of the first kind. The central inversion law is
\[
\sum_{j=k}^n S_{n,j}B_{j,k}=\delta_{n,k},\qquad
\sum_{j=k}^n B_{n,j}S_{j,k}=\delta_{n,k}.
\]
The families satisfy recurrences paralleling the classical ones and are connected by a Schlömilch-type formula expressing \(S_{n,k}\) in terms of Bell polynomials and conversely. Substituting \(D^j(\varphi)\) for the indeterminates \(X_j\) turns both families into differential polynomials depending on \(\varphi\) and on its inverse \(\overline{\varphi}\), thereby connecting them to Comtet’s treatment of Lagrange inversion and to the Faà di Bruno Hopf algebra discussed by Haiman and Schmitt [1311.5067].

Context-free grammars provide another multivariate mechanism. For Legendre-Stirling permutations and marked Stirling permutations, explicit grammars generate multivariate refinements
\[
B_n(x,y,z,u,v)=\sum_{T\in L_n}\prod_{i\in X(T)}x_{T_i}\prod_{i\in Y(T)}y_{T_i}\prod_{i\in Z(T)}z_{T_i}\prod_{i\in U(T)}u_{T_i}\prod_{i\in V(T)}v_{T_i}
\]
and
\[
T_n(x,y,z)=\sum_{T\in Q_n}\prod_{i\in A(T)}x_{T_i}\prod_{i\in P(T)}z_{T_i}\prod_{i\in D(T)}y_{T_i}.
\]
These multivariate polynomials are stable, and the proof proceeds by showing that the differential operators induced by the grammars preserve stability for multiaffine polynomials, using the Borcea–Brändén theory. As a consequence, univariate specializations such as \(B_n(x)\) and \(T_n(x)\) are real-rooted. The construction resolves two problems posed by Haglund and Visontai about stable multivariate refinements [1208.1420].

Grammar calculus also enters the binomial-Stirling-Eulerian theory. The polynomials
\[
\tilde{A}_n(x,y\mid \alpha)=\sum_{\sigma\in \mathrm{PRW}_{n+1}}
x^{\operatorname{des}(\sigma)}y^{\operatorname{asc}(\sigma)}
\alpha^{\operatorname{LRmin}(\sigma)+\operatorname{RLmin}(\sigma)-2}
\]
incorporate two Stirling statistics, left-to-right minima and right-to-left minima, together with Eulerian statistics. They admit an expansion
\[
\tilde{A}_n(x,y\mid \alpha)
=\sum_{k=0}^{\lfloor n/2\rfloor}\mathcal{I}_{n,k}(\alpha)(xy)^k(x+y)^{n-2k},
\]
and their \(\gamma\)-positivity is proved both by Chen’s grammatical calculus and by a new group action on permutations, extending work of Shareshian and Wachs, Chung–Graham–Knuth, and Postnikov–Reiner–Williams [2310.04969].

## 5. Specialized combinatorial variants

Jacobi-Stirling polynomials arise from the diagonal Jacobi-Stirling numbers of the second kind. Writing
\[
\mathrm{JS}(n+k,n;z)=p_{k,0}(n)+p_{k,1}(n)z+\cdots+p_{k,k}(n)z^k,
\]
one obtains coefficient polynomials \(p_{k,i}(n)\) of degree \(3k-i\). Their diagonal generating functions have the form
\[
\sum_{n\ge 0}p_{k,i}(n)t^n=\frac{A_{k,i}(t)}{(1-t)^{3k-i+1}},
\]
where \(A_{k,i}(t)=\sum_{j=1}^{2k-i}a_{k,i,j}t^j\) has nonnegative integer coefficients. Stanley’s \(P\)-partition theory identifies \(a_{k,i,j}\) with the number of Jacobi-Stirling permutations having \(j-1\) descents, and \(z=1\) yields the Legendre-Stirling case. The associated numerator polynomials are conjectured, and in some cases proved, to be real-rooted [1201.0622].

Stirling permutations on multisets lead to another notion of Stirling polynomial. For a multiset type \(\mathbf{k}=(k_1,\dots,k_n)\) with \(K=k_1+\cdots+k_n\), if \(A_{\mathbf{k},i}\) counts Stirling permutations with \(i\) descents, then the rational generating functions
\[
G_{\mathbf{k}}(x)=\frac{\sum_i A_{\mathbf{k},i}x^i}{(1-x)^{K+1}}
=\sum_{m=0}^\infty B_{\mathbf{k}}(m)x^m,
\]
\[
g_{\mathbf{k}}(x)=\frac{\sum_i A_{\mathbf{k},K+1-i}x^i}{(1-x)^{K+1}}
=\sum_{m=0}^\infty b_{\mathbf{k}}(m)x^m
\]
define Stirling polynomials of the second and first kind. When all multiplicities equal \(2\), these reduce to classical Stirling numbers: \(B_{\mathbf{k}}(m)=S(n+m,m)\) and \(b_{\mathbf{k}}(m)=s(m,m-n)\). The authors construct \(\mathbf{k}\)-Stirling posets with
\[
B_{\mathbf{k}}(m)=\Omega(P_{\mathbf{k}},m),\qquad
b_{\mathbf{k}}(m)=\overline{\Omega}(P_{\mathbf{k}},m),
\]
thereby extending the \(P\)-partition interpretation, and they also introduce Stirling numbers of odd type and generalizations of the central factorial numbers [1308.5399].

A more arithmetic specialization occurs for the numbers \(s(n,n-k)\). A question posed in 1960 by D.S. Mitrinović and R.S. Mitrinović asked whether these numbers could always be expressed באמצעות specific Stirling polynomials. The answer is affirmative: for every \(k\ge 2\) there exist an integer \(m_k\) and a primitive polynomial \(P_k(x)\in \mathbb{Z}[x]\) such that \(s(n,n-k)\) is given for all \(n\ge k\) by an explicit formula involving \(m_k\), \(\binom{n}{k+1}\), a parity factor \((n(n-1))^{\mathrm{mod}(k,2)}\), and \(P_k(n)\); moreover \(P_{2k}(0)=P_{2k+1}(0)\) for all \(k\ge 1\) [1402.5510].

## 6. Analytic, arithmetic, and algebraic applications

Stirling polynomials interact strongly with Bernoulli, Euler, and related special polynomials. Using Faà di Bruno’s formula and Bell polynomials, higher-order Bernoulli and Euler polynomials admit closed formulas and determinant expressions in terms of Stirling numbers of the second kind. For example,
\[
B_n^{(a)}(x)
=\sum_{k=0}^n \binom{n}{k}\sum_{i=0}^k \frac{(-a)_i}{k!}
\sum_{j=0}^i(-1)^{i-j}\binom{i}{j}S(k+j,j)\,x^{n-k},
\]
and
\[
E_n^{(a)}(x)
=\sum_{k=0}^n \binom{n}{k}\sum_{i=0}^k \frac{(-a)_i}{k!}S(k,i)2^{k-i}x^{n-k}.
\]
In this setting, the identity \(B_{n,k}(1,1,\dots,1)=S(n,k)\) is the bridge between Bell polynomials and Stirling numbers [2005.03921].

Related formulas express Bernoulli, poly-Bernoulli, and Cauchy polynomials directly through Stirling and \(r\)-Stirling numbers. Examples include
\[
B_n=\sum_{k=0}^n \frac{(-1)^k k!}{k+1}S(n,k),\qquad
B_n(r)=\sum_{k=0}^n \frac{(-1)^k k!}{k+1}S_r(n+r,k+r),
\]
together with poly-Bernoulli and Cauchy analogues, while high-order Bernoulli polynomials of both kinds at integer arguments are given by explicit finite sums involving \(r\)-Stirling numbers and binomial coefficients [1611.02377] [1401.5958].

The Stirling transform organizes many additional identities. If \(b_n=\sum_{k=0}^n S(n,k)a_k\), then \(a_n=\sum_{k=0}^n s(n,k)b_k\), and this mechanism yields formulas connecting Stirling numbers with hyperharmonic numbers, derangement numbers, Bernoulli and Euler polynomials, powers, and factorials. In particular, the geometric polynomials
\[
\omega_n(x)=\sum_{k=0}^n S(n,k)k!x^k
\]
appear as a Stirling-transform counterpart of ordered Bell numbers and related enumerators [2011.03101].

Polynomial extensions also enter arithmetic questions. The Stirling functions
\[
S(m,n,z)=\frac{(-1)^d}{n!}\sum_{k=0}^n \binom{n}{k}(-1)^k(z-k)^m,\qquad d=m-n,
\]
satisfy \(S(m,n,z)=S(m,n)\) on the zero set of a polynomial \(P_{(m,n)}(z)\). For \(d>0\), the real roots of \(P_{(m,n)}(z)\) are simple, all lie in \([0,n]\), and are exactly \(z=0\) and, when \(d\) is even, \(z=n\). These functions are then used to study divisibility of \(S(m,n)\) and to prove a generalization of Wilson’s theorem [1701.00044].

Recent work also uses Stirling polynomials to compute special values of multiple zeta functions and multiple zeta star functions at non-positive integers. With
\[
(X+Y)^n=\sum_{m=0}^n S(n,m,Y)(X)_m,
\]
the reverse values of multiple zeta functions are expressed as sums over products of the Stirling polynomials \(S(l_j,k_j,L_{j-1}+j)\), factorial ratios, and lower-depth reverse values at zero. The same framework relates these values to Bernoulli numbers and to generalized Gregory coefficients [2508.12577].

Outside classical special-function theory, Stirling numbers govern coefficients of braid matroid Kazhdan–Lusztig polynomials: for braid matroids, restricted Whitney numbers of the first kind become Stirling numbers of the first kind, yielding a non-recursive formula for Kazhdan–Lusztig coefficients and new identities between the two kinds of Stirling numbers [1802.00849]. In Coxeter-theoretic direction, type \(B\) \(q\)-Stirling numbers are expressed by complete homogeneous and elementary symmetric polynomials,
\[
S_B[n,k]=h_{n-k}([1]_q,[3]_q,\ldots,[2k+1]_q),\qquad
c_B[n,k]=e_{n-k}([1]_q,[3]_q,\ldots,[2n-1]_q),
\]
and are connected to conjectural Hilbert series for super coinvariant algebras [2205.14078].

Taken together, these developments show that Stirling polynomials are less a single object than a recurrent algebraic pattern: they mediate between permutation and partition statistics, basis changes among polynomial sequences, stability and real-rootedness phenomena, \(P\)-partition enumerators, and analytic expressions for zeta-type and Bernoulli-type special values.

Source: https://www.emergentmind.com/topics/stirling-polynomials