I was reading answer of: A maximal ideal is always a prime ideal?
In that Arturo Magidin had given a nice answer: He had mentioned that there is a ring $R$ which does not contain unity but still satisfies $R^2=R$. I had tried but I am not able to get any example with above.
Please help me out. Thanks a lot in advance
Take $F$ to be the field of two elements, let $\oplus F$ be countably infinitely many copies of $F$, and make it a ring via coordinatewise addition and multiplication.
This is a rng without identity that satisfies $x^2=x$ for every element, and hence $R^2=R$.
Actually, it does not matter what you choose to put in the sum: all that matters is that you are using infinitely many and that each one has identity. The case I mention is especially easy to grok, tho.
Another good example is to take an infinite dimensional vector space and its rng of linear transformations which have finite dimensional image. The identity cannot be included because it’s image is infinite dimensional.