Generating Functions - Main Theorem
The Catalan numbers appear in numerous combinatorial structures, and their generating function provides elegant derivations of both the recurrence and closed form.
The ordinary generating function for the Catalan numbers satisfies:
and the Catalan numbers are given by:
Derivation from Recurrence:
The Catalan numbers satisfy and:
This recurrence arises from decomposing binary trees: a tree with internal nodes has a root and two subtrees with and internal nodes respectively, summing over all .
Let . The convolution in the recurrence suggests:
The right side is .
Therefore:
Using the quadratic formula (treating as the unknown):
Since should have and be analytic at , we need the negative sign (the positive sign gives at ):
Extracting the Coefficient:
We can expand using the binomial series:
where .
After simplification: for .
Substituting and comparing coefficients:
This is the closed form for Catalan numbers.
The first few Catalan numbers are:
These count:
- : Five ways to parenthesize four factors: , , , ,
- : Five binary trees with 3 internal nodes
- : Five Dyck paths of length 6 (lattice paths from to staying above the -axis)
The Catalan numbers have over 200 different combinatorial interpretations listed in Richard Stanley's "Enumerative Combinatorics." They appear in the enumeration of full binary trees, well-formed parentheses sequences, non-crossing partitions, triangulations of convex polygons, and many other structures. The asymptotic growth is , which can be derived using Stirling's approximation. The connection between the recurrence relation and the quadratic equation for the generating function is characteristic of algebraic generating functions arising from context-free grammars.