Show that $A=\{x+y\sqrt{2}:x,y \in \mathbb{Z}\}$ is a commutative ring with unity, find the zero element, the unity and the negative of an arbitrary $a$.
First thing first, I need to show it is a ring:
and I am having a hard time showing commutativity and possibly a bit confuse.
I said let $x,y \in \mathbb{Z}$.
Do need to show that
$x+y=y+x$
or do i need to show $A+B=B+A$
where A is defined as $A=\{x+y\sqrt{2}:x,y \in \mathbb{Z}\}$ and B is defined as $B=\{v+w\sqrt{2}:v,w \in \mathbb{Z}\}$.
The reason I am confuse is because I thought it was $x+y=y+x$ but then I get:
$$ x+y\sqrt{2}=y+x\sqrt{2}$$
which is not commutative.