Prove $uvu=u$, $v$ unique implies $u$ invertible in a ring $R$

Suppose $R$ is a ring and $u,v \in R$ are so, such that $uvu=u$ and $v$ is unique. How do I show that $u$ is invertible? R is assumed to have multiplicative identity. So far I have been able to prove that $u,v \neq 0$. I have also proven that $u$ cannot be a non-invertible element with a one-sided inverse. Can I get a few more hints?

• $R$ is just a ring? – Rafael Holanda Sep 5 '16 at 9:07
• It has multiplicative identity. – tony Sep 5 '16 at 9:09
• Since $uvu=u$, you can write $u(1-vu)=0$ and $(uv-1)u=0$. How you have showed that $u\neq 0$, if the ring was an integral domain would be proved. – Rafael Holanda Sep 5 '16 at 9:17
• there is nothing here about the ring being an integral domain. – tony Sep 5 '16 at 9:18
• are you asking me how i proved u not equal to 0? – tony Sep 5 '16 at 9:19

Given that $uvu=u$ for some unique $v$, note that $u^2vu=u^2$. Consider the quantity : $u(v+uv-1)u$. Note that $u(v+uv-1)u = uvu + u^2vu - u^2 = u + u^2 - u^2 = u$. But then, $v$ was the unique element with this property, hence $v=v+uv-1$ hence $uv=1$.
• And then, of course, you could symmetrically show $vu=1$, if the OP was not already convinced that $u$ wasn't single-sided-invertible. – rschwieb Sep 5 '16 at 18:25