I couldn't find the answer to this but, is it possible to prove 2 matrices are similar by their properties ("if and only if" - works both way)?
i.e – how do u prove those matrices are similar
$$A = \begin{pmatrix} 0 & 1 & -2\cr 0 & 1 & 5 \cr 0 & 0 & 4 \end{pmatrix} , \qquad B = \begin{pmatrix} 1 & 0 & 0\cr -1 & 4 & 0 \cr 3 & 0 & 0 \end{pmatrix}$$
if the only way to solve this is by using $$A=P^{-1}BP$$
I'd love to see how to solve this (finding a possible P) EDIT: What I tried it putting both of them in the same matrix and starting doing eliminations but I'm not sure whats the way to go
thanks in advance
Both matrices have the same distinct eigenvalues and so have a basis of eigenvectors.
We have $A u_0 = 0, A u_1 = u_1, A u_4 = 4 u_4$ where $u_0,u_1,u_4$ are a basis for $\mathbb{R}^3$.
Similarly we have $v_0,v_1,v_4$ for $B$.
Let $U = \begin{bmatrix} u_0 &u_1 &u_4 \end{bmatrix}$ and similarly for $V$.
Then we have $U^{-1}AU = V^{-1} B V$ or $A = (V U^{-1})^{-1} B (V U^{-1})$.