TITLE: Idempotents in a ring without unity (rng) and no zero divisors.
QUESTION [7 upvotes]: Question: Given a ring without unity and with no zero-divisors, is it possible that there are idempotents other than zero?

Def: $a$ is idempotent if $a^2 = a$. 
Originally the problem was to show that $1$ and $0$ are the only idempotents in a ring with unity and no zero-divisors, but I wonder what happens if we remove the unity condition. 
I am trying to find a ring with idempotents not equal to $0$ or $1$. So far my biggest struggle has been coming up with examples of rings with the given properties. 
Does anyone have any hints? How should I attack this problem?

REPLY [9 votes]: Proposition: If a rng $R$ which does not have nonzero zero divisors, a nonzero idempotent of $R$ must be an identity for the ring.
Proof: Let $e$ be a nonzero idempotent. Since $e(er-r)=0=(re-r)e$ for all $r\in R$ and $e$ is nonzero, we conclude $er-r=0=re-r$, and so $e$ is an identity element.