Relations and Functions�Binary operations
�Exercise 1.4�Class 12
Vihutuo Paira�Little Star Higher Secondary School�Dimapur Nagaland
Binary operation
Consider the set Z, the set of integers and the addition operator (+).�The + operator takes two elements from Z and relates it to another unique element in Z.��For example it relates the pair of numbers 2 and 3 to 5 (as 2+3=5). We may write (2,3) R 5. Similarly (5,1) is related to 6 and so on.��Thus the operator + relates every pair of elements in Z to another element in Z. The collection of of all pair of elements in Z is the cartesian product Z x Z.
Therefore + is a relation (also a function) from Z x Z to Z.�+ is an example of a binary operator on the set Z.
Binary Operation definition
Division on R
Exercise 1.4 Question 1
�
Try on your own (Ex 1.4)
Ex ∨(5,3) = 5� ∨(7,10) = 10
Commutative binary operation
Definition : A binary operation * on the set X is called commutative, if a*b = b*a, for every a,b ∈ X
Example : Show that +:R x R→R and x : R x R → R are commutative binary operations,but - :R x R→R and ÷: R* x R*→R* are not commutative
Solution : Since a + b = b + a and a x b = b x a ∀a,b ∈ R, ‘+’ and ‘x’ are commutative.�However ‘-’ is not commutative since 3 - 4 ≠ 4 - 3�Similarly 3 ÷ 4 ≠ 4 ÷ 3 therefore ÷ is not commutative
Associative binary operation
Definition : A binary operation on the set X is said to be associative if �(a * b) * c = a * (b * c), for every a,b,c ∈ X
Example : Show that addition and multiplication are associative binary operation on R. But subtraction is not associative on R. Division is not associative on R*
Solution : Since (a+b)+c = a+(b+c) and (a x b) x c = a x (b x c), ∀a,b,c ∈ R, addition and multiplication are associative binary operations��However subtraction is not associative since (3 - 4) -1 = -2 but 3-(4-1) = 0
Similarly division is not associative as (8 ÷ 4) ÷ 2 = 1 but 8 ÷ (4 ÷ 2) = 4��
Exercise 1.4 Question 2(ii)
Question 2 : Determine whether * is binary, commutative or associative� (ii) On Q, define a *b = ab +1 (Q is the set of rational numbers)
Solution : If a,b∈ Q, then ab+1 ∈ Q as product and sum of rational number is another rational number�So * carries each pair (a,b) to a unique element given by ab +1 in Q, and hence * is a binary operation on Q�Is * commutative? �a*b = ab +1 �b*a = ba + 1 =ab+1 (since ab=ba)�Therefore a*b=b*a, ∀a,b ∈ Q �Hence * is commutative
...continued
Is * associative?
(a*b)*c = (ab +1) * c = (ab+1)c + 1 =abc +c +1�a*(b*c) = a *(bc+1) = a(bc+1) + 1 =abc + a +1
Clearly (a*b)*c ≠ a*(b*c)�Example (1*2)*3 = (1x2+1)*3=3*3=3x3+1=10� 1*(2*3) =1 * (2x3 +1) = 1 * 7 = 1x7 + 1 = 8�� hence * is not associative
Exercise 1.4 Question 2 (vi)
Question 2 : Determine whether * is binary, commutative or associative� (vi) On R-{-1}, define a *b = a/(b +1)��Solution : Let’s check whether a/(b+1) maybe equal to -1�If, a/(b+1) = -1 �⇒a=-(b+1) �So say, if b=2 then a = -(2+1) = -3, for these values a/(b+1)=-1��-3*2 = -3/(2+1) = -1 ∉ R- {-1}�So -3,2∈R- {-1} but -3*2 ∉ R- {-1}�Hence, * is not a binary operation�By definition, commutative and associative is only applicable to binary operations�
Try yourself
Operation table
When number of elements in a set A is small, we can express a binary operation * on the set A through a table called the operation table for the operation *. �For example, consider A={1,2,3}. Then the operation ∨ (max) on A can be expressed by the following operation table.
From the table ∨(2,3) = 3 (circled on the table)
∨ | 1 | 2 | 3 |
1 | 1 | 2 | 3 |
2 | 2 | 2 | |
3 | 3 | 3 | 3 |
3
To read the table: read the first value (2) from the left hand column and the second value (3) from the top row. The answer is the intersection cell.
�
Operation table
If the table is symmetric with respect to the diagonal line, the table is commutative.�You can see this table is symmetric wrt to the diagonal hence the operation ∨ is commutative�
Try yourself (Ex 1.4)
Question 9 (iv)
Question 9: Let * be a binary operation on the set Q of rational numbers as follows�(iv) a* b = (a-b)2�Find out whether * is commutative or associative
Solution : Is * commutative?�a*b = (a-b)2� b*a = (b-a)2 = {-1(a-b)}2 = (a-b)2 (since (-1)2 = 1)
Therefore, a*b=b*a�Hence * is commutative
… continued
Is * associative?
(a*b)*c = (a-b)2 * c = ((a-b)2 - c)2�a*(b*c) = a * (b-c)2 = (a-(b-c)2)2
Clearly (a*b)*c ≠ a*(b*c)�Example : �(1*2)*3 = (1-2)2 * 3 = (-1)2 * 3 = 1*3 = (1-3)2 = (-2)2 = 4�1*(2*3) = 1*(2-3)2 = 1 * (-1)2 = 1 * 1 = (1-1)2 = 0
Hence * is not associative
Try yourself (Ex 1.4)
Identity
Inverse of an element
Question 10. Find which of the operations have identity
Let * be a binary operation on the set Q of rational numbers
(i) a * b = a - b
Solution : If possible, let e be the identity element�Therefore, a * e = a and e * a =a�⇒ a - e = a and e - a = a�⇒ e= 0 and e = 2a�No single value of e in Q will satisfy both the equations, hence * does not have an identity element��
Question 10 (v)
v) a* b = ab/4�Solution : If possible, let e be the identity element�Therefore, a * e = a and e * a =a�⇒ ae/4 = a and ea/4 = a�⇒ ae= 4a and ea = 4a�⇒e = 4 and e = 4�Hence * has an identity with e=4
Question 10 (iv)
iv) a* b = (a-b)2�Solution : If possible, let e be the identity element�Therefore, a * e = a and e * a =a�⇒ (a-e)2 = a and (e-a)2 = a�⇒ a - e= ±√a and e - a = ±√a�⇒e =a±√a and e = a±√a��Since e varies with the value of a and thus is not unique, * does not have an identity�(Remember that e is a single unique element in A, it cannot be different for each a)
Exercise 1.4 Question 6
Question 6 : Let * be the binary operation on N given by a*b=LCM of a and b. Find�(i) 5*7, 20* 16 (ii) Is * commutative (iii) Is * associative (iv) Find the identity �(v) Which elements of N are invertible?��Solution : �(i) 5*7 = LCM of 5 and 7 = 35� 20*16 = LCM of 20 and 16 = 80��(ii) Is * commutative ?�We know that, LCM of a and b = LCM of b and a, hence�a*b = b*a for all a,b∈N. Therefore *is commutative
… continued
(iii) Is * associative?�(a*b)*c = (LCM of a and b) * c = LCM of a,b and c�a*(b*c) = a * (LCM of b and c) = LCM of a,b and c�(a*b)*c = a*(b*c) for all a,b,c ∈N�Hence * is associative
(iv) The identity e = 1, since LCM of a and 1 = a for all a∈N��(v) Let a∈N be invertible with its inverse being a-1�By definition, a * a-1 = e and a-1 * a = e �⇒a * a-1 = 1 and a-1 * a = 1 (since e =1)�⇒LCM of a and a-1 = 1�The only only pair of numbers whose LCM is 1 is 1 and 1. Therefore 1 is the only element that is invertible with 1-1=1
Question 11
Question 11 : Let A = NxN and * be the binary operation on A defined by �(a,b) * (c,d) =(a+c,b+d)�Show that * is commutative and associative. Find identity element
Solution : Is * commutative ? �(a,b) * (c,d) = (a+c,b+d)�(c,d) * (a,b) = (c+a, b+b) = (a+c, b+d)�Therefore (a,b) * (c,d) = (c,d) * (a,b)
Hence * is commutative
...continued
Is * associative ? �((a,b)*(c,d))*(e,f) = (a+c,b+d) * (e,f) = (a+c +e,b+d+f)�(a,b)*((c,d)*(e,f)) = (a,b) * (c+e,d+f) = (a+c+e,b+d+f)
Therefore ((a,b)*(c,d))*(e,f) = (a,b)*((c,d)*(e,f))�Hence * is associative�Identity element�If possible, let e =(e1,e2) ∈ NxN be the identity element�Therefore, (a,b) * (e1,e2) = (a,b) and (e1,e2) * (a,b) = (a,b) �⇒(a+e1,b+e2) = (a,b) (We will only work with the first condition as * is commutative)�⇒a+e1 = a and b + e2 = b�⇒e1=0 and e2=0�But (0,0) ∉ NxN, hence identity does not exist
Try yourself