e(ho0n3
- 1,349
- 0
I need to show that the solution of
a_n = c_1a_{n-1} + c_2a_{n-2} + f(n) (1)
is of the form
U_n = V_n + g(n) (2)
where V_n is the solution of a 2. order linear homogenous recurrence relation with constant coefficients.
Could I use the argument that if (2) is a solution to (1), then there are constants b and d such that bU_{n-1} + dU_{n-2} is also a solution to (1)? This is the only thing I can think of (and am familiar with since the book uses this argument in two proofs). I don't know anything about generating functions so I don't know what to do.
a_n = c_1a_{n-1} + c_2a_{n-2} + f(n) (1)
is of the form
U_n = V_n + g(n) (2)
where V_n is the solution of a 2. order linear homogenous recurrence relation with constant coefficients.
Could I use the argument that if (2) is a solution to (1), then there are constants b and d such that bU_{n-1} + dU_{n-2} is also a solution to (1)? This is the only thing I can think of (and am familiar with since the book uses this argument in two proofs). I don't know anything about generating functions so I don't know what to do.