Question
Mathematics Question on Binary operations
On the set Q of all rational numbers the operation ⋆ which is both associative and commutative is given by a⋆b, is:
A
2a + 3b
B
ab + 1
C
a2+b2
D
a + b + ab
Answer
a + b + ab
Explanation
Solution
Let us assume a∗b=a+b+ab
Now, a∗(b∗c)=a∗(b+c+bc)
=a+b+c+ab+ac+abc
=a+b+ab+c+ac+abc
=(a∗b)∗c
∴ It is associative
Now a∗b=a+b+ab
=b+a+ba
=b∗a
Also, it is commutative.
∴ Our assuming operation is true.