I was given a recursive formula and I need to convert it into a $3\times3$ matrix. What is a general formula to do this?
My recursion is in the form: $$R_{n+2} = 4R_{n+1} + 5R_n + 2R_{n-1}$$
Just want a general equation to help me solve this!! Thanks
The usual approach is to express the new term and last few terms as linear combinations of the old terms:
$\begin{array}{lrrrr}R_{n+2} &=& 4R_{n+1} &+ 5R_n& + 2R_{n-1}\\ R_{n+1}&=& R_{n+1}\\ R_n&=&&R_n\end{array}$
Now just turn that into a matrix :-).