Discrete Mathematics · Recurrence Relations
Linear Recurrence Relations
Explanation
Recurrence Relation
A formula defining the -th term of a sequence as a function of previous terms.
**Linear homogeneous recurrence of order :**
Solution: Find roots of the characteristic equation:
Example — Fibonacci: , , .
- Characteristic equation: , roots: , .
- Binet's formula:
Non-homogeneous recurrence:
Method: Particular solution + homogeneous solution.
Common particular solution guesses:
A formula defining the -th term of a sequence as a function of previous terms.
**Linear homogeneous recurrence of order :**
Solution: Find roots of the characteristic equation:
| Case | Roots | General solution |
|---|---|---|
| Distinct roots | ||
| Repeated root |
Example — Fibonacci: , , .
- Characteristic equation: , roots: , .
- Binet's formula:
Non-homogeneous recurrence:
Method: Particular solution + homogeneous solution.
Common particular solution guesses:
| Guess | |
|---|---|
| Constant | (constant) |
| ( not a root) | |
| ( is a simple root) |
Interactive Visualization
Loading visualization
Worked Examples
Practice
Exercise 1 of 6
1
What is the 6th term of the Fibonacci sequence ()?
★Quiz
Test your knowledge from this lesson
A mix of questions from the lesson — each attempt varies slightly
Answer at least 4 out of 5 questions correctly to pass (70%)