Folioby Interconnected
Log InSign Up

Combinatorics and Algebra: Formal Power Series and an Introduction to Algebraic Combinatorics

We examine the algebraic structure of the formal power series ring Q[[x]], including multiplicative inverses, composition, and formal differentiation. We then discuss P-recursive (holonomic) sequences, prove the Lagrange inversion formula, and introduce the WZ method and hypergeometric series.

FO
Folio Official
March 1, 2026

1 The Ring of Formal Power Series

Definition 1 (Formal power series ring).
The ring of formal power seriesQ[[x]] over Q consists of all expressions of the form
f(x)=n=0∑∞​an​xn(an​∈Q),
equipped with coefficientwise addition and convolution (Cauchy product) as multiplication.
Theorem 2.
Q[[x]] is an integral domain. That is, if f(x)=0 and g(x)=0, then f(x)g(x)=0.
Proof.
Write f(x)=∑an​xn and g(x)=∑bn​xn. Let p and q be the smallest indices with ap​=0 and bq​=0, respectively. The coefficient of xp+q in f(x)g(x) is ∑k=0p+q​ak​bp+q−k​. When k<p we have ak​=0, and when k>p we have p+q−k<q so bp+q−k​=0. The only surviving term is ap​bq​=0. □

2 Multiplicative Inverses

Theorem 3.
A formal power series f(x)=∑n=0∞​an​xn∈Q[[x]] has a multiplicative inverse if and only if a0​=0.
Proof.
(⇒) If f(x)g(x)=1, then the product of the constant terms must be 1, so a0​=0.

(⇐) We construct g(x)=∑bn​xn satisfying f(x)g(x)=1. Set b0​=1/a0​. For n≥1, the equation ∑k=0n​ak​bn−k​=0 gives
bn​=−a0​1​k=1∑n​ak​bn−k​,
which determines each bn​ uniquely by induction. □

3 Composition

Definition 4 (Composition).
For f(x)=∑an​xn and g(x)=∑n≥1​bn​xn (where g has zero constant term), the compositionf(g(x))=∑n=0∞​an​g(x)n is a well-defined element of Q[[x]].
Theorem 5.
A formal power series g(x)=∑n≥1​bn​xn has a compositional inverse gˉ​ (satisfying g(gˉ​(x))=gˉ​(g(x))=x) if and only if b1​=0.
Proof.
Write gˉ​(x)=∑cn​xn with c0​=0. Comparing the coefficient of x in g(gˉ​(x))=x gives b1​c1​=1, so c1​=1/b1​ (requiring b1​=0). The higher-order coefficients are then uniquely determined by successive comparison of coefficients. □

4 Formal Differentiation

Definition 6 (Formal derivative).
The formal derivative is defined by
D(n=0∑∞​an​xn)=n=1∑∞​nan​xn−1.
The operator D is a derivation on Q[[x]]: it satisfies D(fg)=D(f)g+fD(g).

5 P-recursive Sequences

Definition 7 (P-recursive (holonomic) sequence).
A sequence (an​) is P-recursive (or holonomic) if there exist polynomials p0​(n),p1​(n),…,pd​(n) in n (with pd​ not identically zero) such that
pd​(n)an+d​+pd−1​(n)an+d−1​+⋯+p0​(n)an​=0
for all sufficiently large n.
Example 8.
The sequence an​=n! satisfies an+1​=(n+1)an​, i.e., an+1​−(n+1)an​=0, so it is P-recursive. The central binomial coefficients an​=(n2n​) are also P-recursive, satisfying (n+1)an+1​=2(2n+1)an​.
Remark 9.
The generating function of a P-recursive sequence satisfies a linear ODE with polynomial coefficients; such a series is called D-finite. The class of P-recursive sequences is closed under addition, Hadamard (termwise) product, and convolution. A great many sequences arising in combinatorics belong to this class.

6 The Lagrange Inversion Formula

Theorem 10 (Lagrange inversion formula).
Let ϕ(x)∈Q[[x]] with ϕ(0)=0. Then the equation f(x)=xϕ(f(x)) has a unique solution f(x)∈Q[[x]] with f(0)=0, and its coefficients are given by
[xn]f(x)=n1​[yn−1]ϕ(y)n.
More generally, for any h(x)∈Q[[x]],
[xn]h(f(x))=n1​[yn−1]h′(y)ϕ(y)n.
Proof.
From f(x)=xϕ(f(x)) we obtain x=f/ϕ(f). Treating g=f as a new variable, we have x(g)=g/ϕ(g), and [xn]h(f(x)) can be computed by an appropriate change of variables.

More formally, [xn]h(f)=n1​[xn−1]h′(x)ϕ(x)n, which can be established by a residue-like calculation. We write [xn]h(f)=2πi1​∮h(f(x))x−n−1dx and substitute x=g/ϕ(g), so dx=(ϕ(g)−gϕ′(g))/ϕ(g)2dg. Simplifying yields the desired identity. (Within the framework of formal power series, a direct coefficient-comparison proof is also possible.) □
Example 11.
For the Catalan numbers: set f(x)=x(1+f(x))2, i.e., ϕ(y)=(1+y)2. Then [xn]f(x)=n1​[yn−1](1+y)2n=n1​(n−12n​)=n+11​(n2n​)=Cn​.

7 The WZ Method and Hypergeometric Series

Definition 12 (Hypergeometric term).
A sequence (tk​) is a hypergeometric term if tk+1​/tk​ is a rational function of k.
Definition 13 (Hypergeometric series).
The hypergeometric series is
p​Fq​(a1​,…,ap​b1​,…,bq​​;x)=k=0∑∞​(b1​)k​⋯(bq​)k​(a1​)k​⋯(ap​)k​​k!xk​,
where (a)k​=a(a+1)⋯(a+k−1) is the Pochhammer symbol (rising factorial).
Theorem 14 (Principle of the WZ method (Wilf–Zeilberger, 1990)).
To prove an identity ∑k​F(n,k)=c (a constant independent of n), it suffices to find a rational function R(n,k)— the WZ proof certificate— such that G(n,k)=R(n,k)F(n,k) satisfies
F(n+1,k)−F(n,k)=G(n,k+1)−G(n,k).
Summing over k, the right-hand side telescopes to 0, yielding ∑k​F(n+1,k)=∑k​F(n,k).
Remark 15.
Gosper's algorithm determines algorithmically whether a given hypergeometric term has a closed-form indefinite sum, and can verify the existence of a WZ pair. Zeilberger's algorithm (creative telescoping) automatically discovers a recurrence satisfied by a hypergeometric sum. These methods form the foundation for computer-algebraic proof of combinatorial identities.
Example 16.
The Vandermonde convolution ∑k=0r​(km​)(r−kn​)=(rm+n​) is a special case of the Chu–Vandermonde identity 2​F1​(−m,−r;n−r+1;1)=(rm+n​)/(rn​) and can be proved mechanically by the WZ method.
CombinatoricsDiscrete MathematicsTextbookFormal Power SeriesAlgebraic Combinatorics
FO
Folio Official

Mathematics "between the lines" — exploring the intuition textbooks leave out, written in LaTeX on Folio.

1 followers·107 articles
Combinatorics TextbookPart 13 of 13
Previous
Partially Ordered Sets and Lattices: The Combinatorics of Order
No next article

Share your expertise with the world

Write articles with LaTeX support, build your audience, and earn from your knowledge.

Start Writing — It's Free

More from Folio Official

Folio Official·March 1, 2026

Recurrence Relations and Counting: Solving Linear Recurrences

We present the method of characteristic equations for solving linear recurrences with constant coefficients, treat the case of repeated roots, discuss nonhomogeneous recurrences, establish the equivalence with generating functions, and introduce matrix exponentiation and the Kitamasa method.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

The Inclusion--Exclusion Principle: Counting by Alternating Sums

We prove the inclusion--exclusion principle and apply it to derive the formula for the number of derangements D_n, Euler's totient function, the relationship between surjections and Stirling numbers of the second kind, and the M\"{o}bius inversion formula.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

Combinatorial Designs and Latin Squares: Balanced Arrangements

We define Latin squares and prove their existence, introduce mutually orthogonal Latin squares (MOLS), develop the theory of balanced incomplete block designs (BIBDs), prove Fisher's inequality, and discuss the connection with finite projective planes.

CombinatoricsDiscrete MathematicsTextbook
Folio Official·March 1, 2026

Burnside's Lemma and P\'olya Enumeration: Counting Under Symmetry

Starting from the definitions of group actions, orbits, and stabilizers, we prove Burnside's lemma (the Cauchy--Frobenius theorem), introduce the cycle index of a permutation group, and derive P\'olya's enumeration theorem. Applications to necklace and bracelet counting are given.

CombinatoricsDiscrete MathematicsTextbook