If I recall correctly, most of the references out there, including Wolfram Alpha, define the inverse of a square matrix $A$ to be a square matrix $B$ of the same dimension such that $AB=I$. But is this really a sufficient condition? I mean, yes, if $A$ and $B$ are over commutative ring, the commutativity of $AB=BA$ comes for free, but what if they are not? Doesn't the above definition only define the $\textit{right}$ inverse? So one needs to define the $\textit{left}$ inverse as a square matrix $C$ such that $CA=I$?
Thanks.