Recurrence Relations and Catalan Numbers
Recurrence relations provide a powerful method for counting by expressing the solution for size in terms of solutions for smaller sizes. The Catalan numbers represent one of the most ubiquitous sequences in combinatorics, appearing in diverse counting problems.
A recurrence relation is an equation that defines a sequence in terms of previous terms. A linear recurrence relation with constant coefficients has the form: where are constants and is a function of . If , the recurrence is homogeneous.
The characteristic equation method solves homogeneous linear recurrences. For , we solve: If roots are , the general solution is (or for repeated root ).
The Fibonacci sequence satisfies with . The characteristic equation is:
The roots are (golden ratio) and . Thus:
This closed form is known as Binet's formula.
The Catalan numbers count numerous combinatorial structures. They can be defined by:
- Explicit formula:
- Recurrence relation: and for
- Alternative recurrence:
The first few values are:
The recurrence arises naturally when counting binary trees: a tree with internal nodes can have a left subtree with nodes and a right subtree with nodes.
The -th Catalan number counts:
- Balanced parentheses: ways to arrange pairs of parentheses correctly
- Binary trees: full binary trees with leaves
- Dyck paths: lattice paths from to using steps and that never go below the -axis
- Triangulations: ways to divide a convex -gon into triangles
- Stack sequences: sequences of pushes and pops that are valid
- Non-crossing partitions: ways to partition without crossing arcs when drawn on a circle
For example, corresponds to: ((())), (()()), (())(), ()(()), ()()()
The Catalan numbers grow as by Stirling's approximation. This asymptotic behavior is characteristic of sequences satisfying quadratic recurrences with a unique dominant solution.
The ordinary generating function for Catalan numbers is:
This function satisfies the functional equation , which directly encodes the recurrence relation. Solving this quadratic equation yields the explicit formula above.
The study of recurrence relations connects to linear algebra (matrix methods), complex analysis (generating functions), and differential equations (continuous analogs), making it a central tool in enumerative combinatorics.