Let $A$ be a nontrivial unit ring such that $x^2 = x$ for all $x \in A$.
- Calculate $(x+y)^2$ and deduce that A is commutative.
- Prove that if $A$ is domain, then $A \cong \mathbb{Z}_2$.
- Prove that every prime ideal of $A$ is maximal.
- Prove that every ideal $I = (x,y)$ generated by 2 elements is principal. Deduce that every ideal generated by a finite number of elements is principal.[hint: take a cue from this ring $(\mathcal{P}(S),\Delta,\cap)$ calculating the generator of an ideal $(x,y)\subseteq \mathcal{P}(S)$.
Could you give me some suggestions for each of these questions? The question that instead concerns the first ideal .. I have no idea how I can do to demonstrate that the ideal is also maximal