Recurrence Relation — Definition, Formula & Examples
A recurrence relation is a rule that defines each term in a sequence based on one or more of the terms that came before it. For example, saying "each term is twice the previous term" is a recurrence relation.
A recurrence relation is an equation of the form that, together with a set of initial conditions , uniquely determines every term of a sequence for .
Key Formula
Where:
- = The nth term of the sequence
- = A function relating the current term to previous terms
- = The number of previous terms the relation depends on (the order)
How It Works
To use a recurrence relation, you need two things: the recursive rule and enough initial values (called initial conditions) to get started. You then apply the rule repeatedly to generate successive terms. For instance, the Fibonacci sequence is defined by with and . Without initial conditions, a recurrence relation does not specify a unique sequence. In many problems, you can also "solve" a recurrence relation by finding a closed-form formula that gives directly in terms of .
Worked Example
Problem: A sequence is defined by and for . Find .
Find a₂: Substitute n = 2 into the recurrence relation.
Find a₃: Substitute n = 3.
Find a₄: Substitute n = 4.
Answer:
Why It Matters
Recurrence relations model real situations where each stage depends on previous stages, such as population growth, compound interest, and algorithm running times. They appear throughout discrete mathematics, computer science, and precalculus courses whenever sequences are defined iteratively rather than by an explicit formula.
Common Mistakes
Mistake: Writing a recurrence relation without specifying initial conditions.
Correction: A recurrence relation alone can describe infinitely many sequences. You must state the starting value(s) — for example, — to pin down a unique sequence.
