I'm struggling with the following exercise in my algebra course:
Let $A$ be a non-trivial ring not necessarily with multiplicative identity. Suppose that for every $a \in A \setminus \left\{ {0}\right\}$ there exists an unique $a' \in A$ such that $aa'a=a$. Prove that
1) $A$ has no zero divisors.
2) $A$ has a multiplicative identity $1$.
3) $A$ is a division ring.
I didn't make much progress on question 1) and 2) (i just played around with the given property and the definition of zero divisors and multiplicative identity but nothing worked). But, supposing 1) and 2), then the exercise 3) quickly follow as $A$ has no zero divisors and for every $a \in A \setminus \left\{ {0}\right\}$ exists an unique $a' \in A$ such that $aa'a=a=a.1$, so $a'a=1$.
Thank you.