I'm trying to determine whether this matrix is diagonalizable:
$$A = \pmatrix{\sqrt3&0&-1\\0&-1&0\\1&0&0}$$
The characteristic polynomial is:
$$-\lambda^3 + (\sqrt3-1)\lambda^2 + (\sqrt3-1)\lambda -1 = 0$$
And so we get eigenvalues: $$\lambda_1=-1,$$ $$\lambda_2=\frac{\sqrt3}{2}+\frac{i}{2},$$ $$\lambda_3=\frac{\sqrt3}{2}-\frac{i}{2}$$
I know that if A has 3 distinct eigenvalues (i.e. the characteristic polynomial has 3 distinct roots), then A will be diagonalizable, since we'll have 3 linearly independent eigenvectors. So how do we know if the 3 eigenvalues are "distinct" or not?
Just check whether any $\lambda_i = \lambda_j$, where $i \neq j$.
It that happens, you do not have distinct eigenvalues.