Nonhomogeneous recurrence relations

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 :)
 
Physics news 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.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top