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 (see integral transformations) or weighted sums over the higher-order derivatives of these functions (see derivative transformations). Given a sequence, {fn}n=0∞, the ordinary generating function (OGF) of the sequence, denoted F(z), and the exponential generating function (EGF) of the sequence, denoted F^(z), are defined by the formal power series:
F(z)=∑n=0∞fnzn=f0+f1z+f2z2+⋯ F^(z)=∑n=0∞fnn!zn=f00!+f11!z+f22!z2+⋯. In this article, we use the convention that the ordinary (exponential) generating function for a sequence {fn} is denoted by the uppercase function F(z) / F^(z) for some fixed or formal z when the context of this notation is clear. Additionally, we use the bracket notation for coefficient extraction from the Concrete Mathematics reference which is given by [zn]F(z):=fn. The main article gives examples of generating functions for many sequences. Other examples of generating function variants include Dirichlet generating functions (DGFs), Lambert series, and Newton series. In this article we focus on transformations of generating functions in mathematics and keep a running list of useful transformations and transformation formulas.
Extracting arithmetic progressions of a sequence
Series multisection provides formulas for generating functions enumerating the sequence {fan+b} given an ordinary generating function F(z) where a,b∈ℕ, a≥2, and 0≤b<a. In the first two cases where (a,b):=(2,0),(2,1), we can expand these arithmetic progression generating functions directly in terms of F(z):
∑n≥0f2nz2n=12(F(z)+F(−z)) ∑n≥0f2n+1z2n+1=12(F(z)−F(−z)). More generally, suppose that a≥3 and that ωa:=exp(2πıa) denotes the ath primitive root of unity. Then we have the following formula, often known as the root of unity filter:
∑n≥0fan+bzan+b=1a×∑m=0a−1ωa−mbF(ωamz). For integers m≥1, another useful formula providing somewhat reversed floored arithmetic progressions are generated by the identity
∑n≥0f⌊nm⌋zn=1−zm1−zF(zm)=(1+z+⋯+zm−2+zm−1)F(zm).
Powers of an OGF and composition with functions The exponential Bell polynomials, Bn,k(x1,…,xn):=n!⋅[tnuk]Φ(t,u), are defined by the exponential generating function
Φ(t,u)=exp(u×∑m≥1xmtmm!)=1+∑n≥1{∑k=1nBn,k(x1,x2,…)uk}tnn!. The next formulas for powers, logarithms, and compositions of formal power series are expanded by these polynomials with variables in the coefficients of the original generating functions. The formula for the exponential of a generating function is given implicitly through the Bell polynomials by the EGF for these polynomials defined in the previous formula for some sequence of {xi}.
Reciprocals of an OGF (special case of the powers formula) The power series for the reciprocal of a generating function, F(z), is expanded by
1F(z)=1f0−f1f02z+(f12−f0f2)f03z2−f13−2f0f1f2+f02f3f04z3+⋯. If we let bn:=[zn]1/F(z) denote the coefficients in the expansion of the reciprocal generating function, then we have the following recurrence relation:
bn=−1f0(f1bn−1+f2bn−2+⋯+fnb0),n≥1.
Powers of an OGF Let m∈ℂ be fixed, suppose that f0=1, and denote bn(m):=[zn]F(z)m. Then we have a series expansion for F(z)m given by
F(z)m=1+mf1z+m((m−1)f12+2f2)z22+(m(m−1)(m−2)f13+6m(m−1)f1f2+6mf3)z36+⋯, and the coefficients bn(m) satisfy a recurrence relation of the form
n⋅bn(m)=(m−n+1)f1bn−1(m)+(2m−n+2)f2bn−2(m)+⋯+((n−1)m−1)fn−1b1(m)+nmfn,n≥1. Another formula for the coefficients, bn(m), is expanded by the Bell polynomials as
F(z)m=f0m+∑n≥1(∑1≤k≤n(m)kf0m−kBn,k(f1⋅1!,f2⋅2!,…,fn−k+1⋅(n−k+1)!))znn!, where (r)n denotes the Pochhammer symbol.
Logarithms of an OGF If we let f0=1 and define qn:=[zn]logF(z), then we have a power series expansion for the composite generating function given by
logF(z)=f1z+2f2−f122z2+3f3−3f1f2+f133z3+… where the coefficients, qn, in the previous expansion satisfy the recurrence relation given by
n⋅qn=nfn−(n−1)f1qn−1−(n−2)f2qn−2−⋯−fn−1q1, and a corresponding formula expanded by the Bell polynomials in the form of the power series coefficients of the following generating function:
logF(z)=∑n≥1(∑1≤k≤n(−1)k−1(k−1)!Bn,k(f1⋅1!,f2⋅2!,…))znn!.
Faà di Bruno's formula
Let F^(z) denote the EGF of the sequence, {fn}n≥0, and suppose that G^(z) is the EGF of the sequence, {gn}n≥0. Faà di Bruno's formula implies that the sequence, {hn}n≥0, generated by the composition H^(z):=F^(G^(z)), can be expressed in terms of the exponential Bell polynomials as follows:
hn=∑1≤k≤nfk⋅Bn,k(g1,g2,⋯,gn−k+1)+f0⋅δn,0.
Integral transformations
OGF ⟷ EGF conversion formulas We have the following integral formulas for a,b∈ℤ+ which can be applied termwise with respect to z when z is taken to be any formal power series variable:
∑n≥0fnzn=∫0∞F^(tz)e−tdt=z−1ℒ[F^](z−1) ∑n≥0Γ(an+b)⋅fnzn=∫0∞tb−1e−tF(taz)dt. ∑n≥0fnn!zn=12π∫−ππF(ze−ıϑ)eeıϑdϑ. Notice that the first and last of these integral formulas are used to convert between the EGF to the OGF of a sequence, and from the OGF to the EGF of a sequence whenever these integrals are convergent. The first integral formula corresponds to the Laplace transform (or sometimes the formal Laplace–Borel transformation) of generating functions, denoted by ℒ[F](z), defined in. Other integral representations for the gamma function in the second of the previous formulas can of course also be used to construct similar integral transformations. One particular formula results in the case of the double factorial function example given immediately below in this section. The last integral formula is compared to Hankel's loop integral for the reciprocal gamma function applied termwise to the power series for F(z).
Example: A double factorial integral for the EGF of the Stirling numbers of the second kind The single factorial function, (2n)!, is expressed as a product of two double factorial functions of the form
(2n)!=(2n)!!×(2n−1)!!=4n⋅n!π×Γ(n+12), where an integral for the double factorial function, or rational gamma function, is given by
12⋅(2n−1)!!=2n4πΓ(n+12)=12π×∫0∞e−t2/2t2ndt, for natural numbers n≥0. This integral representation of (2n−1)!! then implies that for fixed non-zero q∈ℂ and any integral powers k≥0, we have the formula
… excerpt ends here. Continue reading the full article.