Group Direct Product of Cyclic Groups

Theorem
Let $G$ and $H$ both be finite cyclic groups with orders $n = \order G$ and $m = \order H$ respectively.

Then their group direct product $G \times H$ is cyclic $g$ and $h$ are coprime, that is, $g \perp h$.

Proof
Let $G$ and $H$ be groups whose identities are $e_G$ and $e_H$ respectively.

Necessary condition
Suppose:


 * $(1): \quad \order G = n, G = \gen x$
 * $(2): \quad \order H = m, H = \gen y$
 * $(3): \quad m \perp n$

Then:

But then:
 * $\tuple {x, y}^{n m} = e_{G \times H} = \tuple {x^{n m}, y^{n m} }$

Thus:
 * $k \divides n m$

So:
 * $\order {\tuple {x, y} } = n m \implies \gen {\tuple {x, y} } = G \times H$

Sufficient condition
Suppose that $G \times H$ is cyclic.

Let $\tuple {x, y}$ be a generator of $G \times H$.

By Cardinality of Cartesian Product the order of $G \times H$ is:
 * $\order G \cdot \order H = g h$

Therefore by Order of Cyclic Group equals Order of Generator:
 * $\order {\tuple {x, y} } = g h$

On the other hand, by Order of Group Element in Group Direct Product we have:
 * $\order {\tuple {x, y} } = \lcm \set {\tuple {\order x, \order y} }$

Next we claim that $x$ generates $G$.

Let $x' \in G$.

Then:
 * $\left({x', e_H}\right) \in G \times H$

so there exists $k \in \N$ such that:
 * $\tuple {x, y}^k = \tuple {x^k, y^k} = \tuple {x', e_H}$

and therefore $x^k = x'$.

Thus the powers of $x$ generate the whole group $G$.

In the same way, it is seen that $y$ generates $H$.

Therefore by Order of Cyclic Group equals Order of Generator:
 * $\order x = g$
 * $\order y = h$

Thus we have that:
 * $g h = \order {\tuple {x, y} } = \lcm \set {g, h}$

Moreover by Product of GCD and LCM we have that:
 * $\lcm \set {g, h} = \dfrac {g h} {\gcd \set {g, h} }$

These two equalities imply that:
 * $\gcd \set {g, h} = 1$

That is, $g$ and $h$ are coprime.