Let $V,W$ be real vector spaces, and consider an $\Bbb R$-linear transformation $\varphi:V\to W$.
We know that if $\varphi$ is both left and right invertible, then it admits an inverse and it is unique.
If $\varphi$ is invertible on one side (for example on the right), it can be proved this right inverse is not in general unique.
My question is: if we know that this right inverse is unique, does it imply that $\varphi$ is also left invertible?
I suspect linear spaces/maps don't play any relevant role here; maybe this result, can be discussed for generic functions $f:X\to Y$.
This question provides an answer for $V = W$:
Let $A, B : V \to V$ be linear maps such that $B$ is the unique right inverse for $A$.
We will show that $B$ is also a left inverse for $A$. Consider $BA+B−I$:
$$A(BA+B-I)=ABA+AB-A = A+I-A=I=AB$$
$BA+B-I$ is also a right inverse for $A$. Hence, $BA+B-I=B$, which implies $BA = I$.
Therefore, $A$ is invertible.