Find general solution of recurrence relation $$ ax_{n+1}+bx_n+cx_{n-1}=0 $$ for two distinct roots $\alpha$ and $\beta$..
My question is: One solution is $y_n=A\alpha^n+B\beta^n$. But how does one show that this is the general solution?
Find general solution of recurrence relation $$ ax_{n+1}+bx_n+cx_{n-1}=0 $$ for two distinct roots $\alpha$ and $\beta$..
My question is: One solution is $y_n=A\alpha^n+B\beta^n$. But how does one show that this is the general solution?
It is basic linear algebra. The set of solutions (functions from the non-negative integers to (say) the reals) of the recurrence is a $2$-dimensional vector space.
It can be shown that $y_n=\alpha^n$ and $y_n=\beta^n$ are linearly independent solutions, and therefore they span the space of solutions.