2

Is there a simple example of a binary operation that is idempotent, but not commutative nor associative?

1 Answers1

5

How about $a\oplus b=pa+(1-p)b$ for $a,b\in\mathbb R$ with $\{0,\frac12,1\}\not\ni p\in\mathbb R$?

joriki
  • 238,052