\item Let $G$ be an abelian group and let $x, y\in G$ be elements so that $o(x)=m$ and $o(y)=n$. Show that $o(xy)=\frac{mn}{(m,n)}$. (Note that this is the least common multiple of $m$ and $n$) Is this true if $G$ is non-abelian? Give an example.
My Solution
Let $r$ be the least common multiple of $m,n$ then $r = zm =yn$ for some integers $y,z$ so then we can write $(ab)^{r} = a^r b^r = a^{(m)z}b^{(n)y}= e^ze^y = e$ Since $(ab)^r =e$ then the order of $ab$ must divide $r$
My question lies in where this fails if $G$ is non-abelian. I know it fails, but what is a good example for this?
take the non-abelian group on two generators, $x$ and $y$ with $x^2 = y^2 = e$. in this case $xy$ generates an infinite cyclic subgroup