Does commutativity imply associativity?

  • Context: Undergrad 
  • Thread starter Thread starter azure kitsune
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the relationship between commutativity and associativity in binary operations. Participants explore whether commutativity implies associativity, providing examples and personal experiences related to the topic.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses uncertainty about whether commutativity implies associativity, noting a lack of examples of commutative but non-associative operations.
  • Another participant suggests manipulating equations to explore the relationship and recommends defining specific binary operations on small sets.
  • A participant introduces the game of rock-paper-scissors as an example of a commutative but non-associative operation, providing a detailed breakdown of outcomes.
  • Another participant shares a personal anecdote about calculating averages in different orders, illustrating a situation where the operation appears to be commutative but not associative.
  • There is a correction made regarding the outcomes of the rock-paper-scissors example, indicating a refinement of earlier claims.

Areas of Agreement / Disagreement

Participants do not reach a consensus on whether commutativity implies associativity. Multiple viewpoints and examples are presented, indicating ongoing debate and exploration of the topic.

Contextual Notes

Some examples provided rely on specific definitions of binary operations, and the discussion includes personal interpretations and experiences that may not universally apply.

azure kitsune
Messages
63
Reaction score
0
Hi everyone,

Lately, I've been wondering whether commutativity implies associativity or not. (It's really hard for me to pay attention in my Calculus BC class.) I've never seen an example of a binary operation that is commutative but not associative. It seems intuitively true to me, but I don't know how to prove it (so maybe it's not true?). I also can't find anything on the web about this.

Can anyone help? Thanks!
 
Physics news on Phys.org
Given ab = bc for all a, b, can you prove (ab)c = a(bc) for all a, b, c? Manipulate these equations for a while.

To think of examples, try defining specific binary operations on small sets like {0, 1}.

For an answer that's sort of intuitive, search Wikipedia for "commutative non-associative magma".
 
Never played rock paper scissors?
R=rock
P=paper
S=scissors

RR=R
RP=P
RS=S
PP=P
PS=S
PR=P
SS=S
SP=S
SR=R

obviously
XY=YX
(XY)Z!=X(YZ)

ie
(RP)S=PS=S
R(PS)=RS=R
 
Thanks for the answers. :) It never came across me to define an operation myself but that rock paper scissors example really helped. (Algebra seems so much more complicated now!)
 
lurflurf said:
Never played rock paper scissors?
R=rock
P=paper
S=scissors

RR=R
RP=P
RS=R
PP=P
PS=S
PR=P
SS=S
SP=S
SR=R

obviously
XY=YX
(XY)Z!=X(YZ)

ie
(RP)S=PS=S
R(PS)=RS=R

[corected I had RS=S before clearly false]
 
When I was still in school I wanted to (falsely) calculate my average grade in math as following:

First method
I wrote three exams with marks 1,2 and 4. I would take the average of 1 and 2, so I got a 1.5. Then I would take 1.5 and form the average with 4:

(1+2)/2 = 1.5
(1.5+4)/2 = 2.75Second method
However, had I taken another order the result was different:
I would take 2 and 4 and form the average, so I got a 3. Then I would take 3 and form the average with 1:

(2+4)/2 = 3
(3+1)/2 = 2

I wondered why I had two different results.

Anyways, take the binary operation a°b = (a+b)/2.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K