A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Solving Linear Recurrence Relations via Characteristic Equations

College Depth 75 in the knowledge graph ☐ I know this ☆ Set as goal
2topics build on this
358prerequisites beneath it
See this on the map →
Setting Up Recurrence Relations→→Nonhomogeneous Recurrence Relations and Particular Solutions
recurrence-relations characteristic-equations

Core Idea

For homogeneous linear recurrences a(n) = c₁a(n-1) + ⋯ + cₖa(n-k), the characteristic equation is xᵏ - c₁xᵏ⁻¹ - ⋯ - cₖ = 0. The general solution is a linear combination of terms rn where r are roots of the characteristic equation. Repeated roots yield polynomial factors in the solution.

Explainer

You already know what a recurrence relation is — a rule that defines each term of a sequence in terms of earlier terms. The Fibonacci sequence is the classic example: F(n) = F(n−1) + F(n−2). The challenge is going from this recursive rule to an explicit closed-form formula — an expression that gives F(n) directly, without computing all previous terms. The characteristic equation method provides this.

The key insight is to guess that the solution has the form a(n) = rn for some constant r, then determine which values of r work. Substituting into F(n) = F(n−1) + F(n−2) gives rn = rn−1 + rn−2. Dividing through by rn−2 yields r² = r + 1, or equivalently r² − r − 1 = 0. This is the characteristic equation of the recurrence. Solving gives r = (1 ± √5)/2 — the golden ratio φ and its conjugate ψ. Because the recurrence is linear, any linear combination of valid solutions is also a solution, so the general solution is F(n) = Aφ^n + Bψ^n, where the constants A and B are determined by the initial conditions F(0) = 0 and F(1) = 1.

For a k-th order linear recurrence a(n) = c₁a(n−1) + ⋯ + cₖa(n−k), the characteristic polynomial is xk − c₁xk−1 − ⋯ − cₖ = 0. If it has k distinct roots r₁, r₂, …, rₖ, the general solution is a(n) = A₁r₁^n + A₂r₂^n + ⋯ + Aₖrₖ^n. The k initial conditions a(0), a(1), …, a(k−1) give you k equations to solve for A₁, …, Aₖ — a linear system you can solve by substitution or matrix methods.

Repeated roots require a modification. If r is a root of multiplicity m, then rn, n·rn, n²·rn, …, nm−1·rn are all linearly independent solutions that must be included in the general solution. This parallels the treatment of repeated roots in differential equations, and for the same reason: both involve solving linear equations over a space of exponential-type basis functions. The underlying reason this all works is that the set of all solutions to a homogeneous k-th order linear recurrence forms a k-dimensional vector space, and the characteristic root terms (with polynomial factors for repeated roots) form a basis for that space.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Set Operations: Union, Intersection, and Complement → Proof by Cases → Proving by Cases and Exhaustion → Vacuous Truth and Trivial Cases → Proof by Cases (Proof by Exhaustion) → Mathematical Induction → Setting Up Recurrence Relations → Solving Linear Recurrence Relations via Characteristic Equations

Longest path: 76 steps · 358 total prerequisite topics

Prerequisites (1)

Leads To (1)