Go to CCP Homepage Go to Materials Page Go to Linear Algebra Materials Go to Table of Contents
Go Back One Page Go Forward One Page

Difference Equations

Part 2: First-Order Linear Difference Equations

Given a number a, different from 0, and a sequence {zk}, the equation

yk+1 + a yk = zk

is a first-order linear difference equation. If {zk} is the zero sequence {0, 0, ... }, then the equation is homogeneous. Otherwise, it is nonhomogeneous.

A linear difference equation is also called a linear recurrence relation, because it can be used to compute recursively each yk from the preceding y-values. More specifically, if y0 is specified, then there is a unique sequence {yk} that satisfies the equation, for we can calculate, for k = 0, 1, 2, and so on,

y1 = z0 - a y0,

y2 = z1 - a y1,

and so on.

Example 1: Loan Repayment (continued). In Part 1 you found that the monthly loan balances could be calculated from the recurrence relation

yk+1 = yk + 0.00575 yk - 450.

  1. Explain why this equation is (or can be rewritten as) a first-order linear difference equation. What number is a? What sequence is {zk}? Is the equation homogeneous or nonhomogeneous?

Recall that we can separate the solution process for a linear system into two steps: First find the general solution x0 of the homogeneous equation. Next find one particular solution xp of the nonhomogeneous system. The general solution of the nonhomogeneous system is then x0+xp. We will now carry out this program for the loan repayment problem.

  1. Show that the sequence {yk} defined by

    yk = (- a)k

    is a solution of the homogeneous equation

    yk+1 + a yk = 0.

    Explain why the general solution consists of all scalar multiples of this one solution. [Hint: Refer to the discussion above about an initial value determining a unique solution. Show that the solution space is one-dimensional.]

  2. With a = -1.00575, find a constant solution of the nonhomogeneous equation

    yk+1 + a yk = - 450,

    that is, a solution for which every yk is the same.

  3. Find the general solution of

    yk+1 - 1.00575 yk = - 450.

    Then find the solution that satisfies the starting condition that y0 = 20000. What is it in this formula that tells you the balance must eventually be negative?

  4. Use your solution formula to find the month k in which the balance yk goes from positive to negative. This should confirm the result you found in Part 1 for the time until the loan is paid off.

Go to CCP Homepage Go to Materials Page Go to Linear Algebra Materials Go to Table of Contents
Go Back One Page Go Forward One Page


modules at math.duke.edu Copyright CCP and the author(s), 1999