Theorem (direct product theorem)
If $H_1,H_2\leq G$ satisfy
-
$H_1\cap H_2 = \set e$;
-
$h_1 h_2 = h_2 h_1$ for all $h_1\in H_1, h_2\in H_2$; and
-
for all $g\in G$, we have $g = h_1 h_2$ for some $h_1\in H_1, h_2\in H_2$,
then $G \cong H_1\times H_2$.