Let $G$ be a finite group. The exponent of $G$, $\exp(G)$ is defined as the minimal positive integer $m$ such that $x^m=1$ for all $x \in G$. prove:
$a)$ if $G$ is abelian then $\exp(G)= \max\{\text{ord}(x):x \in G\}$
$b)$ if $G$ is not abelian the previous statement may fail.