Let ∗ be a binary operation on the set Q of rational number as follows:
(i)a∗b=a2+b2
Find which of the binary operation are commutative and which are associative?
On Q, the operation ∗ is defined as a∗b=a2+b2.
For a,b∈Q,we have
a∗b=a2+b2=b2+a2=b∗a
Therefore, a∗b=b∗a
Thus, the operation ∗ is commutative.
It can be observed that
(1∗2)∗3=(12+22)∗3=(1+4)∗4=5∗4=52+42=411∗(2∗3)=1∗(22+32)=1∗(4+9)=1∗13=12+132=170
(1∗2)∗3≠1∗(2∗3) where 1,2,3,∈Q
Thus, the operation ∗ is not associative.