Show that $\mathbb{Z}[\sqrt{2}]$ is a commutative ring
Do I just need to prove that it commutes for addition and multiplication?
Also, how would I find the units of this ring?
Show that $\mathbb{Z}[\sqrt{2}]$ is a commutative ring
Do I just need to prove that it commutes for addition and multiplication?
Also, how would I find the units of this ring?
You just have to show that it is closed under addition and multiplication, then it is automatically a subring of the real numbers, which is already a commutative ring. But this is straightforward.
The units can be found by applying the Euclidean norm function to the equation $xy=1$, see the link given above.
$\mathbb{Z}[\sqrt{2}]$ is a commutative ring because it is the image of the ring homomorphism $\mathbb{Z}[x] \to \mathbb R$ that takes $x$ to $\sqrt2$.
The choice of $\sqrt2$ does not play a key role here: any real number will do. However, the choice of $\sqrt2$ does play a key role when it comes to finding units.