The Computable Differential Equation Lecture ... - Bruce E. Shapiro
The Computable Differential Equation Lecture ... - Bruce E. Shapiro
The Computable Differential Equation Lecture ... - Bruce E. Shapiro
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
120 CHAPTER 6. LINEAR MULTISTEP METHODS<br />
Difference <strong>Equation</strong>s<br />
Any linear equation relating variables y 0 , y 1 , ... of the form<br />
k∑<br />
a j y j = g (6.27)<br />
j=0<br />
is called an (inhomogeneous) difference equation. <strong>The</strong> corresponding homogeneous<br />
difference equation is<br />
k∑<br />
a j y j = 0 (6.28)<br />
j=0<br />
<strong>The</strong>re are k linearly independent solutions to 6.28; the general solution of the homogeneous<br />
equation is the sum of these linearly independent terms. To find the terms<br />
of the homogeneous equation we substitute y j = r j to obtain the characteristic<br />
equation of the difference equation<br />
k∑<br />
a j r j = 0 (6.29)<br />
j=0<br />
Corresponding to each root r of multiplicity s is a term<br />
a k = r k (c 1 + c 2 k + c 3 k 2 + · · · + c s k s−1 ) (6.30)<br />
in the homogeneous solution. <strong>The</strong> solution to the inhomogeneous equation is the<br />
sum of the homogeneous solution and a particular solution to the full equation.<br />
Example 6.1. Solve a k+1 − 2a k = 3 k + 5k.<br />
Solution. <strong>The</strong> homogeneous (linear) part of the equation is a k+1 − 2a k = 0; the<br />
characteristic polynomial is r k+1 − 2r k = 0, which has a single nonzero root of<br />
r = 2. (We ignore the zero roots because we always renormalize to k = 0 in the<br />
characteristic equation; if zero-valued roots still remained after this division by r k<br />
we would have to include them in the solution). For a particular solution we guess<br />
a k = A(3) k +5Bk+C where A, B, C are unknown constants. We guess a polynomial<br />
to satisfy the 5k term and the exponential 3 k to satisfy the corresponding term in<br />
the difference equation. To determine the coefficients we substitute<br />
3 k + 5k = a k+1 − a k = (3 k+1 A + 5B(k + 1) + C) − 2(3 k A + 5Bk + C) (6.31)<br />
= 3 k A − 5Bk + 5B − C (6.32)<br />
Equating coefficients of linearly independent terms gives A = 1, B = −1, and<br />
C = −5, so the solution is a k = 2 k + 3 k − 5k − 5.<br />
Math 582B, Spring 2007<br />
California State University Northridge<br />
c○2007, B.E.<strong>Shapiro</strong><br />
Last revised: May 23, 2007