Question
Question: For each operation \[ * \] defined below, determine whether \[ * \] is binary, commutative or associ...
For each operation ∗ defined below, determine whether ∗ is binary, commutative or associative.
(i)On Z defined a∗b=a−b
(ii)On Q defined a∗b=ab+1
(iii)On Q defined a∗b=2ab
(iv)On Z+ defined a∗b=2ab
(v)On Z+ defined a∗b=ab
(vi)On {\bf{R}} - \left\\{ { - 1} \right\\} defined a∗b=b+1a
Solution
Here, we have to find the operations whether the operation is binary, commutative, or associative. The binary operation can be defined as an operation * which is performed on a set A. The commutative property states that the numbers on which we operate can be moved or swapped from their position without making any difference to the answer. Associative Property states that when three or more numbers are added, the sum is the same regardless of the grouping of the addends.
Complete step-by-step answer:
(i) On Z, define a∗b=a−b
Here a∈Z and b∈Z i.e. ,a and b are integers.
Let a=2,b=5 a=2 and b=5.
Substituting in a∗b=a−b, we get
⇒2∗5=2−5=−3
As, −3 is an integer i.e., −3∈Z.
Hence,∗ is a binary operation.
We know that Subtraction is a binary operation on integers.
Now, we will check for commutative.
∗ is commutative if, a∗b=b∗a .
a∗b=b∗a ⇒a−b=b−a
Substituting a=2,b=5 in above equation, we get
⇒2−5=5−2 ⇒−3=3
Hence,∗ is not commutative.
Now, we have to check for associative
∗ is associative if (a∗b)∗c=a∗(b∗c)
a∗(b∗c)=(a∗b)∗c ⇒a−(b−c)=(a−b)−c
Let a=2;b=5;c=3
Substituting a=2;b=5;c=3 in the above equation, we get
⇒2−(5−3)=(2−5)−3 ⇒2−2=−3−3
⇒0=−6
Hence,∗ is not associative.
(ii)On Q,define a∗b=ab+1
Now, we have to check for commutative.
∗ is commutative if, a∗b=b∗a.
a∗b=ab+1;
b∗a=ba+1=ab+1;
Since a∗b=b∗a for all a,b∈Q.
∗ is commutative.
Now, we have to check for associative
∗ is associative if (a∗b)∗c=a∗(b∗c)
(ab+1)∗c=a∗(bc+1)⇒(ab+1)c+1=a(bc+1)+1
⇒abc+c+1=abc+a+1
Since (a∗b)∗c=a∗(b∗c)
∗ is not an associative binary operation.
(iii)On Q , define a∗b=2ab
Now, we have to check for commutative.
∗ is commutative if a∗b=b∗a
⇒a∗b=2ab
⇒b∗a=2ba=2ab
a∗b=b∗a∀a,b∈Q
∗ is commutative.
Now, we have to check for associations.
∗ is associative if (a∗b)∗c=a∗(b∗c)
⇒(a∗b)∗c=2ab∗c=22abc=4abc
⇒a∗(b∗c)=a∗2bc=2a2bc=4abc
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
Now, we have to check for commutative.
∗ is commutative if a∗b=b∗a
⇒a∗b=2ab
⇒b∗a=2ba=2ab
Since a∗b=b∗a∀a,b∈Z+
∗ is commutative.
Now, we have to check for associations.
∗ is associative if (a∗b)∗c=a∗(b∗c)
⇒(a∗b)∗c=2ab∗c=22abc
⇒a∗(b∗c)=a∗2bc=2a2bc
Since (a∗b)∗c=a∗(b∗c)
∗ is not an associative binary operation.
(v) On Z+ define a∗b=ab
Now, we have to check for commutative.
∗ is commutative if a∗b=b∗a
⇒a∗b=ab
⇒b∗a=ba
⇒a∗b=b∗a
∗ is not commutative.
Now, we have to check for associations.
∗ is associative if (a∗b)∗c=a∗(b∗c)
⇒(a∗b)∗c=ab∗c=(ab)c
⇒a∗(b∗c)=a∗bc=(a)bc
Since (a∗b)∗c=a∗(b∗c)
∗ is not an associative binary operation.
(vi) On {\bf{R}} - \left\\{ { - 1} \right\\}define a∗b=b+1a
Now, we have to check for commutative.
∗ is commutative if a∗b=b∗a
Solving further, we
⇒a∗b=b+1a
⇒b∗a=a+1b
Since a∗b=b∗a
∗ is not commutative.
Now, we have to check for associations.
∗ is associative if (a∗b)∗c=a∗(b∗c)
⇒(a∗b)∗c=b+1a∗c=c+1b+1a=(b+1)(c+1)a
⇒a∗(b∗c)=a∗c+1b=c+1b+1a=b+c+1a(c+1)
Since (a∗b)∗c=a∗(b∗c)
∗ is not an associative binary operation.
Note: We have to know the concept of binary operation. Additions and multiplications are the binary operations on each of the sets of Natural numbers, Integer, Rational number, Real Numbers, Complex number. Subtraction is a binary operation on each of the sets of Integer, Rational numbers, Real Numbers, Complex number. A division is not a binary operation on the set of Natural numbers, integer, Rational numbers, Real Numbers, Complex number. Exponential operation is a binary operation on the set of Natural numbers and not on the set of Integers. The additions and multiplication on the set of all irrational numbers are not the binary operations. Subtraction is not a binary operation on the set of Natural numbers.