Prove if $\operatorname{ord}(a)=m$, $\operatorname{ord}(b)=n$, and $\operatorname{gcd}(m,n)=1$, then $\operatorname{ord}(ab)=mn$.
I was reading this and was thinking how this proof would look like. I tried to do it and am not sure if this is correct. Here is what I did:
If $a$ and $b$ commute then $(ab)^{mn} = a^{mn} * b^{mn} = (a^m)^n * (b^n)^m = 1 * 1 = 1.$ So $ord(ab) | mn$.
Now, take $k = \operatorname{ord}(ab) = m^\prime * n^\prime$ where m' is relatively prime with $n$ and $n'$ is relatively prime with $m$. By the result above $m' | m$ and $n' | n$. Now we have $((ab)^k)^{m/m'} = 1$ since $(ab)^k=1$. But on the other hand, by the commutativity:
$$((ab)^k)^(m/m') =$$
$$((ab)^(m' * n'))^(m/m') =$$
$$ a^{n'm} * b^{n'm} = $$
$$(a^m)^{n'} * b^{n'm'}=$$
$$b^{n'm'} = 1$$
This implies that $n' * m'$ is divisible by $n$. But $m'$ is relatively prime with $n$, so we must have $n' = n.$ By symmetry, $m' = m$. So $ord(ab) = mn$.
Just to say this again, I want to prove if $a$ and $b$ commute and $m$ and $n$ are relatively prime then
$$ord(ab)=mn.$$
The comments are vague. I guess this must be the answer then and there probably is not another way to do this.