I want to prove that if $A,B\in \mathbb R^{n\times n}$ are s.t. $AB=I$ then also $BA=I$ (where $I$ is the identity matrix).
$$AB=I\implies BABA=BA\implies (BA)^2-BA=0\implies BA(BA-I)=0.$$
How can I conclude from here ? I know that $CD=0\not\Rightarrow C=0$ or $D=0$. So I can't continue. I also thought to do : $$BA(BA-I)=0\implies ABA(BA-I)=0\underset{AB=I}{\implies} A(BA-I)=0,$$ but it's not conclusive. Any idea ?
Edited
I can't use determinant.