If a and b are group elements and ab ≠ ba, prove that aba ≠ identity.

I recommend an approach by contrapositive. If $aba=e,$ then $a(ba)=e$ (so $ba=a^{-1}$) and $(ab)a=e$ (so $ab=a^{-1}$), and so....


Try proving the contrapositive; that is, if $aba=e$ then $ab=ba$. First of all, multiply both sides of $aba=e$ on the left by $a^{-1}$ to get $ba=a^{-1}$; now multiply both sides of this on the right by $a^{-1}$ to get $b=a^{-2}$. Now, can you see why $b$ commutes with $a$?


$$aba=1\implies ab=a^{-1}\;\;(1)\implies a=a^{-1}b^{-1}=(ba)^{-1}\;\;(2)$$

From (1)-(2) it follows

$$(1)\;a^{-1}=ab\implies a=(ab)^{-1}=b^{-1}a^{-1}\stackrel{(2)}=a^{-1}b^{-1}\ldots$$