my teacher gave me this exercise:
Determine if this matrix is diagonalizable
$
\begin{pmatrix}
1 & 1&1&1\\
1&2&3&4\\
1&-1&2&-2\\
0&0&1&-2
\end{pmatrix}
$
I have tried to calculate the characteristic polynomial, that is $-13 + 10 x + x^2 - 3 x^3 + x^4$, but I don't know how to go on. I tried to look at the roots of the characteristic polynomial with Wolfram Alpha and they are horrible! So I think that must exist an alternative way to do it! Have you got any ideas? Thank you!
Hint: The matrix is diagonalizable (over $\mathbb C$) if, and only if, it has 'four' eigenvalues. In particular, if the matrix has four distinct eigenvalues, then it is diagonalizable. Using the characteristic polynomial, can you prove that the matrix has four distinct eigenvalues?
Further hints: Recall that given a polynomial function $P$ whose coefficients are all real, it holds that $\forall z\in \mathbb C\left(P(z)=0\implies P(\overline z)=0\right)$. Since the characteristic polynomial is a real fourth (even!) degree polynomial, either all roots are non-real, there exactly 'two' (beware of multiplicities) real roots or all roots are real. Use the intermediate value theorem theorem to prove that there are at least two real roots and check the derivative to prove that there are no more than two real roots.