Let $R$ be a ring with unity.
An element $e\in R$ is called idempotent if $e^2=e$. Clearly, $0,1$ are idempotents.
An element $e\in R$ is called central if $er=re$ for all $r\in R$.
Recall that a ring $R$ is called abelian if every idempotent is central.
Indeed, every commutative ring is abelian.
An example of noncommutative abelian ring is $k[x,y]$, where $k$ is any field and $xy\neq yx$. But the idempotents of $k[x,y]$ are the trivial idempotents $0$ and $1$.
My question is: Does there exist a noncommutative abelian ring with nontrivial idempotents?.
Thanks in advance.
Well, you could just use $\mathbb H\times \mathbb H$ where $\mathbb H$ is Hamilton's quaternions.