I've been having trouble finding the characteristic polynomial for this matrix: $$ \begin{pmatrix} 1 & -1 & -1\\ 1 & 3 & 1\\ -3 & 1 &-1 \end{pmatrix} $$
I know there are online calculators, but they don't show how to get to a "factored" (I think that's the word for it?) polynomial.
Hint
Simply set the determinant of $A-\lambda I$ equal to zero, that is $$ \begin{vmatrix} 1-\lambda & -1 & -1\\ 1 & 3-\lambda & 1\\ -3 & 1 &-1 -\lambda \end{vmatrix}=0 $$