Suppose that $\operatorname{GL}(2, \mathbb R)$ is the set of all $2\times2$, invertible matrices with entries from $ \mathbb R$. If
$
U=
\left[ {\begin{array}{cc}
a & b \\
0 & d \\
\end{array} } \right]
,$ s.t. $a,b,d \in \mathbb R, a,d \neq 0$
Prove that U is a subgroup of $\operatorname{GL}(2, \mathbb R)$
So, I know that $\operatorname{GL}(2, \mathbb R)$ is the set of all linear transformations from $\mathbb R ^2 $ to $\mathbb R ^2$ and that therefore they're bijections. Also, I know that $\operatorname{GL}(2, \mathbb R)$ has only 2x2 matrices that have non zero determinants and real number entries, as a matrix could only be in $\operatorname{GL}(2, \mathbb R)$ i.f.f. its determinant is nonzero. Because there is a zero in the c position here, we only really have to show that $ad \neq 0$, not sure about notation there. Anyhow my thought was as follows:
Firstly, note that U is upper triangular. Consider another matrix, $ x= \left[ {\begin{array}{cc} d & e \\ 0 & f \\ \end{array} } \right] $, then by matrix multiplication $ U \cdot x$ =
$ Ux= \left[ {\begin{array}{cc} {ad} & {ae+bf} \\ 0 & {cf} \\ \end{array} } \right] $
So, $ac \neq 0$ and $df \neq 0$, which implies that $adcf \neq 0$, and therefore U is closed under matrix multiplication. As for the inverse of U, I believe it to be as follows:
$ {U^{-1}}= \left[ {\begin{array}{cc} {C^{-1}} & -{b(ac)^{-1}} \\ 0 & {a^{-1}} \\ \end{array} } \right] $ But I am not sure if this is right or what conclusions to draw from this matrix.
Hint:
If $\mathbf{A}=\begin{pmatrix}a&b\\c&d\end{pmatrix}$, then $\mathbf{A}^{-1}=\frac{1}{ad-bc}\begin{pmatrix}d&-b\\-c&a\end{pmatrix}$