Definition (direct product of groups)

If $G,H$ are groups, their direct product is $$ G\times H = \sb{(g,h)}{g\in G,h\in H} $$ with operation $$ (g_1, h_1)\cdot(g_2,h_2) = (g_1 \cdot_G g_2, h_1\cdot_H h_2). $$

$G\times H$ is a group with identity $(e_G, e_H)$ and inverse $(g,h)\inv = (g\inv, h\inv)$. It has order $|G\times H| = |G||H|$.