I am trying to diagonalize the following matrices:
$$A = \begin{pmatrix}0 & 1\\-1 & 2\end{pmatrix}\qquad B = \begin{pmatrix}1 & 2\\-1&-1\end{pmatrix}$$
For matrix $A$, I find an eigenvalue of $1$ with algebraic multiplicity of $2$. I find, though, that the dimension of its eigenspace consists of $1$ vector? Can I still construct a matrix to diagonalize with somehow?
For matrix B, I get the same scenario for eigenvalues (value of $1$ repeated twice), but am unsure if my eigenspace, consisting of $(1,0)$, is correct? Then again, I am left in the same situation.
Are those matrices un-diagonalizable? (spelling?) Can someone help me out?
Thank you.