Question:
Prove the following: If $A,B,C$ are all $n \times n$ matrices where $AB=CA$ and $A$ is invertible, then $B=C$
Here is my attempt at the solution, but I'm stuck
Let $D$ be the $n \times n$ inverse matrix of $A$, then $AD = I = DA$. Then,
$B = (I)B = (DA)B= D(AB) = A(CA)$
After that, I'm stuck. What should I do next?
This is wrong:
$$\left(\matrix{0&1\\1&0}\right)\left(\matrix{a&b\\c&d}\right)=\left(\matrix{d&c\\b&a}\right)\left(\matrix{0&1\\1&0}\right)$$
where $\left(\matrix{0&1\\1&0}\right)$ is invertible, is valid for any $a$, $b$, $c$, $d$.
What is true is that if $AB=CA=\operatorname{Id}_n$, then $B=C$ (the left inverse is the right inverse).