ArticleslgStudy

mathematics

Generating function transformation

Generating function transformation is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Generating function transformation rather than just read about it. In short: 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 transformatio…

Key takeaways

  • Generating function transformation belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Generating function transformation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Generating function transformation from memory before moving on to harder problems.

Reference excerpt

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]log⁡F(z), then we have a power series expansion for the composite generating function given by

log⁡F(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:

log⁡F(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.

Worked examples

Example 1 — a first encounter with Generating function transformation

Start with the simplest possible case. Write down what Generating function transformation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Generating function transformation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Generating function transformation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Generating function transformation

In research
Generating function transformation appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Generating function transformation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Generating function transformation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Generating functions, so understanding it makes those chapters shorter.
In everyday life
Look for Generating function transformation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Generating function transformation” →

How to study Generating function transformation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Generating function transformation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Generating function transformation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Generating function transformation in simple terms?

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 integ…

Why does Generating function transformation matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Generating function transformation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Generating function transformation.

Tags

  • Generating functions

Keep exploring