How do I find out that the following two matrices are similar? $N = \begin{pmatrix} 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \end{pmatrix}$
and $M= \begin{pmatrix} 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 \\ 0 & 0 & 0 & 0 \end{pmatrix}$
I initially tried to think of the left multiplication of a matrix $P$ as a row operation and tried
$P= \begin{pmatrix} 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 0 \\ 1 & 0 & 0 & 0 \\ 0 & 0 & 0 & 1 \end{pmatrix}$
such that $PN = \begin{pmatrix} 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 \end{pmatrix}$ but then $PNP^{-1} \neq M$.
My linear algebra is a bit rusty. Is there a more elaborate way to do this?
Let $(e_1,e_2,e_3,e_3)$ be the standard basis of $\mathbb{R}^4$. You have:
You also have:
So, if you see $M$ as a linear map from $\mathbb{R}^4$ into itself, the matrix of $M$ with respect to the basis $(e_3,e_4,e_1,e_2)$ is the matrix $N$. Therefore, $N$ and $M$ are similar.
Or you can take$$P=\begin{bmatrix}0&0&1&0\\0&0&0&1\\1&0&0&0\\0&1&0&0\end{bmatrix},$$which is basically the same thing.