i)On z, define a∗b=a−bhere aϵz+ and bϵz+
i.e.,a and b are positive integers
Let a=2,b=5⇒2∗5=2−5=−3
But −3 is not a positive integer
i.e., −3∉z+
hence,∗ is not a binary operation.
ii)On Q,define a∗b=ab−1
Check commutative
∗ is commutative if,a∗b=b∗a
a∗b=ab+1;a∗b=ab+1=ab+1
Since a∗b=b∗aforalla,bϵQ
∗ is commutative.
Check associative
∗ is associative if (a∗b)∗c=a∗(b∗c)
(a∗b)∗c=(ab+1)∗c=(ab+1)c+1=abc+c+1a∗(b∗c)=a∗(bc+1)=a(bc+1)+1=abc+a+1
Since (a∗b)∗c≠a∗(b∗c)
∗ is not an associative binary operation.
iii)On Q,define a∗b=ab2
Check commutative
∗ is commutative is a∗b=b∗a
a∗b=ab2b∗a=ba2=ab2a∗b=b∗a∀a,bϵQ
∗ is commutativve.
Check associative
∗ is associative if (a∗b)∗c=a∗(b∗c)
(a∗b)∗c=(ab2)∗c2=abc4
(a∗b)∗c=a∗(b∗c)=a×bc22=abc4
Since (a∗b)∗c=a∗(b∗c)∀a,b,cϵQ
∗ is an associative binary operation.
iv)On z+, define if a∗b=b∗a
a∗b=2abb∗a=2ba=2ab
Since a∗b=b∗a∀a,b,cϵz+
∗ is commutative.
Check associative.
∗ is associative if $
(a∗b)∗c=a∗(b∗c)(a∗b)∗c=(2ab)∗c=22abca∗(b∗c)=a∗(2ab)=2a2bc
Since (a∗b)∗c≠a∗(b∗c)
∗ is not an associative binary operation.
v)On z+ define a∗b=ab
a∗b=ab,b∗a=ba⇒a∗b≠b∗a
∗ is not commutative.
Check associative
∗ is associative if $
(a∗b)∗c=a∗(b∗c)(a∗b)∗c=(ab)∗c=(ab)ca∗(b∗c)=a∗(2bc)=2a2bc
eg:−Leta=2,b=3 and c=4
(a∗b)∗c=(2∗3)∗4=(23)∗4=8∗4=84a∗(b∗c)=2∗(3∗4)=2∗(34)=2∗81=281
Since (a∗b)∗c≠a∗(b∗c)
∗ is not an associative binary operation.
vi)On R−{−1}, define a∗b=ab+1
Check commutative
∗ is commutative if a∗b=b∗a
a∗b=ab+1b∗a=ba+1
Since a∗b≠b∗a
∗ is not commutatie.
Check associative
∗ is associative if (a∗b)∗c=a∗(b∗c)
(a∗b)∗c=(ab+1)∗c=ab+1c=ac(b+1)a∗(b∗c)=a∗(bc+1)=abc+1=a(c+1)b
Since (a∗b)∗c≠a∗(b∗c)
∗ is not a associative binary operation.