From Wikipedia, the free encyclopedia
In mathematics, it can be shown that there exist magmas that are commutative but not associative. A simple example of such a magma is given by considering the children's game of rock, paper, scissors.
Let
and consider the binary operation
defined as follows:
"paper beats rock";
"scissors beat paper";
"rock beats scissors";
"rock ties with rock";
"paper ties with paper";
"scissors tie with scissors".
By defintion, the magma
is commutative, but it is non-associative, as the following shows:
