13.07.2015 Views

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

15.1 LINEAR EQUATIONS WITH CONSTANT COEFFICIENTSthat a particular solution of the <strong>for</strong>m u n = Aα n should be tried. Substituting thisinto (15.26) givesAα n+1 = aAα n + kα n ,from which it follows that A = k/(α − a) <strong>and</strong> that there is a particular solutionhaving the <strong>for</strong>m u n = kα n /(α − a), provided α ≠ a. For the special case α = a, thereader can readily verify that a particular solution of the <strong>for</strong>m u n = Anα n is appropriate.This mirrors the corresponding situation <strong>for</strong> linear differential equationswhen the RHS of the differential equation is contained in the complementaryfunction of its LHS.In summary, the general solution to (15.26) isu n =with C 1 = u 0 − k/(α − a) <strong>and</strong>C 2 = u 0 .{C1 a n + kα n /(α − a) α ≠ a,C 2 a n + knα n−1 α = a,(15.27)Second-order recurrence relationsWe consider next recurrence relations that involve u n−1 in the prescription <strong>for</strong>u n+1 <strong>and</strong> treat the general case in which the intervening term, u n , is also present.A typical equation is thusu n+1 = au n + bu n−1 + k. (15.28)As previously, the general solution of this is u n = v n + w n ,wherev n satisfiesv n+1 = av n + bv n−1 (15.29)<strong>and</strong> w n is any particular solution of (15.28); the proof follows the same lines asthat given earlier.We have already seen <strong>for</strong> a first-order recurrence relation that the solution tothe homogeneous equation is given by terms <strong>for</strong>ming a geometric series, <strong>and</strong> weconsider a corresponding series of powers in the present case. Setting v n = Aλ n in(15.29) <strong>for</strong> some λ, as yet undetermined, gives the requirement that λ should satisfyAλ n+1 = aAλ n + bAλ n−1 .Dividing through by Aλ n−1 (assumed non-zero) shows that λ could be either ofthe roots, λ 1 <strong>and</strong> λ 2 ,ofλ 2 − aλ − b =0, (15.30)which is known as the characteristic equation of the recurrence relation.That there are two possible series of terms of the <strong>for</strong>m Aλ n is consistent with thefact that two initial values (boundary conditions) have to be provided be<strong>for</strong>e theseries can be calculated by repeated use of (15.28). These two values are sufficientto determine the appropriate coefficient A <strong>for</strong> each of the series. Since (15.29) is499

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!