Recurrence relations are the backbone of algebraic combinatorics—they're how we describe sequences where each term depends on previous ones, and they show up everywhere from counting problems to algorithm analysis. You're being tested on your ability to recognize different types of recurrences, choose the right solving technique, and connect these structures to combinatorial interpretations like partitions, paths, and counting arguments.
Don't just memorize formulas. For each concept below, know what type of recurrence it represents, which solving method applies, and what combinatorial structures it counts. Exam questions often ask you to set up a recurrence from a word problem, solve it using an appropriate technique, or explain why a particular sequence satisfies a given relation. Master the underlying principles, and you'll handle any variation they throw at you.
Foundational Structures: Linear Recurrences
These are your bread-and-butter recurrences where each term is a linear combination of previous terms. The key insight is that linearity allows us to use superposition—solutions can be added together to form new solutions.
Linear Recurrence Relations
General forman=c1an−1+c2an−2+…+ckan−k—the coefficients ci are constants, and the relation is determined by k previous terms
Order refers to how many previous terms are used; a second-order recurrence uses an−1 and an−2
Initial conditions must be specified for the first k terms to uniquely determine the sequence
Homogeneous Recurrence Relations
No extra terms—the recurrence has the form an=c1an−1+…+ckan−k with nothing added on the right side
Characteristic polynomial is your primary solving tool; find roots to construct the general solution
General solution is a linear combination of terms based on the roots, adjusted for multiplicity if roots repeat
Solution structure combines the homogeneous solution with a particular solution that handles f(n)
Method of undetermined coefficients works when f(n) is polynomial, exponential, or a combination—guess a form and solve for constants
Compare: Homogeneous vs. Non-homogeneous—both use the characteristic equation for the "core" solution, but non-homogeneous requires an extra particular solution. If an FRQ gives you a recurrence with a constant or polynomial term added, immediately identify it as non-homogeneous and plan for both solution components.
Simple Patterns: Arithmetic and Geometric Sequences
These are special cases of first-order linear recurrences with elegant closed forms. They're the building blocks you'll recognize inside more complex recurrences.
Arithmetic Sequences
Constant differenced between consecutive terms: an=an−1+d, or equivalently an=a1+(n−1)d
Sum formulaSn=2n(2a1+(n−1)d) comes from pairing first and last terms
Linear growth—the closed form is a linear function of n, making these easy to identify graphically
Geometric Sequences
Constant ratior between consecutive terms: an=r⋅an−1, or equivalently an=a1rn−1
Sum formulaSn=a11−r1−rn for r=1—memorize this; it appears constantly
Exponential growth or decay depending on whether ∣r∣>1 or ∣r∣<1
Compare: Arithmetic vs. Geometric—arithmetic adds a constant (linear growth), geometric multiplies by a constant (exponential growth). When solving recurrences, recognizing these patterns helps you guess particular solutions for non-homogeneous cases.
Solving Techniques: From Equations to Closed Forms
These methods transform recurrences into explicit formulas. Each technique has its sweet spot—knowing when to apply which method is half the battle.
Characteristic Equation Method
Substitutionan=rn converts the recurrence into a polynomial equation in r
Root types matter—distinct real roots give terms like c1r1n+c2r2n; repeated roots introduce factors of n; complex roots yield trigonometric expressions
Initial conditions determine the specific constants ci in your general solution
Generating Functions for Solving Recurrences
Power series encodingG(x)=∑n=0∞anxn transforms the recurrence into an algebraic equation
Algebraic manipulation lets you solve for G(x) as a closed-form rational function
Coefficient extraction via partial fractions or series expansion recovers the sequence terms—powerful for complex recurrences where characteristic methods get messy
Solving Recurrences Using Iteration
Unrolling the recurrence step-by-step reveals patterns: substitute an−1, then an−2, and so on
Pattern recognition leads to a conjectured closed form, which you then prove by induction
Best for simple cases—use this when the recurrence has obvious structure or when you need intuition before applying formal methods
Compare: Characteristic equation vs. Generating functions—characteristic equations work cleanly for constant-coefficient linear recurrences, while generating functions handle variable coefficients and non-linear cases more flexibly. For exam strategy: try characteristic equations first; switch to generating functions if the algebra gets ugly.
Combinatorial Counting Sequences
These recurrences arise from counting problems and have deep combinatorial interpretations. Understanding why the recurrence holds is often more important than memorizing the formula.
Fibonacci Sequence
RecurrenceFn=Fn−1+Fn−2 with F0=0, F1=1—the classic second-order homogeneous example
Binet's formulaFn=5ϕn−ψn where ϕ=21+5, derived via characteristic equation
Combinatorial interpretation—counts tilings, paths, and appears in nature; know at least one counting argument
Catalan Numbers
RecurrenceCn=∑i=0n−1CiCn−1−i with C0=1—a convolution-type recurrence reflecting recursive structure
Counts everything—valid parentheses, binary trees, triangulations, non-crossing partitions, Dyck paths; know at least three interpretations
Binomial Coefficients Recurrence
Pascal's identity(kn)=(k−1n−1)+(kn−1)—each entry is the sum of two entries above it
Combinatorial proof—choosing k from n either includes or excludes a specific element
Base cases(0n)=(nn)=1 anchor the recursion
Stirling Numbers Recurrence
Stirling numbers of the second kindS(n,k) count partitions of n elements into k non-empty subsets
RecurrenceS(n,k)=k⋅S(n−1,k)+S(n−1,k−1)—the new element either joins an existing subset (k choices) or forms its own
Base casesS(0,0)=1, S(n,0)=0 for n>0, S(n,n)=1
Compare: Binomial coefficients vs. Stirling numbers—both satisfy additive recurrences reflecting "include or exclude" logic, but binomials count ordered selections while Stirling numbers count unordered partitions. FRQs love asking you to derive these recurrences from first principles.
Algorithm Analysis: Divide-and-Conquer
These recurrences describe computational complexity and appear at the intersection of combinatorics and computer science. The structure reflects how algorithms break problems into subproblems.
Divide-and-Conquer Recurrences
Standard formT(n)=aT(n/b)+f(n)—split into a subproblems of size n/b, with f(n) overhead
Examples include merge sort (T(n)=2T(n/2)+n) and binary search (T(n)=T(n/2)+1)
Analysis goal is determining asymptotic growth—is it O(n), O(nlogn), or O(n2)?
Master Theorem
Three cases based on comparing f(n) to nlogba—this comparison determines which term dominates
Case 1: if f(n)=O(nlogba−ϵ), then T(n)=Θ(nlogba)
Quick analysis—lets you solve common recurrences by inspection rather than full derivation; essential for algorithm complexity questions
Tower of Hanoi Recurrence
RecurrenceT(n)=2T(n−1)+1 with T(1)=1—move n−1 disks, move the largest, move n−1 again
Closed formT(n)=2n−1—derive this by iteration or characteristic equation
Classic example of a non-divide-and-conquer recurrence with exponential solution; great for practicing iteration method
Compare: Tower of Hanoi vs. typical divide-and-conquer—Tower of Hanoi has T(n−1) (subtractive), while divide-and-conquer has T(n/b) (divisive). This difference leads to exponential vs. polynomial solutions. If you see subtraction in the argument, expect exponential growth.
Quick Reference Table
Concept
Best Examples
Second-order linear recurrence
Fibonacci sequence, Tower of Hanoi
Characteristic equation solving
Fibonacci (distinct roots), any constant-coefficient linear
Both the Fibonacci sequence and the Tower of Hanoi satisfy second-order recurrences. What structural difference explains why Fibonacci grows polynomially in its closed form's dominant term while Tower of Hanoi grows exponentially?
Given the recurrence an=3an−1−2an−2+5, identify whether it's homogeneous or non-homogeneous, and outline which solving technique you'd apply first.
Compare and contrast Pascal's identity for binomial coefficients with the Stirling numbers recurrence. What combinatorial principle underlies both, and how do their interpretations differ?
If an FRQ asks you to find a closed form for Cn (Catalan numbers) starting from the recurrence, which solving method would you choose and why? What makes this recurrence harder than Fibonacci?
The Master theorem applies to recurrences of the form T(n)=aT(n/b)+f(n). Explain why it cannot be directly applied to the Tower of Hanoi recurrence, and describe what modification to your approach is needed.