Another homework problem from my Group Theory class.
Let $a,b$ be elements of a group, $G$. Let $\operatorname{ord}(a)=m$ and $\operatorname{ord}(b)=n$.
Let $a$ and $b$ commute. Prove: If $m$ and $n$ are relatively prime, then the $\operatorname{ord}(ab)=mn$.
So I am having trouble starting off on this problem. Here is what I believe I know:
$a^m=e$ and $b^n=e$ [as defined by the order of the elements] which leads $a^m=b^n$
$\operatorname{ord}(ab)=mn=\operatorname{ord}(ba)=nm$ as defined by commuting.
$\gcd(m,n)=1$ as defined by $m,n$ being relatively prime.
I don't know how to start this proof.
Do I want to to go the route of $a^mb^n=e$? Then $(ab)^{mn}=e$?
Any tips to start this would be greatly appreciated!!!