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

Recurrence Relations and Their Definitions

College Depth 75 in the knowledge graph ☐ I know this ☆ Set as goal
9topics build on this
366prerequisites beneath it
See this on the map →
Setting Up Recurrence RelationsSequences and Convergence→→Introduction to Generating FunctionsSolving Linear Recurrence Relations
recurrence sequences recursive definition

Core Idea

A recurrence relation defines a sequence where each term depends on previous terms: aₙ = f(aₙ₋₁, aₙ₋₂, ...). Initial conditions specify the first few terms. Fibonacci, factorials, and Hanoi tower sequences are classic examples.

How It's Best Learned

Compute the first several terms of well-known recurrences. Recognize linear vs. non-linear, homogeneous vs. non-homogeneous forms. Write recurrence relations from problem descriptions (counting paths, rabbits, etc.).

Common Misconceptions

A recurrence relation alone is incomplete without initial conditions. Without them, infinitely many sequences satisfy the same recurrence.

Explainer

A recurrence relation is an equation that defines each term of a sequence in terms of earlier terms. You already have intuition for this from the definition of recurrences: rather than giving a formula that directly computes the nth term, a recurrence says "here is how the nth term relates to the ones before it." Combined with initial conditions — explicit values for the first one or more terms — the recurrence pins down a unique sequence. Without initial conditions, infinitely many sequences satisfy the same recurrence, as the core misconception warns.

The Fibonacci sequence is the canonical example: F(n) = F(n-1) + F(n-2), with F(1) = 1 and F(2) = 1, giving 1, 1, 2, 3, 5, 8, 13, .... Change the initial conditions to F(1) = 2 and F(2) = 2 and you get 2, 2, 4, 6, 10, 16, ... — different sequence, same recurrence. Factorial satisfies n! = n · (n-1)! — a first-order recurrence, requiring only one initial condition (0! = 1). The Tower of Hanoi gives T(n) = 2T(n-1) + 1 with T(1) = 1: to move n disks, move n-1 disks to the spare peg, move the largest disk, then move the n-1 stack on top. The recurrence captures the recursive structure of the problem directly.

Recurrences arise naturally in counting. The number of ways to climb n stairs taking 1 or 2 steps at a time satisfies the same recurrence as Fibonacci. The number of binary strings of length n with no two consecutive 1s satisfies a similar recurrence. In each case, the key step is to condition on the first (or last) choice, reducing the problem to smaller instances of itself. Translating a combinatorial problem into a recurrence is a skill: identify the choices at the first step, express the count in terms of smaller counts, and you have the recurrence.

Classifying recurrences guides which solution methods apply. A linear recurrence has the form aₙ = c₁aₙ₋₁ + c₂aₙ₋₂ + ⋯ + cₖaₙ₋ₖ + f(n). When f(n) = 0, it is homogeneous; otherwise it is non-homogeneous. Linear homogeneous recurrences with constant coefficients — including Fibonacci — have closed-form solutions via the characteristic equation, a technique you'll study next. Non-linear recurrences and those with variable coefficients require different tools. Recognizing which class a recurrence belongs to is always the first step toward solving it.

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 → Recurrence Relations and Their Definitions

Longest path: 76 steps · 366 total prerequisite topics

Prerequisites (2)

Leads To (2)