Let $R$ a commutative ring (with $1$) such that $x^2=x$ for all $x\in R$.
Prove that for every $x,y\in R$ exist $z\in R$ such that $\langle x,y\rangle=\langle z\rangle$
Any idea with this? the exercise had an item a) that said to prove that $2x=0$ for all $x\in R$, but I can't see how to use it.
Specifically, you can show that $\langle x,y\rangle = \langle x + y + xy\rangle$.
(It's enough to show that $x$ and $y$ are multiples of $x + y + xy$.)