TITLE: Matrices: left inverse is also right inverse?
QUESTION [47 upvotes]: If $A$ and $B$ are square matrices, and $AB=I$, then I think it is also true that $BA=I$. In fact, this Wikipedia page says that this "follows from the associativity of matrix multiplication". I assume there's a nice simple one-line proof, but can't seem to find it.
Nothing exotic, here -- assume that the matrices have finite size and their elements are real numbers.
This isn't homework (if that matters to you). My last homework assignment was about 50 years ago.

REPLY [8 votes]: I suggest proving it in one line:
Let $B\in\mathbb F^{n\times n}$ be right inverse, $C\in\mathbb F^{n\times n}$ left inverse of $A\in\mathbb F^{n\times n}$. Since Multiplying matrices is associative:
$$B=IB=(CA)B=CAB=C(AB)=CI=C$$
Thus $B=C$ as required.