Lagrange Inversion Theorem
The Lagrange inversion theorem is a fundamental tool for extracting coefficients from implicitly defined generating functions. It provides explicit formulas for counting recursive combinatorial structures such as trees, which are naturally described by functional equations.
Let be a formal power series with , and let be defined implicitly by:
Then for any formal power series and any positive integer :
In particular, taking :
The Catalan generating function satisfies:
Rewrite as . Let and ... Actually, better to use the form:
Let , so and:
This is in the form with . By Lagrange inversion:
Thus for .
Actually, directly: gives for , with , yielding the Catalan recurrence.
The proof uses complex analysis (residue calculus) or purely algebraic methods. We sketch the algebraic approach:
Let satisfy . Then:
Comparing coefficients of :
through a careful inductive argument. The key is that depends only on and not on the specific solution .
For the general case with , we use the chain rule:
Since , differentiation gives:
Solving: .
The coefficient can be computed using the implicit function and power series manipulation.
A binary tree is either empty or consists of a root with two subtrees. If counts binary trees:
This is identical to the Catalan equation. The number of binary trees with internal nodes is .
For plane trees (rooted ordered trees), if is the generating function:
So , giving or ... This doesn't work. Actually: is for sequences, giving , so , not interesting.
The correct equation for plane trees is:
Using Lagrange inversion with :
Wait, , so:
The number of labeled rooted trees on vertices is (Cayley's formula), but the generating function gives per ... This is the EGF.
If and is any power series, then:
This generalizes to extracting any function composition involving the implicit function.
The Lagrange inversion theorem is fundamental in:
- Tree enumeration: Counting various classes of trees (binary, plane, labeled, unlabeled)
- Species theory: Analyzing combinatorial species and their generating functions
- Asymptotic analysis: Deriving growth rates of sequences via singularity analysis
- Parking functions: Counting parking arrangements and related permutation statistics
The theorem bridges recursive definitions and explicit formulas, making it indispensable for advanced enumeration.
Lagrange inversion exemplifies the power of generating functions to transform complex recursive structures into tractable algebraic problems.