Consider the binary operations ∗:R×R→R and o:R×R→R defined as a∗b=|a−b| and aob=a for all a,b∈R. Show that ′∗′ is commutative but not associative, 'o' is associative but not commutative.
Open in App
Solution
Two numbers are said to satisfy the commutative property if p∗q=q∗p
They satisfy the associative property if p∗(q∗r)=(p∗q)∗r
a∗b=|a−b|, b∗a=|b−a|=|a−b|
(a∗b)∗c=|a−b|∗c=||a−b|−c|...(1)
a∗(b∗c)=a∗|b−c|=|a−|b−c||...(2)
The expressions (1) and (2) might not be the same.