I am trying to find the number of solutions to the equation $X^2 = 1$ that could exist in any ring $R$. I am unsure how to approach this question but below is what I came up with:
If the ring is without unity, then there are no solutions. If the ring has $1 = 0$ then there is just one solution, namely $0$. If the ring has $1 \neq 0$ then we can write the equation as $X^2 - 1 = 0$ and factorise to $(X-1)(X+1)=0$. Now $R$ could be a domain, or it could have zero divisors. In the former case, we have two solutions ($1$ and $-1$) and in the latter there could possibly be infinitely many zero divisors of $R$ (e.g. if $R$ = $\mathbb{Z}\times\mathbb{Z}$) so there could be infinitely many solutions to this equation.
I'm not sure the argument or the answer is correct.