Commutative magma: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>Smooth-Homotopy
Example: rock, paper, scissors: Fixed a Freudian slip in the content. Commutative was written where the intention was associative.
 
(No difference)

Latest revision as of 04:22, 16 July 2024

In mathematics, there exist magmas that are commutative but not associative. A simple example of such a magma may be derived from the children's game of rock, paper, scissors. Such magmas give rise to non-associative algebras.

A magma which is both commutative and associative is a commutative semigroup.

Example: rock, paper, scissors

In the game of rock paper scissors, let M:={r,p,s} , standing for the "rock", "paper" and "scissors" gestures respectively, and consider the binary operation :M×MM derived from the rules of the game as follows:[1]

For all x,yM:
  • If xy and x beats y in the game, then xy=yx=x
  • xx=x     I.e. every x is idempotent.
So that for example:
  • rp=pr=p   "paper beats rock";
  • ss=s   "scissors tie with scissors".

This results in the Cayley table:[1]

rpsrrprpppssrss

By definition, the magma (M,) is commutative, but it is also non-associative,[2] as shown by:

r(ps)=rs=r

but

(rp)s=ps=s

i.e.

r(ps)(rp)s

It is the simplest non-associative magma that is conservative, in the sense that the result of any magma operation is one of the two values given as arguments to the operation.[2]

Applications

The arithmetic mean, and generalized means of numbers or of higher-dimensional quantities, such as Frechet means, are often commutative but non-associative.[3]

Commutative but non-associative magmas may be used to analyze genetic recombination.[4]

References

Template:Reflist