Recurrence Relations
Applied Combinatorics (CC BY-SA) · appliedcombinatorics.org
A recurrence defines each term from earlier ones. Fibonacci is the archetype: f(n) = f(n−1) + f(n−2). Linear recurrences with constant coefficients always have a closed form built from the roots of a characteristic polynomial.
Iterate forward, or solve in closed form
Computing a recurrence forward is linear and exact. But a linear recurrence also has a closed form: guess f(n) = rn, get a polynomial in r, and the roots give the basis. For Fibonacci the roots are the golden ratio and its conjugate, yielding Binet's formula.
Scheme
Neighbors
- 🧮 Ch.5 Generating Functions — turn a recurrence into a rational generating function and read off the closed form
- ⚙ Algorithms — recurrences bound divide-and-conquer running time