I have to say if this matrix is diagonalizable on the real numbers:
$$A=\begin{pmatrix}0 & 0 & 1 \\ 0 & 1 & 2 \\ 1 & 2 & 0 \\ \end{pmatrix} \ \ \ \ \ \ A\in \mathbb{R}^{3x3} $$
So i calculated the characteristic polynomial of $A$ as:
$$P(\lambda)=\det(A-\lambda I)=\begin{vmatrix}-\lambda & 0 & 1 \\ 0 & 1-\lambda & 2 \\ 1 & 2 & -\lambda \\ \end{vmatrix}=-\lambda^3+\lambda^2+5\lambda-1$$
Now to go on i needed to solve the equation $-\lambda^3+\lambda^2+5\lambda-1=0$ for $\lambda$ to get the eigenvalues of $A$, which i wasn't able to do by hand, so plugged the equation into WolframAlpha to see the intermediate steps, but they are insane! (See the equation on WolframAlpha)
I think i must be missing something because i should be able to solve this exercise in 3 minutes, since it comes from a linear algebra test made of 10 questions that has to be done in 30 minutes.
Can anyone help?
Every symmetric matrix is diagonalizable.
Alternatively it suffices to show that the characteristic polynomial of $A$ is of the form $p_{A}(\lambda) = -(\lambda - r_1)(\lambda - r_2)(\lambda - r_3)$ where $r_i$ are distinct.
In our case $p_{A}(\lambda)=-\lambda^3+\lambda^2+5\lambda-1$. Now, $p_{A}(0)=-1,p_{A}(1)=4$. By the Intermediate Value Theorem $p_A$ has at least one root in each of the intervals $(-\infty,0), (0,1),(1,\infty) $, and since $p_A$ has degree $3$, $p_A$ has distinct roots.