The companion matrix of the monic polynomial is the square matrix defined as:
is also the characteristic polynomial for the matrix. The eigenvalues for the above matrix are the roots of
.
I found this to be quite an interesting way to find the roots of any equation, with a great deal of ease! The corresponding MATLAB function is compan.
Here, is the kth; Fibonacci number.