|
Solution 19
by kstahmer the solutions to the
linear homogeneous recurrence relation (equation *):
F(n) = 18F(n – 1) – 65F(n – 2) (*)
F(n) – 18F(n – 1) + 65F(n – 2) = 0 form a two dimensional
vector space V. We seek a
generating function and make an "intelligent guess" qn
is indeed a solution to equation *. However, by itself, qn
is merely a single element of V; we need a basis for V.
To find our basis, we substitute qn into equation
*,
which yields the characteristic equation
(equation **): qn - 18qn – 1 + 65qn – 2
(**)
q2 - 18q + 65
(q – 5)(q – 13) = 0
Hence, q = 5 or q = 13. B = { 5n, 13n }is
a basis for V.
Therefore, c15n + c213n is
the general solution to equation *. To determine scalar
constants c1 and c2,
we apply the initial conditions to our general solution:
F(0) = 0 = c150 + c2130 = c1 + c2
F(1) = 1 = c151 + c2131 = 5c1 + 13c2
From which, we deduce: .
Thus, is the solution we seek,
with .
View other answers by :alpha
|bugzpodder
|