I was working on an exercise in Artin about orders of products of elements in abelian groups, and found the following question about my problem. There, I saw people talking about how it was one of the most infamous exercises in basic abstract algebra, but I found it quite trivial (relatively)! The problem is:
Given $\vert a\vert = m$ and $\vert b\vert = n$ in an abelian group, find $\vert ab\vert$.
My solution was this (fairly routine and simple) one:
Note that in an abelian group we have $$(ab)^{mn} = ((ab)^m)^n = (a^mb^m)^n = (eb^m)^n = (b^m)^n = b^{mn} = (b^n)^m = e^m = e$$ where commutativity has been excessively used. Hence, we find $m\vert(\vert ab\vert)$ and $n\vert(\vert ab\vert)$. Since $\vert ab\vert$ is the minimal exponent with these properties, we find by definition $\vert ab\vert = \operatorname{lcm}(m,n)$. $\square$
Yet, in the linked question, people had ridiculously long proofs and even said that the exercise is hated and feared in certain books! Is my trivial solution somehow incorrect?