For a ring $R$, and an idempotent $e \in R$, show that $eR\,\cap\,(1-e)R=\{0\}$, and that $eR$ and $(1-e)R$ are subrings of R with multiplicative identity.
Clearly I am supposed to use the definition of idempotent ($e^2=e)$ somehow, but I do not see the trick.
I have tried rewriting $(1-e)R$ in different ways with no luck. All I really know so far is that $R$ cannot be a field.
Let $a \in eR \cap (1-e)R$. Then $a=er$ and $a=(1-e)s$ for some $s,r \in R$. This means, $$er=(1-e)s \implies e^2r=e(1-e)s \overbrace{\implies}^{\because \,\, e^2=e} er=(e-e)s=0s=0.$$ Thus $a=0$.