I am trying to find a matrix such that $AC=CB$.
$A= \begin{pmatrix} 0 & 1 & 0 & 1\\ 1 & 0 & 1 & 0\\ 0 & 1 & 0 & 1\\ 1 & 0 & 1 & 0 \end{pmatrix}$
$B= \begin{pmatrix} 0 & 5 & 0 & 0\\ 5 & 0 & 0 & 0\\ 0 & 0 & 0 & 0\\ 0 & 0 & 0 & 0 \end{pmatrix}$
I am trying to solve to find an invertible similarity transformation matrix. I tried using Sylvestor's equations but ended up with a singular matrix so I was wondering if there is an easier and less tedious way to find such a matrix without having to find the eigenvalues.
Let $C =\begin{pmatrix} a_{1} & b_{1} & c_{1} & d_{1} \\ a_{2} & b_{2} & c_{2} & d_{2} \\ a_{3} & b_{3} & c_{3} & d_{3} \\ a_{4} & b_{4} & c_{4} & d_{4} \\ \end{pmatrix}$
Then if you compute $AC$ and $CB$, you obtain
$AC = \begin{pmatrix} a_{2} + a_{4} & b_{2} + b_{4} & c_{2} + c_{4} & d_{2} + d_{4} \\ a_{1} + a_{3} & b_{1} + b_{3} & c_{1} + c_{3} & d_{1} + d_{3} \\ a_{2} + a_{4} & b_{2} + b_{4} & c_{2} + c_{4} & d_{2} + d_{4} \\ a_{1} + a_{3} & b_{1} + b_{3} & c_{1} + c_{3} & d_{1} + d_{3} \\ \end{pmatrix}$
$CB = \begin{pmatrix} 5b_{1} & 5a_{1} & 0 & 0 \\ 5b_{2} & 5a_{2} & 0 & 0 \\ 5b_{3} & 5a_{3} & 0 & 0 \\ 5b_{4} & 5a_{4} & 0 & 0 \\ \end{pmatrix}$
$ \ \ $
$a_{2} + a_{4} = 5b_{1}$ and $a_{2} + a_{4} = 5b_{3} \implies b_{1} = b_{3}$
$a_{1} + a_{3} = 5b_{2}$ and $a_{1} + a_{3} = 5b_{4} \implies b_{2} = b_{4}$
$b_{2} + b_{4} = 5a_{1}$ and $b_{2} + b_{4} = 5a_{3} \implies a_{1} = a_{3}$
$b_{1} + b_{3} = 5a_{2}$ and $b_{1} + b_{3} = 5a_{4} \implies a_{2} = a_{4}$
Thus $10a_{1} = 5(a_{1} + a_{3}) = 5(5b_{2}) = 25b_{2} \implies 20a_{1} = 50b_{2} = 25(b_{2} + b_{4}) = 25(5a_{1}) = 125a_{1} \implies a_{1} = 0$
Similar for $a_{2},a_{3},a_{4},b_{1},b_{2},b_{3}$ and $b_{4}$
Thus we have that $C =\begin{pmatrix} 0 & 0 & c_{1} & d_{1} \\ 0 & 0 & c_{2} & d_{2} \\ 0 & 0 & c_{3} & d_{3} \\ 0 & 0 & c_{4} & d_{4} \\ \end{pmatrix}$
Then $det(C) = 0$
There is not exist some no singular matrix $C$ such that $AC = CB$