We have $G= \left\{ \begin{pmatrix} a & b \\ 0 & c \end{pmatrix} \text{with $a$ and $c$ in $\{\pm 1\}$ and $b$ in $\mathbb{Z}$} \right\} $, which is given to be a subgroup of the group of intvertible $2\times2$ matrices with coefficients in $\mathbb{Q}$.
Now I need to show two things.
First that $N= \left\{ \begin{pmatrix} 1 & b \\ 0 & 1 \end{pmatrix} \text{in $G$ with $b$ even} \right\}$ is a normal subgroup of $G$ and that $G/N$ is isomorphic to $\{\pm 1\} \times \{ \pm 1\} \times \mathbb{Z}/2\mathbb{Z}$, with mulitplication in the first two positions and addition in the third. As a hint: consider the map $\begin{pmatrix} a & b \\ c & d\end{pmatrix} \rightarrow (a,c,\bar{b})$.
Im pretty puzzeld by this first question. As far as I know, $N$ is a subgroup of $G$ if for all $g \in G$ we have $gN=Ng$. The two $b$'s in the different matrices are confusing so I let the $b$ in $N$ be $d$. Then I get for $gN = \begin{pmatrix} a & ad+b \\ 0 & c \end{pmatrix}$ but for $Ng= \begin{pmatrix} a & cd+b \\ 0 & c \end{pmatrix}$. But this means $ad+b = cd + b \Rightarrow ad = cd$, which is not (always) true. Where do I go wrong? I don't even know where to start with the isomorphism part.
Secondly I have to show $N=[G,G]$.
Also no idea where to start.
As you can tell, I'm not very close so all help is appreciated.
$gN=Ng$ doesn't mean that $g$ commutes with all elements of $N$. It just means that the sets $gN$ and $Ng$ are the same set. Anyway, there is an equivalent definition of a normal subgroup: $N\trianglelefteq G$ if and only if $gng^{-1}\in N$ for all $g\in G,n\in N$. So take a general element $g\in G$ and a general element in $n\in N$ and show that $gng^{-1}$ must be in $N$.
As for the second question note that since $G/N$ is abelian we must have $[G,G]\leq N$. So all we need to show is the other direction. Try to show that:
$\begin{pmatrix} 1 & b \\ 0 & 1 \end{pmatrix}=\left[ \begin{pmatrix} 1 & \frac{b}{2}\\ 0 & 1 \end{pmatrix},\begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix} \right]$
When $b$ is an even integer.