Let $G = \big\{a + b\sqrt2 \mid a,b \in\mathbb{Q}\big\}$.
Let $H = \bigg\{\begin{bmatrix} a & 2b \\ b & a \end{bmatrix} \biggm |a,b \in\mathbb{Q}\bigg\} $
And denote $0_{2\times 2} = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}$
I have proven that both $G$ and $H$ are abelian/commutative because after some computations we have $G1 + G2 = G2 + G1$ and $H1 + H2 = H2+ H1$.
Now I have to show that $G$ and $H$ are isomorphic. I know that an isomorphism from $G1$ to $G2$ is a bijective homomorphism. We call $G1$ and $G2$ isomorphic, and write $G1 \cong G2$ if an isomorphism from $G1$ to $G2$ exists.
I am struggling how to construct such a proof.
Thanks in advance.
$\{1, \sqrt{2}\}$ is a basis for the space $\{a + \sqrt{2} b \mid a,b \in \mathbb Q\}$.
We can represent multiplication by $a + \sqrt{2} b$ as a matrix by noting how it acts on the basis vectors.
so $1$ gets mapped to $(a,b)$ and $\sqrt{2}$ gets mapped to $(2b,a)$.
So we can tabulate this into a matrix $$M = \left( \begin{array}{cc} a & 2b \\ b & a \\ \end{array} \right)$$
and indeed
Secondly if $M$ represents $\alpha$ and $N$ represents $\beta$ it can be seen that the matrix product $MN$ represents $\alpha \beta$.