In our exams, we must prove that $AB=BA=I$ and our marks will be halved if we only prove $AB=I$, are there any examples that $AB=I$ but $BA=C$ where $A,B,C \in \mathbf M_n\Bbb(R)$?
I've discussed this question with my friend and this is his work:
$AB=I$
$$\det(A)\det(B)=1 \Rightarrow \det(A),\det(B)\ne0$$
$AB=I$
$ABB^{-1}=B^{-1}$
$AI=B^{-1}$
$BA=BB^{-1}=I$
so he concluded that we actually only need to prove $AB=I$, have we made any mistakes? As I don't think our exam authority will spend resources on useless stuff.