Let $G$ be a subgroup of $GL_n(\mathbb K)$ and $H$ a subgroup of $GL_m(\mathbb K)$ where $\mathbb K \in \{\mathbb R, \mathbb C, \mathbb H\}$. I want to prove that there exists a subgroup of $GL_{n+m}(\mathbb K)$ isomorphic to $G \times H$.
Can you tell me if this is right: For $g \in G, h \in H$ let $M$ be the block diagonal matrix with diagonal blocks $g$ and $h$. Then the set of all such block diagonal matrices is a subgroup of $GL_{n+m}$ and isomorphic to $G \times H$. This is closed with respect to multiplication because of how multiplication of block diagonal matrices is defined.
Thanks.