Question
Check the commutativity and associativity of the following binary operations:
$'*'$ on Q defined by $a * b = (a - b)^2 $ for all $a, b \in Q.$

Answer

Commutativity: Let $\text{a, b}\in\text{Q}.$ Then,$a * b = (a - b)^2$
$= (b - a)^2$
$= b * a$
Therefore,
$a * b = b * a, \forall\ \text{a, b}\in\text{Q}$
Thus, $*$ is commutative on $Q.$​​​​​​​
Associativity: Let $\text{a, b, c}\in\text{Q}.$ Then,
$a * (b * c) = a * (b - c)^2$
$= a * (b^2 + c^2 - 2bc)$
$= (a - b^2 - c^2 + 2bc)^2$
$(a * b) * c = (a - b)^2 * c$
$= (a^2 + b^2 - 2ab) * c$
$= (a^2 + b^2 - 2ab - c)^2$​​​​​​​
Therefore,
$\text{a}\ ^*\ (\text{b}\ ^*\ \text{c})\neq(\text{a}\ ^*\ \text{b})\ ^*\ \text{c}$
Thus, $*$ is not associative on $Q.$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free