I have a 2x2 matrix where I need to find the rational canonical form over the field of rational numbers and real numbers. The matrix given is
$$A=\begin{pmatrix}2 &-1 \\ 1 & -1\end{pmatrix}.$$
What I've done is found the characteristic and minimal polynomials which happen to be the same ($x^2-x-1$). Using the format $c_2x^2 - c_1x - c_0$, I took the coefficients of c_1 and c_0 to get the rational canonical form to be
$$\begin{pmatrix}0 &-c_0\\1& -c_1\end{pmatrix} = \begin{pmatrix}0 & 1 \\ 1 & 1\end{pmatrix}.$$
Am I on the right track or completely off. Also, wouldn't this be the RCF for both the rational and real fields? Any help is appreciated. Thanks
Hint: Over the real numbers, $x^2 - x - 1 = (x - \phi_+)(x - \phi_-)$, where $$ \phi_+ = \frac{1 + \sqrt{5}}{2} \quad \text{and} \quad \phi_- = \frac{1 - \sqrt{5}}{2}. $$