I have the two matrices:
$\begin{pmatrix}1&-4&-2\\ 0&1&0\\ 0&4&3\end{pmatrix}$ and $\begin{pmatrix}3&0&0\\ \:0&1&1\\ \:0&0&1\end{pmatrix}$
I know they have the same trace and determinant but I know that isn't enough to prove they are similar... what are the next steps I should take? Is proving they have the same eigenvalues enough to show they are similar?
Hint: The definition of similarity between matrices is the following:
Two square matrices of the same dimensions A and B are said to be similar if there is a matrix P such that $$B = P^{-1}AP$$
Try finding a matrix $P$ for your exercise.