How do I solve the recurrence relation: $X(n) + 2X(n-1) - 8X(n-2) = 10$?
I understand if the 10 was replaced by the 0, we could use the characteristic equation, but with that constant I am completely lost..
The initial conditions are $X(0) = 0$ and $X(1) = 14$
Hint:
You have $X(n) + 2X(n-1) - 8X(n-2) = 10$
so you also have $X(n-1) + 2X(n-2) - 8X(n-3) = 10$
and thus by subtraction $X(n) + X(n-1) - 10X(n-2) + 8X(n-3) = 0$ which you can solve in the usual way (the cubic factors nicely)
You may also want an additional starting value, and you can easily find the value of $X(2)$