Nonhomogeneous recurrence relations

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 replies · 1K views
Joe626
Messages
14
Reaction score
0

Homework Statement


Solve the recurrence relation an = 3an−1 −2an−2 +3, a0 = a1 = 1.

Homework Equations


an = general solution + particular solution

The Attempt at a Solution



I started with finding the general solution, which was easy. it ended up being A12n + A0

now I am having trouble solving the particular solution.

since 3 is a constant, we use B as the particular solution this results in:

B = 3B - 2B + 3

which is where i am stuck. If anyone knows how to do this i would be very grateful :)
 
on Phys.org
Joe626 said:

Homework Statement


Solve the recurrence relation an = 3an−1 −2an−2 +3, a0 = a1 = 1.


Homework Equations


an = general solution + particular solution


The Attempt at a Solution



I started with finding the general solution, which was easy. it ended up being A12n + A0

now I am having trouble solving the particular solution.

since 3 is a constant, we use B as the particular solution this results in:

B = 3B - 2B + 3

which is where i am stuck. If anyone knows how to do this i would be very grateful :)

But a constant is part of the homogeneous solution, so it can't work for the NH. So, similar to what you would do in differential equations, try multiplying by ##n## instead of just a constant. So try ##a_n = Cn## and see if that can work for a particular solution.