Commutativity and Associativity Check

📺 Watch Video Explanation:


Check commutativity and associativity

Given:

\( a * b = a – b, \quad a,b \in \mathbb{Z} \)

Commutativity:

\( a * b = a – b \)
\( b * a = b – a \)

Example:

\( 5 – 3 = 2 \neq 3 – 5 = -2 \)

❌ Operation is NOT commutative

Associativity:

LHS:

\( (a*b)*c = (a – b) – c = a – b – c \)

RHS:

\( a*(b*c) = a – (b – c) = a – b + c \)

Example:

\( (5-3)-2 = 0 \)
\( 5-(3-2) = 4 \)

❌ Operation is NOT associative

Conclusion:

❌ Neither commutative nor associative

Next Question / Full Exercise

Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *