Can we prove $BA=E$ from $AB=E$? I was wondering if $AB=E$ ($E$ is identity) is enough to claim $A^{-1} = B$ or if we also need $BA=E$. All my textbooks define the inverse $B$ of $A$ such that $AB=BA=E$. But I can't see why $AB=E$ isn't enough. I can't come up with an example for which $AB = E$ holds but $BA\ne E$.
I tried some stuff but I can only proof that $BA = (BA)^2$.
Edit: For $A,B \in \mathbb{R}^{n \times n}$ and $n \in \mathbb{N}$.
 A: If $AB = E$, then (the linear application associated to) $A$ has a right inverse, so it's surjective, and as the dimension is finite, surjectivity and injectivity are equivalent, so $A$ is bijective, and has an inverse. And the inverse is also a right inverse, so it's $B$
A: Are A,B both square matrices?  Then AB=E and the fact that the determinant is multiplicative (i.e., det(AB)=det(A)det(B)) tells you that both A,B must have nonzero determinant and hence both be invertible.  In that case, you can readily multiply on the left by A^{-1} and obtain B=A^{-1}.  
If A is nxr and B is rxm, where n and m don't match, it is actually impossible to obtain AB=E, since E is square (i.e., n=m).  
If n=m but n is not equal to r, then you can get AB=E (the nxn identity matrix), and BA will be defined as well, but it is possible that BA might not equal the rxr identity matrix.  Such A,B to illustrate this fact can easily be found.  
A: Use Crammer's Rule any square matrix $A\in\mathbb{R}^{n\times n}$ with nonzero determinant has a right inverse $B$ ($AB=E$).
Since $AB=E$, $|A||B|=|AB|=|E|=1$. Hence $|B|\neq 0$ which implies that $B$ has a right inverse $C$ such that $BC=E$.
Now you just need to prove that $A=C$ which you should try yourself. 
