Given the recurrence relation:
$$ a_n = 1.04a_{n-1} + 100 $$ $$ a_0 = 0 $$
How can I solve this? Here is my attempt at a solution:
Solve the non-homogeneous part. Set up a polynomial $p_n$: $$ p_n = D $$ $$ D = 1.04D + 100 $$ $$ -0.04D = 100 $$ $$ \therefore D = -2500 $$
Solve the homogeneous part. This part appears to be correct (per my textbook's listed solution):
$$ a_n = 1.04a_{n-1} $$ $$ Characteristic \ polynomial: \ x = 1.04(x)^0 $$ $$ \therefore x = 1.04 $$
- Add the solutions:
$$ a_n = C_1(1.04)^n - 2500 $$ $$ For \ n=0: a_0 = 0 = C_1(1.04)^0 - 2500 $$ $$ C_1 = 2500 $$ $$ \therefore a_n = 2500(1.04)^n - 2500 $$
Right? But my book says the solution is $a_n = 1250(1.04)^n - 1250$. How can this be? Did I do something incorrectly?