Show that a semigroup $S$ is a rectangular band if and only if $ab=ba \Rightarrow a=b$. (For all $a,b\in S$)
I have the definition of a rectangular band as $aba=a$.
When I try to prove this I keep getting stuck. This is my best effort.
$aba=a$
$ab=ba \Rightarrow aba=baa \\ \Rightarrow a=baa \\ \Rightarrow ab=baab=b \\ \Rightarrow ab=b $
But I can't get from here to the final result. Any hellp is much appreciated
$ab=ba \Rightarrow a=b $.
Let $b=a^2$ $\Rightarrow a=a^2$ (as $a=b$) $\Rightarrow aba=baa=ba=a^2=a$ (Again using that $a=b$ and that $a=a^2$)
– user2973447 Oct 26 '16 at 01:44