Show that an element $ m + n \sqrt{2} $ of $ \mathbb{Z}[\sqrt{2}] $ is a unit if and only if $ m^{2} - 2 n^{2} \in \{ 1,-1 \} $.
Okay, I have a pretty big hint as to how to do this problem, but I'm having a problem connecting the dots. Here's the hint:
For the $\Rightarrow$ direction, suppose $m+n\sqrt2$ is a unit, so there exists $x+y\sqrt2\in\Bbb{Z}[\sqrt2]$ such that $(m+n\sqrt2)(x+y\sqrt2)=1$. Show that this implies $(m-n\sqrt2)(x-y\sqrt2)=1$ also, then multiply these equations.
For the $\Leftarrow$ direction, you need to suppose that $m^2-2n^2\in \{1,-1\}$, then use this assumption to define a multiplicative inverse for $m+n\sqrt2$.
I understand that there exists an element $x+y\sqrt2$ when multiplied by $m+n\sqrt2$ equals $1$. I don't understand how this implies the next statement and then I don't understand how to go from there to the fact that $(m+n\sqrt2)(m-n\sqrt2)=m^2+2n^2$.
Also, I know that $\Bbb{Z}[\sqrt2]$ is a subring of $\Bbb{R}$, so I can use those properties.