a) an=3an−1,n≥1
The characteristic equation is λ=3, and therefore the solution is an=C⋅3n where C=a0.
b) an=5an−1+2,n≥1
The characteristic equation of an=5an−1 is λ=5, and therefore the solution is an=C⋅5n+bn where bn=b is a solution of an=5an−1+2. Therefore, b=5b+2 which is equivalent to b=−21 . So, an=C⋅5n−21. If n=0 then a0=C−21, and thus C=a0+21. Consequently, the solution is an=(a0+21)⋅5n−21.
c) an=7an−1+n,n≥1
The characteristic equation of an=7an−1 is λ=7, and therefore the solution is an=C⋅7n+bn where bn=an+b is a solution of an=7an−1+n. Therefore, an+b=7(a(n−1)+b)+n which is equivalent to (6a+1)n+6b−7a=0. So, 6a+1=0 and 6b−7a=0 which is equivalent to a=−61 and b=−367. Therefore, an=C⋅7n−61n−367. If n=0 then a0=C−367, and thus C=a0+367. Consequently, the solution is an=(a0+367)⋅7n−61n−367.
Comments