I know for a recurrence relation $$X(n)=c_1X(n-1)+c_2X(n-2).....+c_kX(n-k)$$ the characteristic equation is $$X^n=c_1X^{n-1}+c_2X^{n-2}+...$$ I know the general solution if all roots are equal is $$x(n)=C_1m_1x^n-1+C_2m_2x^{n-2}.....C_km_kx^{n-k}$$
I have no I idea how this general solution came from. can someone give the derivation for the above general solution and for the cases where roots are equal, unique, and mix of equal and unique.
I couldn't find much on the net. I read this book too but its doesn't have the derivation to the above general solution. This general solution is there in many discrete structure books, but no one has written the derivation to this.