f(n)=2*f(n-1)+2^n
I just want to make it clear I can solve the question by following the rules, my doubts in using the usual method are
- Why do we guess the solution $f(n)=k^{n}$ rather than some polynomial?
- After finding the roots how do the linear combination of the solution of characteristic equation is equal to $f(n)$?
- Similarly, what is the logic behind the guessing of the particular solution?
For your example $$f_n=2f_{n-1}+2^n$$ let $f_n=2^n g_n$ to end with $$g_n=2g_{n-1}+1$$