Showing $ 2 $ matrices are similar I gotta show if or if not those $ 2 $ matrices are similar: 
$$
    \left(\begin{matrix}
    3 & 2 & -2 \\
    1 & 4 & 0 \\
    -2 & 1 & -1 \\
    \end{matrix}\right)
$$

$$
    \left(\begin{matrix}
    1 & 3 & -1 \\
    3 & 3 & 1 \\
    -2 & 1 & 2 \\
    \end{matrix}\right)
$$
I already calculated their determinant but it's equal so nothing there. Is it possible to show it based on their polynominal?
 A: Hint: The two matrices have the same characteristic polynomial: $ p(x)=x^3-6x^2-x+28 $ and it has three different roots in $ \mathbb R $(Consider $ p(0) $ and $ p(3) $ and use the intermediate value theorem). So the two matrices are similar.
A: For matrices to be similar, it is necessary but not sufficient for the characteristic polynomials to be the same. It is actually sufficient in this case though, since both matrices appear to be diagonalizable with distinct diagonal entries. 
Here's a little background: recall that the obstruction to being diagonalizable over an algebraically closed field is the difference between "algebraic multiplicity" and "geometric multiplicity" of the eigenvalues. Geometric multiplicity is at least one for each eigenvalue, and less than or equal to algebraic multiplicity (degree of the root in the characteristic polynomial). But here, the roots of the characteristic polynomial are all distinct. This makes things much easier for us, since the geometric multiplicity of each eigenvalue is at least one, and there are three distinct eigenvalues. That means the sum of the geometric multiplicities is $3$, so our matrix is diagonalizable. Diagonalizable matrices with the same characteristic polynomial will be both similar to the same diagonal matrix, so this solves the problem.
In general, over $\mathbb{C}$, the Jordan decomposition for each matrix is a complete invariant for similarity of matrices. Over $\mathbb{R}$, the rational canonical form is a complete invariant. That is, the matrices are similar if and only if they have the same decomposition (up to the symmetries like permuting blocks).
