Generating function transformation

Last updated

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).

Contents

Given a sequence, , the ordinary generating function (OGF) of the sequence, denoted , and the exponential generating function (EGF) of the sequence, denoted , are defined by the formal power series

In this article, we use the convention that the ordinary (exponential) generating function for a sequence is denoted by the uppercase function / for some fixed or formal 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 . 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 given an ordinary generating function where , , and . In the first two cases where , we can expand these arithmetic progression generating functions directly in terms of :

More generally, suppose that and that denotes the primitive root of unity. Then we have the following formula, [1] often known as the root of unity filter:

For integers , another useful formula providing somewhat reversed floored arithmetic progressions are generated by the identity [2]

Powers of an OGF and composition with functions

The exponential Bell polynomials, , are defined by the exponential generating function [3]

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. [4] [5] 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 .

Reciprocals of an OGF (special case of the powers formula)

The power series for the reciprocal of a generating function, , is expanded by

If we let denote the coefficients in the expansion of the reciprocal generating function, then we have the following recurrence relation:

Powers of an OGF

Let be fixed, suppose that , and denote . Then we have a series expansion for given by

and the coefficients satisfy a recurrence relation of the form

Another formula for the coefficients, , is expanded by the Bell polynomials as

where denotes the Pochhammer symbol.

Logarithms of an OGF

If we let and define , then we have a power series expansion for the composite generating function given by

where the coefficients, , in the previous expansion satisfy the recurrence relation given by

and a corresponding formula expanded by the Bell polynomials in the form of the power series coefficients of the following generating function:

Faà di Bruno's formula

Let denote the EGF of the sequence, , and suppose that is the EGF of the sequence, . Faà di Bruno's formula implies that the sequence, , generated by the composition , can be expressed in terms of the exponential Bell polynomials as follows:

Integral transformations

OGF ⟷ EGF conversion formulas

We have the following integral formulas for which can be applied termwise with respect to when is taken to be any formal power series variable: [6]

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 , defined in. [7] 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 .

Example: A double factorial integral for the EGF of the Stirling numbers of the second kind

The single factorial function, , is expressed as a product of two double factorial functions of the form

where an integral for the double factorial function, or rational gamma function, is given by

for natural numbers . This integral representation of then implies that for fixed non-zero and any integral powers , we have the formula

Thus for any prescribed integer , we can use the previous integral representation together with the formula for extracting arithmetic progressions from a sequence OGF given above, to formulate the next integral representation for the so-termed modified Stirling number EGF as

which is convergent provided suitable conditions on the parameter . [8]

Example: An EGF formula for the higher-order derivatives of the geometric series

For fixed non-zero defined such that , let the geometric series over the non-negative integral powers of be denoted by . The corresponding higher-order derivatives of the geometric series with respect to are denoted by the sequence of functions

for non-negative integers . These derivatives of the ordinary geometric series can be shown, for example by induction, to satisfy an explicit closed-form formula given by

for any whenever . As an example of the third OGF EGF conversion formula cited above, we can compute the following corresponding exponential forms of the generating functions :

Fractional integrals and derivatives

Fractional integrals and fractional derivatives (see the main article) form another generalized class of integration and differentiation operations that can be applied to the OGF of a sequence to form the corresponding OGF of a transformed sequence. For we define the fractional integral operator (of order ) by the integral transformation [9]

which corresponds to the (formal) power series given by

For fixed defined such that , we have that the operators . Moreover, for fixed and integers satisfying we can define the notion of the fractional derivative satisfying the properties that

and

for

where we have the semigroup property that only when none of is integer-valued.

Polylogarithm series transformations

For fixed , we have that (compare to the special case of the integral formula for the Nielsen generalized polylogarithm function defined in [10] ) [11]

Notice that if we set , the integral with respect to the generating function, , in the last equation when corresponds to the Dirichlet generating function, or DGF, , of the sequence of provided that the integral converges. This class of polylogarithm-related integral transformations is related to the derivative-based zeta series transformations defined in the next sections.

Square series generating function transformations

For fixed non-zero such that and , we have the following integral representations for the so-termed square series generating function associated with the sequence , which can be integrated termwise with respect to : [12]

This result, which is proved in the reference, follows from a variant of the double factorial function transformation integral for the Stirling numbers of the second kind given as an example above. In particular, since

we can use a variant of the positive-order derivative-based OGF transformations defined in the next sections involving the Stirling numbers of the second kind to obtain an integral formula for the generating function of the sequence, , and then perform a sum over the derivatives of the formal OGF, to obtain the result in the previous equation where the arithmetic progression generating function at hand is denoted by

for each fixed .

Hadamard products and diagonal generating functions

We have an integral representation for the Hadamard product of two generating functions, and , stated in the following form:

where i is the imaginary unit.

More information about Hadamard products as diagonal generating functions of multivariate sequences and/or generating functions and the classes of generating functions these diagonal OGFs belong to is found in Stanley's book. [13] The reference also provides nested coefficient extraction formulas of the form

which are particularly useful in the cases where the component sequence generating functions, , can be expanded in a Laurent series, or fractional series, in , such as in the special case where all of the component generating functions are rational, which leads to an algebraic form of the corresponding diagonal generating function.

Example: Hadamard products of rational generating functions

In general, the Hadamard product of two rational generating functions is itself rational. [14] This is seen by noticing that the coefficients of a rational generating function form quasi-polynomial terms of the form

where the reciprocal roots, , are fixed scalars and where is a polynomial in for all . For example, the Hadamard product of the two generating functions

and

is given by the rational generating function formula [15]

Example: Factorial (approximate Laplace) transformations

Ordinary generating functions for generalized factorial functions formed as special cases of the generalized rising factorial product functions, or Pochhammer k-symbol, defined by

where is fixed, , and denotes the Pochhammer symbol are generated (at least formally) by the Jacobi-type J-fractions (or special forms of continued fractions) established in the reference. [16] If we let denote the convergent to these infinite continued fractions where the component convergent functions are defined for all integers by

and

where denotes an associated Laguerre polynomial, then we have that the convergent function, , exactly enumerates the product sequences, , for all . For each , the convergent function is expanded as a finite sum involving only paired reciprocals of the Laguerre polynomials in the form of

Moreover, since the single factorial function is given by both and , we can generate the single factorial function terms using the approximate rational convergent generating functions up to order . This observation suggests an approach to approximating the exact (formal) Laplace–Borel transform usually given in terms of the integral representation from the previous section by a Hadamard product, or diagonal-coefficient, generating function. In particular, given any OGF we can form the approximate Laplace transform, which is -order accurate, by the diagonal coefficient extraction formula stated above given by

Examples of sequences enumerated through these diagonal coefficient generating functions arising from the sequence factorial function multiplier provided by the rational convergent functions include

where denotes a modified Bessel function, denotes the subfactorial function, denotes the alternating factorial function, and is a Legendre polynomial. Other examples of sequences enumerated through applications of these rational Hadamard product generating functions given in the article include the Barnes G-function, combinatorial sums involving the double factorial function, sums of powers sequences, and sequences of binomials.

Derivative transformations

Positive and negative-order zeta series transformations

For fixed , we have that if the sequence OGF has derivatives of all required orders for , that the positive-order zeta series transformation is given by [17]

where denotes a Stirling number of the second kind. In particular, we have the following special case identity when when denotes the triangle of first-order Eulerian numbers: [18]

We can also expand the negative-order zeta series transformations by a similar procedure to the above expansions given in terms of the -order derivatives of some and an infinite, non-triangular set of generalized Stirling numbers in reverse, or generalized Stirling numbers of the second kind defined within this context.

In particular, for integers , define these generalized classes of Stirling numbers of the second kind by the formula

Then for and some prescribed OGF, , i.e., so that the higher-order derivatives of exist for all , we have that

A table of the first few zeta series transformation coefficients, , appears below. These weighted-harmonic-number expansions are almost identical to the known formulas for the Stirling numbers of the first kind up to the leading sign on the weighted harmonic number terms in the expansions.

k
2
3
4
5
6

Examples of the negative-order zeta series transformations

The next series related to the polylogarithm functions (the dilogarithm and trilogarithm functions, respectively), the alternating zeta function and the Riemann zeta function are formulated from the previous negative-order series results found in the references. In particular, when (or equivalently, when in the table above), we have the following special case series for the dilogarithm and corresponding constant value of the alternating zeta function:

When (or when in the notation used in the previous subsection), we similarly obtain special case series for these functions given by

It is known that the first-order harmonic numbers have a closed-form exponential generating function expanded in terms of the natural logarithm, the incomplete gamma function, and the exponential integral given by

Additional series representations for the r-order harmonic number exponential generating functions for integers are formed as special cases of these negative-order derivative-based series transformation results. For example, the second-order harmonic numbers have a corresponding exponential generating function expanded by the series

Generalized negative-order zeta series transformations

A further generalization of the negative-order series transformations defined above is related to more Hurwitz-zeta-like, or Lerch-transcendent-like , generating functions. Specifically, if we define the even more general parametrized Stirling numbers of the second kind by

,

for non-zero such that , and some fixed , we have that

Moreover, for any integers , we have the partial series approximations to the full infinite series in the previous equation given by

Examples of the generalized negative-order zeta series transformations

Series for special constants and zeta-related functions resulting from these generalized derivative-based series transformations typically involve the generalized r-order harmonic numbers defined by for integers . A pair of particular series expansions for the following constants when is fixed follow from special cases of BBP-type identities as

Several other series for the zeta-function-related cases of the Legendre chi function, the polygamma function, and the Riemann zeta function include

Additionally, we can give another new explicit series representation of the inverse tangent function through its relation to the Fibonacci numbers [19] expanded as in the references by

for and where the golden ratio (and its reciprocal) are respectively defined by .

Inversion relations and generating function identities

Inversion relations

An inversion relation is a pair of equations of the form

which is equivalent to the orthogonality relation

Given two sequences, and , related by an inverse relation of the previous form, we sometimes seek to relate the OGFs and EGFs of the pair of sequences by functional equations implied by the inversion relation. This goal in some respects mirrors the more number theoretic (Lambert series) generating function relation guaranteed by the Möbius inversion formula, which provides that whenever

the generating functions for the sequences, and , are related by the Möbius transform given by

Similarly, the Euler transform of generating functions for two sequences, and , satisfying the relation [20]

is given in the form of

where the corresponding inversion formulas between the two sequences is given in the reference.

The remainder of the results and examples given in this section sketch some of the more well-known generating function transformations provided by sequences related by inversion formulas (the binomial transform and the Stirling transform), and provides several tables of known inversion relations of various types cited in Riordan's Combinatorial Identities book. In many cases, we omit the corresponding functional equations implied by the inversion relationships between two sequences (this part of the article needs more work).

The binomial transform

The first inversion relation provided below implicit to the binomial transform is perhaps the simplest of all inversion relations we will consider in this section. For any two sequences, and , related by the inversion formulas

we have functional equations between the OGFs and EGFs of these sequences provided by the binomial transform in the forms of

and

The Stirling transform

For any pair of sequences, and , related by the Stirling number inversion formula

these inversion relations between the two sequences translate into functional equations between the sequence EGFs given by the Stirling transform as

and

Tables of inversion pairs from Riordan's book

These tables appear in chapters 2 and 3 in Riordan's book providing an introduction to inverse relations with many examples, though which does not stress functional equations between the generating functions of sequences related by these inversion relations. The interested reader is encouraged to pick up a copy of the original book for more details.

Several forms of the simplest inverse relations

RelationFormulaInverse FormulaGenerating Functions (OGF)Generating Functions (EGF)Notes / References
1See the Binomial transform
2
3
4
5
6
7
8
See. [21]
9
Generalization of the binomial transform for such that .
10
The -binomial transform (see [22] )
11
The falling -binomial transform (refer to Spivey's article in [22] )
12
The rising -binomial transform (refer to Spivey's article in [22] )

Gould classes of inverse relations

The terms, and , in the inversion formulas of the form

forming several special cases of Gould classes of inverse relations are given in the next table.

Class
1
2
3
4

For classes 1 and 2, the range on the sum satisfies , and for classes 3 and 4 the bounds on the summation are given by . These terms are also somewhat simplified from their original forms in the table by the identities

The simpler Chebyshev inverse relations

The so-termed simpler cases of the Chebyshev classes of inverse relations in the subsection below are given in the next table.

RelationFormula for Inverse Formula for
1
2
3
4
5
6
7

The formulas in the table are simplified somewhat by the following identities:

Additionally the inversion relations given in the table also hold when in any given relation.

Chebyshev classes of inverse relations

The terms, and , in the inversion formulas of the form

for non-zero integers forming several special cases of Chebyshev classes of inverse relations are given in the next table.

Class
1
2
3
4

Additionally, these inversion relations also hold when for some or when the sign factor of is shifted from the terms to the terms . The formulas given in the previous table are simplified somewhat by the identities

The simpler Legendre inverse relations

RelationFormula for Inverse Formula for
1
2
3
4
5
6
7
8

Legendre–Chebyshev classes of inverse relations

The Legendre–Chebyshev classes of inverse relations correspond to inversion relations of the form

where the terms, and , implicitly depend on some fixed non-zero . In general, given a class of Chebyshev inverse pairs of the form

if a prime, the substitution of , , and (possibly replacing ) leads to a Legendre–Chebyshev pair of the form [23]

Similarly, if the positive integer is composite, we can derive inversion pairs of the form

The next table summarizes several generalized classes of Legendre–Chebyshev inverse relations for some non-zero integer .

Class
1
2
3
4
5
6
7
8

Abel inverse relations

Abel inverse relations correspond to Abel inverse pairs of the form

where the terms, and , may implicitly vary with some indeterminate summation parameter . These relations also still hold if the binomial coefficient substitution of is performed for some non-negative integer . The next table summarizes several notable forms of these Abel inverse relations.

NumberGenerating Function Identity
1
2
3
3a
4
4a
5

Inverse relations derived from ordinary generating functions

If we let the convolved Fibonacci numbers, , be defined by

we have the next table of inverse relations which are obtained from properties of ordinary sequence generating functions proved as in section 3.3 of Riordan's book.

RelationFormula for Inverse Formula for
1
2
3
4
5
6
7
8
9

Note that relations 3, 4, 5, and 6 in the table may be transformed according to the substitutions and for some fixed non-zero integer .

Inverse relations derived from exponential generating functions

Let and denote the Bernoulli numbers and Euler numbers, respectively, and suppose that the sequences, , , and are defined by the following exponential generating functions: [24]

The next table summarizes several notable cases of inversion relations obtained from exponential generating functions in section 3.4 of Riordan's book. [25]

RelationFormula for Inverse Formula for
1
2
3
4
5
6
7
8
9
10

Multinomial inverses

The inverse relations used in formulating the binomial transform cited in the previous subsection are generalized to corresponding two-index inverse relations for sequences of two indices, and to multinomial inversion formulas for sequences of indices involving the binomial coefficients in Riordan. [26] In particular, we have the form of a two-index inverse relation given by

and the more general form of a multinomial pair of inversion formulas given by

Notes

  1. See Section 1.2.9 in Knuth's The Art of Computer Programming (Vol. 1).
  2. Solution to exercise 7.36 on page 569 in Graham, Knuth and Patshnik.
  3. See section 3.3 in Comtet.
  4. See sections 3.3–3.4 in Comtet.
  5. See section 1.9(vi) in the NIST Handbook.
  6. See page 566 of Graham, Knuth and Patashnik for the statement of the last conversion formula.
  7. See Appendix B.13 of Flajolet and Sedgewick.
  8. Refer to the proof of Theorem 2.3 in Math.NT/1609.02803.
  9. See section 1.15(vi)–(vii) in the NIST Handbook.
  10. Weisstein, Eric W. "Nielsen Generalized Polylogarithm". MathWorld.
  11. See equation (4) in section 2 of Borwein, Borwein and Girgensohn's article Explicit evaluation of Euler sums (1994).
  12. See the article Math.NT/1609.02803.
  13. See section 6.3 in Stanley's book.
  14. See section 2.4 in Lando's book.
  15. Potekhina, E. A. (2017). "Application of Hadamard product to some combinatorial and probabilistic problems". Discr. Math. Appl. 27 (3): 177–186. doi:10.1515/dma-2017-0020. S2CID   125969602.
  16. Schmidt, M. D. (2017). "Jacobi type continued fractions for ordinary generating functions of generalized factorial functions". J. Int. Seq. 20: 17.3.4. arXiv: 1610.09691 .
  17. See the inductive proof given in section 2 of Math.NT/1609.02803.
  18. See the table in section 7.4 of Graham, Knuth and Patashnik.
  19. See equation (30) on the MathWorld page for the inverse tangent function.
  20. Weisstein, E. "Euler Transform". MathWorld.
  21. Solution to exercise 5.71 in Concrete Mathematics.
  22. 1 2 3 Spivey, M. Z. (2006). "The k-binomial transforms and the Hankel transform". Journal of Integer Sequences. 9 (Article 06.1.1): 11. Bibcode:2006JIntS...9...11S.
  23. See section 2.5 of Riordan
  24. See section 3.4 in Riordan.
  25. Compare to the inversion formulas given in section 24.5(iii) of the NIST Handbook.
  26. See section 3.5 in Riordan's book.

Related Research Articles

<span class="mw-page-title-main">Binomial distribution</span> Probability distribution

In probability theory and statistics, the binomial distribution with parameters n and p is the discrete probability distribution of the number of successes in a sequence of n independent experiments, each asking a yes–no question, and each with its own Boolean-valued outcome: success or failure. A single success/failure experiment is also called a Bernoulli trial or Bernoulli experiment, and a sequence of outcomes is called a Bernoulli process; for a single trial, i.e., n = 1, the binomial distribution is a Bernoulli distribution. The binomial distribution is the basis for the popular binomial test of statistical significance.

<span class="mw-page-title-main">Binomial coefficient</span> Number of subsets of a given size

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 nk ≥ 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

<span class="mw-page-title-main">Bessel function</span> Families of solutions to related differential equations

Bessel functions, first defined by the mathematician Daniel Bernoulli and then generalized by Friedrich Bessel, are canonical solutions y(x) of Bessel's differential equation for an arbitrary complex number , which represents the order of the Bessel function. Although and produce the same differential equation, it is conventional to define different Bessel functions for these two values in such a way that the Bessel functions are mostly smooth functions of .

In mathematics, a formal series is an infinite sum that is considered independently from any notion of convergence, and can be manipulated with the usual algebraic operations on series.

In mathematical analysis, the Lagrange inversion theorem, also known as the Lagrange–Bürmann formula, gives the Taylor series expansion of the inverse function of an analytic function. Lagrange inversion is a special case of the inverse function theorem.

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 probability theory and statistics, the moment-generating function of a real-valued random variable is an alternative specification of its probability distribution. Thus, it provides the basis of an alternative route to analytical results compared with working directly with probability density functions or cumulative distribution functions. There are particularly simple results for the moment-generating functions of distributions defined by the weighted sums of random variables. However, not all random variables have moment-generating functions.

In mathematics, the Hermite polynomials are a classical orthogonal polynomial sequence.

<span class="mw-page-title-main">Harmonic number</span> Sum of the first n whole number reciprocals; 1/1 + 1/2 + 1/3 + ... + 1/n

In mathematics, the n-th harmonic number is the sum of the reciprocals of the first n natural numbers:

<span class="mw-page-title-main">Beta function</span> Mathematical function

In mathematics, the beta function, also called the Euler integral of the first kind, is a special function that is closely related to the gamma function and to binomial coefficients. It is defined by the integral

<span class="mw-page-title-main">Double factorial</span> Mathematical function

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 combinatorial mathematics, the Bell polynomials, named in honor of Eric Temple Bell, are used in the study of set partitions. They are related to Stirling and Bell numbers. They also occur in many applications, such as in Faà di Bruno's formula.

<span class="mw-page-title-main">AM–GM inequality</span> Arithmetic mean is greater than or equal to geometric mean

In mathematics, the inequality of arithmetic and geometric means, or more briefly the AM–GM inequality, states that the arithmetic mean of a list of non-negative real numbers is greater than or equal to the geometric mean of the same list; and further, that the two means are equal if and only if every number in the list is the same.

In mathematics, the binomial series is a generalization of the polynomial that comes from a binomial formula expression like for a nonnegative integer . Specifically, the binomial series is the MacLaurin series for the function , where and . Explicitly,

In combinatorics, the symbolic method is a technique for counting combinatorial objects. It uses the internal structure of the objects to derive formulas for their generating functions. The method is mostly associated with Philippe Flajolet and is detailed in Part A of his book with Robert Sedgewick, Analytic Combinatorics, while the rest of the book explains how to use complex analysis in order to get asymptotic and probabilistic results on the corresponding generating functions.

<span class="mw-page-title-main">Lambert series</span> Mathematical term

In mathematics, a Lambert series, named for Johann Heinrich Lambert, is a series taking the form

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.

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.

In the mathematical theory of special functions, the Pochhammer k-symbol and the k-gamma function, introduced by Rafael Díaz and Eddy Pariguan are generalizations of the Pochhammer symbol and gamma function. They differ from the Pochhammer symbol and gamma function in that they can be related to a general arithmetic progression in the same manner as those are related to the sequence of consecutive integers.

In number theory, the prime omega functions and count the number of prime factors of a natural number Thereby counts each distinct prime factor, whereas the related function counts the total number of prime factors of honoring their multiplicity. That is, if we have a prime factorization of of the form for distinct primes , then the respective prime omega functions are given by and . These prime factor counting functions have many important number theoretic relations.

References