What is a Generating Fraction?

A generating fraction, more commonly known as a generating function, is a powerful tool in mathematics used to study sequences of numbers. It’s a formal power series where the coefficients of each term represent elements of a sequence. Generating functions are widely used in combinatorics, probability, and other areas of mathematics.

Understanding Generating Functions

Definition

A generating function for a sequence $a_0, a_1, a_2, ldots$ is a formal power series given by:

$G(x) = a_0 + a_1x + a_2x^2 + a_3x^3 + ldots$

Here, $a_n$ represents the $n$-th term of the sequence, and $x$ is an indeterminate.

Example

Consider the sequence $1, 1, 1, ldots$, where every term is 1. The generating function for this sequence is:

$G(x) = 1 + x + x^2 + x^3 + ldots$

This series is a geometric series with a common ratio $x$. Using the formula for the sum of an infinite geometric series, we get:

$G(x) = frac{1}{1 – x}$

Types of Generating Functions

There are several types of generating functions, each serving different purposes:

Ordinary Generating Functions (OGFs)

The most common type, where the generating function is a formal power series:

$G(x) = sum_{n=0}^{infty} a_n x^n$

Exponential Generating Functions (EGFs)

In an exponential generating function, each term is divided by the factorial of its index:

$E(x) = sum_{n=0}^{infty} frac{a_n x^n}{n!}$

Dirichlet Generating Functions (DGFs)

Used primarily in number theory, where the generating function is given by:

$D(s) = sum_{n=1}^{infty} frac{a_n}{n^s}$

Applications of Generating Functions

Combinatorics

Generating functions are extensively used in combinatorics to solve counting problems. For example, they can be used to find the number of ways to partition a set or to solve recurrence relations.

Probability

In probability theory, generating functions are used to study distributions of random variables. The moment generating function, a type of generating function, is used to find moments of a distribution.

Number Theory

In number theory, generating functions help in studying properties of integers, such as the distribution of prime numbers.

Solving Recurrence Relations

Generating functions provide a method to solve linear recurrence relations. Consider the Fibonacci sequence defined by the recurrence relation:

$F_n = F_{n-1} + F_{n-2}$

with initial conditions $F_0 = 0$ and $F_1 = 1$. The generating function for the Fibonacci sequence is:

$G(x) = sum_{n=0}^{infty} F_n x^n$

Multiplying both sides of the recurrence relation by $x^n$ and summing from $n=2$ to infinity, we get:

$G(x) – x – x^2 = xG(x) + x^2G(x)$

Solving for $G(x)$ yields:

$G(x) = frac{x}{1 – x – x^2}$

Conclusion

Generating functions are a versatile and powerful tool in mathematics, providing a bridge between sequences and functions. They simplify complex problems and offer insights into various mathematical areas, from combinatorics to probability and number theory.

Understanding generating functions and their applications can greatly enhance your problem-solving skills and deepen your appreciation for the beauty of mathematics.

1. Wikipedia – Generating Function

Citations

  1. 2. MathWorld – Generating Function
  2. 3. Khan Academy – Generating Functions

Related

(2) O3 + H → O2 + OH k2 = 1.78×10^-11 cm^3 s^-1 (3) O + OH → O2 + H k3 = 4.40×10^-11 cm^3 s^-1 (5) O + HO2 → O2 + OH k5 = 3.50×10^-11 cm^3 s^-1 (6) H + HO2 → O2 + H2 k6 = 5.40×10^-12 cm^3 s^-1 (9) OH + HO2 → O2 + H2O2 k9 = 4.00×10^-11 cm^3 s^-1 (10) HO2 + HO2 → O2 + H2O2 k10 = 2.50×10^-12 cm s^-1 (11) O + O2 + M → O3 + M k11 = 1.05×10^-34 cm^6 s^-1 (14) H + O2 + M → HO2 + M k14 = 8.08×10^-32 cm^6 s^-1 (15) H + H + M → H2O + M k15 = 3.31×10^-27 cm^6 s^-1 (16) O2 + hv → 2 O k16 = (1.26×10^-8 s^-1) φ (17) H2O + hv → H + OH k17 = (3.4×10^-6 s^-1) φ (18) O3 + hv → O2 + O k18 = (7.10×10^-5 s^-1) φ

Table 1 Reactions, rate constants and activation energies used in the model* No. Reaction kopt (M⁻¹ s⁻¹) 1 OH + H₂ → H + H₂O 3.74 x 10⁷ 2 OH + HO₂ → HO₂ + OH⁻ 5 x 10⁹ 3 OH + H₂O₂ → HO₂ + H₂O 3.8 x 10⁷ 4 OH + O₂ → O₂ + OH 9.96 x 10⁹ 5 OH + HO₂ → O₂ + H₂O 7.1 x 10⁹ 6 OH + OH → H₂O₂ 5.3 x 10⁹ 7 OH + e⁻aq → OH⁻ 3 x 10¹⁰ 8 H + O₂ → HO₂ 2.0 x 10¹⁰ 9 H + HO₂ → H₂O₂ 2.0 x 10¹⁰ 10 H + H₂O₂ → OH + H₂O 3.44 x 10⁷ 11 H + OH → H₂O 1.4 x 10¹⁰ 12 H + H → H₂ 1.94 x 10¹⁰ 13 e⁻aq + O₂ → O₂⁻ 1.9 x 10¹⁰ 14 e⁻aq + O₂ → HO₂⁻ + OH⁻ 1.3 x 10¹⁰ 15 e⁻aq + HO₂ 2.0 x 10¹⁰ 16 e⁻aq + H₂O₂ 1.1 x 10¹⁰ 17 e⁻aq + HO₂ → OH + OH⁻ 1.3 x 10¹⁰ 18 e⁻aq + H⁺ → H 2.3 x 10¹⁰ 19 e⁻aq + e⁻aq → H₂ + OH⁻ + OH⁻ 2.5 x 10⁹ 20 HO₂ + O₂ → O₂ + HO₂ 1.3 x 10⁹ 21 HO₂ + HO₂ → O₂ + H₂O₂ 8.3 x 10⁵ 22 HO₂ + HO₂ → O₂ + OH + H₂O 3.7 23 HO₂ + HO₂ → O₂ + O₂ + OH + H₂O 7 x 10⁵ s⁻¹ 24 H⁺ + O₂⁻ → HO₂ 4.5 x 10¹⁰ 25 H⁺ + O₂⁻ → O₂ 2.0 x 10¹⁰ 26 H⁺ + OH⁻ 1.4 x 10¹¹ 27 H⁺ + HO₂⁻ 2 x 10¹⁰ 28 H₂O₂ → HO₂ + H⁺ + OH⁻ 2.5 x 10⁻⁵ s⁻¹ 29 H₂O₂ → H⁺ + OH⁻ 1.4 x 10⁻⁷ s⁻¹ 30 O₂ + O₂ → O₂ + HO₂ + OH⁻ 0.3 31 O₂ + H₂O₂ → O₂ + OH + OH 16 32

(2) O3 + H → O2 + OH k2 = 1.78×10^-11 cm^3 s^-1 (3) O + OH → O2 + H k3 = 4.40×10^-11 cm^3 s^-1 (5) O + HO2 → O2 + OH k5 = 3.50×10^-11 cm^3 s^-1 (6) H2O + O → 2 OH k6 = 5.40×10^-12 cm^3 s^-1 (9) OH + HO2 → O2 + H2O k9 = 4.00×10^-11 cm^3 s^-1 (10) HO2 + HO2 → O2 + H2O2 k10 = 2.50×10^-12 cm s^-1 (11) O + O2 + M → O3 + M k11 = 1.05×10^-34 cm^6 s^-1 (14) H + O2 + M → HO2 + M k14 = 8.08×10^-32 cm^6 s^-1 (15) OH + H + M → H2O + M k15 = 3.31×10^-27 cm^6 s^-1 (16) O2 + hv → 2 O k16 = (1.26×10^-8 s^-1) φ (17) H2O + hv → H + OH k17 = (3.4×10^-6 s^-1) φ (18) O3 + hv → O2 + O k18 = (7.10×10^-8 s^-1) φ