Site icon Noon Academy

Check the commutativity and associativity of each of the following binary operations: (i) ‘*’ on Z defined by a * b = a + b + a b for all a, b ∈ Z (ii) ‘*’ on N defined by a * b = 2ab for all a, b ∈ N

(i)  to check: commutativity of *

    \[\begin{array}{*{35}{l}} Let\text{ }a,\text{ }b\text{ }\in \text{ }Z  \\ =>\text{ }a\text{ }*\text{ }b\text{ }=\text{ }a\text{ }+\text{ }b\text{ }+\text{ }ab  \\ =\text{ }b\text{ }+\text{ }a\text{ }+\text{ }ba  \\ =\text{ }b\text{ }*\text{ }a  \\ =>a\text{ }*\text{ }b\text{ }=\text{ }b\text{ }*\text{ }a,\text{ }\forall \text{ }a,\text{ }b\text{ }\in \text{ }Z  \\ \end{array}\]

Now we have to prove associativity of *

   

Thus, * is associative on Z.

(ii) to check : commutativity of *

   

Thus, * is commutative on N

to check: associativity of *

Let a, b, c ∈ N

Then, a * (b * c) = a * (2bc)

=

2a∗2bc

(a * b) * c = (2ab) * c

=

2ab∗2c

=> a * (b * c) ≠ (a * b) * c

Thus, * is not associative on N