Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 27

Solving Linear Homogeneous Recurrence Relations: Characteristic Equation Method

Recommended resources

Welcome back! In our previous lesson, we focused on the creative process of translating combinatorial problems into the language of recurrence relations. We successfully formulated recurrences for everything from simple string counting to the complex geometry of the plane and space division problems. However, we stopped short of finding a final, explicit formula for these sequences.

Today, we bridge that gap. We will learn a powerful, systematic method to solve a particularly important class of these relations: linear homogeneous recurrence relations with constant coefficients. This algebraic technique, known as the characteristic equation method, will allow us to take a recurrence like the Fibonacci relation and derive a "closed-form" solution—an explicit formula for the -th term that doesn't depend on previous terms. This is the key to turning a recursive definition into a practical computational tool.

What Kind of Recurrence Can We Solve Today?

The method we're learning is powerful but specific. It applies to recurrence relations that are:

  1. Linear: The terms of the sequence (like , , etc.) appear only to the first power and are not multiplied by each other. For example, an equation with or would be non-linear.
  2. Homogeneous: Every term in the equation involves a term from the sequence. There are no constant terms or functions of on their own. The recurrence from our last lesson for lines in a plane, , is non-homogeneous because of the "+ n" term. However, the Fibonacci-like recurrence is homogeneous.
  3. Have Constant Coefficients: The factors multiplying the sequence terms are fixed numbers, not variables depending on . For example, has constant coefficients, while does not.

The following image provides a clear classification of a few recurrence relations based on these properties.

This table classifies five different recurrence relations. Notice that for a relation to be linear, homogeneous, and have constant coefficients, all terms must be of the form \(c \cdot a_k\), where c is a constant.

Today, we are focusing on solving relations that are marked "YES" for both Linear and Homogeneous and have constant coefficients, like the first and fourth examples in the table.


The Characteristic Equation Method

The core idea is to guess that the solution is of the form for some non-zero constant . This is a geometric progression. Let's see what happens when we substitute this guess into a typical second-order recurrence:

Substituting our guess gives:

Since we assumed , we can divide the entire equation by the smallest power of , which is :

Rearranging gives us a simple quadratic equation:

This is called the characteristic equation of the recurrence relation. The roots of this polynomial are the key to finding the closed-form solution.

Case 1: Distinct Roots

Let's say we solve the characteristic equation and find two distinct real roots, and . This means both and are solutions. A key property of linear homogeneous relations (the "superposition principle") is that any linear combination of solutions is also a solution. Thus, the general solution is:

The constants and are determined by the initial conditions of the sequence (e.g., the values of and ).

Let's walk through an example. Find the closed form for with initial conditions and .

  1. Characteristic Equation: .
  2. Find the Roots: Factoring gives . The roots are and .
  3. General Solution: Since the roots are distinct, the general form is .
  4. Solve for Constants: We use the initial conditions to create a system of equations:
    • For :
    • For :
    • Solving this system (e.g., by substituting into the second equation) gives and .
  5. Final Solution: .

The following video provides an excellent, step-by-step tutorial on this exact process.

Discrete Math II - 8.2.2 Solving Second-Order Linear Homogeneous Recurrence Relations

This video by Kimberly Brehm provides a very clear, pedagogical walkthrough of solving a second-order linear homogeneous recurrence relation with distinct roots.

Watch the segments from the beginning and from the first two examples. The first example, starting at 0:45, is almost identical to the one we just did. The second example reinforces the method with different numbers and shows an alternative way to solve the system of equations.

For a concise, text-based summary of this method, the Art of Problem Solving Wiki is a great resource.

Characteristic polynomial - AoPS Wiki

This wiki page provides a compact definition of the characteristic polynomial for linear recurrences and a fully worked-out example.

Read the section on linear recurrences for a quick summary. Then, review the worked-out problem, which follows the same steps we just covered.

Case 2: Repeated Roots

What if the characteristic equation has a repeated root? For example, consider .
The characteristic equation is , which factors to . The only root is , with a multiplicity of 2.

In this case, we can't form the solution as because that simplifies to , leaving us with only one constant to solve for, which isn't enough.

The rule for a repeated root of multiplicity is that the solution involves powers of . For a double root (), the general solution is:

For our example with , the solution is . The constants and are found using the initial conditions, just as before.

The same video resource explains this modification very clearly.

Discrete Math II - 8.2.2 Solving Second-Order Linear Homogeneous Recurrence Relations

The second half of Kimberly Brehm's video is dedicated to handling cases with repeated roots.

Now, watch from this timestamp to the end. The video walks through two examples of finding closed-form solutions when the characteristic equation has a repeated root. Pay close attention to how the general form of the solution changes by including the n term.


Generalizing the Method

This method extends naturally to higher-order recurrences. A -th order recurrence will have a characteristic polynomial of degree . If all roots are distinct, the solution is . If a root has multiplicity, you introduce polynomial terms in .

The following resource formalizes this for any order .

Recurrence Relations

This document from the Canadian Mathematical Society provides a formal definition for higher-order relations.

Read the section titled "Linear Recurrence Relations of Order k". This section shows the general form of the solution for a polynomial with roots of varying multiplicities. You don't need to memorize it, but it's good to see the general pattern.


Practice Problems

It's time to put this method into practice. Your goal is to find the closed-form solution for each of the following recurrence relations. Follow the five-step process: find the characteristic equation, find the roots, write the general form, use the initial conditions to find the constants, and write the final solution.

These problems are taken from the CMS document. You can check your answers in the back of the PDF, but try your best to solve them on your own first!

  1. Distinct Roots: Solve the recurrence relation for , with .
    (This corresponds to Exercise 5 in the PDF).
  2. Repeated Roots: Solve the recurrence relation for , with .
    (This corresponds to Exercise 4 in the PDF).
  3. A Challenge (Third-Order): Find if for , with .
    (This is Exercise 8. Hint: The characteristic polynomial is . You will need to find the roots of this cubic. Try testing small integer values like 1, 2, -1, -2 to find a first root, then use polynomial division).

You can find the problems and their solutions here for reference after you've attempted them.

Recurrence Relations

This PDF contains the exercises and their worked-out solutions.

The problems are in the "Exercises" section. The solutions start on page 52, under the heading "Solutions and Answers".


Conclusion

Today you've added a crucial algebraic tool to your combinatorial arsenal. You learned to identify linear homogeneous recurrence relations with constant coefficients and solve them systematically using the characteristic equation method. We covered the two main cases: when the roots of the characteristic polynomial are distinct and when they are repeated. This process allows us to convert a recursive definition into a direct, closed-form formula, which is a massive leap in analytical power.

However, this method is limited. It doesn't work for non-homogeneous relations like the plane division problem (), nor does it offer a way to handle more complex recurrences. In our next lesson, we will begin exploring an even more powerful and versatile tool: generating functions. We will see how to represent an entire infinite sequence as a single polynomial-like object, opening the door to solving a much wider class of recurrence relations and counting problems.