Are inverse matrices unique? Does a matrix have only one inverse matrix (like the inverse of an element in a field)? If so, does this mean that
$A,B \text{ have the same inverse matrix} \iff A=B$?
 A: Specific counterexample to the non-square case: Let $A=\left(\begin{smallmatrix}1&0&0\\0&1&0\end{smallmatrix}\right)$.  
Then there is a matrix $B$ such that $AB=I$, namely $B=\left(\begin{smallmatrix}1&0\\0&1\\x&y\end{smallmatrix}\right)$.  Note that $x,y$ can each be anything, so this right inverse is not unique.  Also note that $I$ is $2\times 2$.
On the other hand, there is no matrix $C$ such that $CA=I$, where now $I$ would have to be $3\times 3$.  The reason is that the last column of $A$ is all zeroes, so the last column of $CA$ would be all zeroes as well.  Thus $A$ has no left inverse at all.
A: If $A$, $B$ are square matrices with same inverse $C$, then $AC=CA=I$ and $BC=CB=I$. Therefore,
$$
        A =AI= A(CB)= (AC)B = IB = B.
$$
The odd thing about matrices is this: If $A$, $B$ are $n\times n$ matrices over a field, then $AB=I$ iff $BA=I$. This is a direct consequence of the fact that the $N\times N$ matrices form a finite-dimensional linear space.
A: Note that $GL(n, \mathbb{F})$, the set of invertible $n\times n$ matrices over the field $\mathbb{F}$, is a group. In any group, inverses are unique, so if $a^{-1} = b^{-1}$, by taking inverses it follows that $a = b$. In particular, this applies to the group $GL(n, \mathbb{F})$.
A: Yes, it is unique. To show this, assume a matrix $A$ has two inverses $B$ and $C$, so that $AB=I$ and $AC=I$. Therefore $AB=AC \implies BAB=BAC \implies B=C$. So the inverse is indeed unique. For the second question, note that $(A^{-1})^{-1}=A$ so that if $A$ and $B$ both have inverse $A^{-1}$, then $A^{-1}$ has a unique inverse as well. Since $A$ and $B$ are both inverses, therefore $A=B$.
A: More generally, in any situation where the associative law holds, if some $x$ has both a left-inverse $l$ and a right inverse $r$, then $l=r$.  The reason is that $l=l(xr)=(lx)r=r$. In particular, if $x$ has a $2$-sided inverse, then that's unique.  On the other hand, it is entirely possible for some $x$ to have many different left-inverses if it has no right-inverse.  It is also possible for some $x$ to have many right-inverses if it has no left-inverse. Both of these possibilities actually happen in the case of non-square matrices.
