Relations - Binary Operation
Relations - Binary Operation
1 RELATIONS
DEFINITION
A relation R, from a non-empty set A to another non-empty set B, is a subset of A×B
Equivalently, any subset of A×B is relation from A to B.
Thus, R is a relation from A to B Û R ⊆ A×B
Û R ⊆ { ( a , b ) :a ∈ A , b ∈ B }
Example: Let A={ 1 , 2 } , B= { a , b , c }
Let R={ ( 1 , a ) , (1 , c ) }
Here R is a subset of A×B and hence it is a relation from A to B.
A relation from a set A to set B can be represented in any one of the following four forms.
3.1 ROSTER FORM
In this form a relation R is represented by the set of all ordered pairs belonging to R.
Example: Let A = {–1, 1, 2} and B = {1, 4, 9, 10}
Mathematics
2
Let aRb means a = b
Then R (in roaster form) = {(–1, 1), (1, 1), (2, 4)}
3.2 SET-BUILDER FORM
In this form, the relation R is represented as { ( a , b ) : a∈ A , b ∈ B , a . .. .. b } , the blank is to be
replaced by the rule which associates a to b.
Example: Let A = {1, 3, 5, 7}, B = {2, 4, 6, 8}
Let R = {(1, 2), (3, 4), (5, 6), (7, 8)}, then R in the builder form can be written as
R={ ( a , b ) :a ∈ A , b ∈ B ; a−b=−1 }
3.3 BY ARROW DIAGRAM
In this form, the relation R is represented by drawing arrows from first component to the
second component of all ordered pairs belonging to R.
Example: Let A = {1, 2, 3, 4}, B = {0, 2, 4} and R be relation ‘is less than’ from A to B, then
R={ ( 1 , 2 ) , ( 1 , 4 ) , ( 2 , 4 ) , (3 , 4 ) }
This relation R from A to B can be represented by the arrow diagram as shown in the figure.
Let A and B be two non empty finite sets having p and q elements respectively.
Then n ( A×B )=n ( A ) . n ( B )= pq
pq
Therefore, total number of subsets of A×B=2
Since each subset of A×B is a relation from A to B, therefore total number of relations form A to
pq
B is 2
Example: Let A = {1, 2}, B = {3, 4, 5}
Then n ( A×B )=n ( A ) . n ( B )=2×3=6
6
Number of relations from A to B = 2 = 64
Mathematics
Also A×B={ ( 3 , 7 ) , ( 3 , 11 ) , ( 5 , 7 ) , ( 5 , 11 ) }
Clearly, R=A×B
Hence R is an universal relation from A to B.
In this section we shall define a very interesting relation on a set which plays a very significant
role in mathematics. This relation has been given the name equivalence relation.
8.1 DEFINITION
Let A be a non-empty set, then a relation R on A is said to be an equivalence relation if
(i) R is reflexive i.e., ( a , a ) ∈ R , ∀ a ∈ A .
(ii) R is symmetric i.e., ( a , b ) ∈ R ⇒ ( b , a ) ∈ R , where a , b ∈ A .
(iii) R is transitive i.e., ( a , b ) ∈ R and ( b , c ) ∈ R Þ ( a , c ) ∈ R , where a, b, c∈ A .
Example: Let A = {1, 2, 3}.
Let a relation R be defined on A as
R = {(1, 2), (1, 1), (2, 1), (2, 2), (3, 3)}
Then R is reflexive, symmetric and transitive. So R is an equivalence relation on A.
9 INVERSE REALATION
Question: If R is the relation ‘is less than’ from A = {1, 2, 3, 4, 5} to B = {1, 4, 5}. Write down the Cartesian
−1
product corresponding to R. Also find R (aRb is a relation then bR¢ a is relation inverse to R i.e.
R¢ = R–1).
Solution: Clearly, R={ ( a , b ) ∈ A×B : a<b }
\ R = {1, 4), (1, 5), (2, 4), (2, 5), (3, 4), (3, 5), (4, 5)}
−1
So, R = {(4, 1), (5, 1), (4, 2), (5, 2), (4, 3), (5, 3), (5, 4)}.
Mathematics
10 BINARY OPERATION
An operation is a process which produces a new element from two given elements; e.g.,
addition, subtraction, multiplication and division of numbers. If the new element belongs to the
same set to which the two given elements belong, the operation is called a binary operation.
We know the operation of addition and multiplication of numbers, the operation of union
and intersection of sets and the operation of composition of two functions. In all these operations,
when two elements are operated, a new element is formed.
10.1 DEFINITION
A binary operation (or binary composition) denoted by * or O⋅¿ ¿on a non-empty set A is a
mapping which associates with each ordered pair (a, b) A × A a unique element (to be denoted
by a*b) of A.
Thus a binary operation * on A is a mapping *: A×A → A defined by * (a, b) of A.
Example : Addition (+) as well as multiplication (×) are binary operations on the sets N, Z, Q, R and
C.
a, b ∈ N ⇒ a ∗ b ∈ N
i.e. if a, b ∈ N ⇒ a × b ∈ N
Multiplication (×) is not a binary operation on the set of irrationals.
√ √
For, 2⋅ 2=2 ∉Y where as 2∈ Y . √
Similarly, subtraction (–) is not a binary operation on N. Also division is not a binary
operation on Z. The division () on R0 i.e. R – {0} can be defined as : R0 × R0 R0 by the
rule (a, b) = a b.
Clearly is a binary operation on R0.
10.2 NUMBER OF BINARY OPERATIONS ON A FINITE SET
Let A be a finite set containing m elements, then number of elements in the Cartesian
product A × A = m × m = m2. We know that if the set A has m elements and the set B has n
elements, then number of functions from A to B = nm.
Since a binary operations on set A is a function from A × A A, therefore number of
binary operations on A.
2
n ( A× A )
= number of functions from A × A to A = [ n( A )] =mm .
m2
Thus if the set A has m elements, then number of binary operations on A is ( m) .
Example : Let A = {a, b}, then n( A )=2 .
2
2 4
Number of binary operations on A=( 2 ) =2 =16 .
11 TYPES OF BINARY OPERATIONS
e∗e1 =e 1 …(i)
Again e1 is the identity element for *
e 1∗a=a∗e1 =a for every a A
e 1∗e=e∗e 1 =e [putting e in place of a]
e ∗e=e∗e =e
1 1 …(ii)
From (i) and (ii), we have e1 = e.
Hence identity is unique.
13 INVERSE OF AN ELEMENT AND INVERTIBLE ELEMENT
Let * be a binary operation on a non empty set A and e be the identity element for the
binary operation *. Then an element a A is said to be invertible with respect to binary
Mathematics
operation * if there exists an element b A such that a∗b=b∗a=e . The element is called an
−1
inverse of element ‘a’ and is denoted by a
Thus an element a A is invertible if and only if its inverse exists.
Example: Let Z be the set of all integers and * be the operation of ordinary addition.
Then 0 Z is the identity element.
Let a be any element of Z. Then inverse of ‘a’ for operation * is –a Z because
a+(−a )=(−a )+a=0 (identity element).
Example: Let Z be the set of all integers and * be the operation of ordinary multiplication.
Then only 1 Z is invertible.
For example, 2 Z has no inverse in Z as if b Z, such that 2×b=b×2=1
1
b= ∉ Z
Then 2 .
In fact no element a Z, a 1 has inverse in Z.
THEOREM 1. Let ‘*’ be an associative binary operation on a set S with the identity element e in
S. Then, the inverse of an invertible element is unique.
Proof :
Let a be an invertible element in S.
If possible, let b and c be two inverse of a S with respect to ‘*’.
Then, a∗b=b∗a=e …(i)
And a∗c= c∗a=e …(ii)
Now, (b∗a )∗c=e∗c [∵ b∗a=e ]
=c [∵ e is the identity element]
…(iii)
Again b∗( a∗c )=b∗e [∵ a∗c=e ]
=b [∵ e is the identity element]
…(iv)
Since ‘*’ is an associative binary operation on S.
Therefore, (b∗a )∗c=b∗(a∗c ) c = b
Hence inverse of an element is unique if the binary operation is associative.
Let
A={a , a , .. . , a }
1 2 n be a finite set of n elements. A binary operation, say * on A can
also be described by means of a table with n + 1 rows and n + 1 columns. The first row and first
a ∗a j of A is shown in the space at the
column contains the elements of the set A. The element i
intersection of (i + 1)th row and (j + 1) th column.
COMPOSITION TABLE
* a1 a2 … … … an
a1 a1 * a1 a1 * a2 a1 * an
a2 a2 * a1 a2 * a2 … … … a2 * an
:
Mathematics
:
:
an an * a1 an * a2 an * an
For example,
COMPOSITION TABLE
* a b c
a b c a
b c a b
c a b c
A={a, b, c}.
For the set
we have a∗a=b , a∗b=c , a∗c=a
b∗a=c , b∗b=a , b∗c =b
c∗a=a , c∗b=b , c∗c=c
Question: √
Let A = {1, –1, i, –i}, where i= −1 . Draw the composition table corresponding to
binary operation ‘multiplication’ on A.
Solution:
1 × 1 =1, 1 × (–1) =–1, 1 × i = i, 1 × (–i) = –i,
Question: ‘*’ is a binary operation defined on Q. Find which of the binary operations are
commutative
(i) a∗b=a−b ∀ a , b ∈ Q
(ii) a∗b=a 2 +b2 ∀ a , b ∈ Q
(iii) a∗b=a+ab ∀ a , b ∈ Q
(iv) a∗b=( a−b )2 ∀ a , b ∈ Q
Solution: (i) a∗b=a−b
b∗a=b−a≠a−b∀ a, b∈ Q .
the operation is non-commutative.
(ii) a∗b=a 2 +b2 =b 2 +a 2=b∗a
Hence the operation * is commutative.
(iii) a∗b=a+ ab
b∗a=b+ba≠a+ab ∀ a , b ∈ Q
Hence operation * is non-commutative.
(ii)
(a∗b )∗c=( ab2 )∗c= abc4
a∗(b∗c )=a∗( )=
bc abc
=(a∗b )∗c
2 4 . Hence the operation * is associative
(iii) a∗(b∗c )=a∗(2b +3 c )=2 a+ 3(2 b+3 c )=2a+ 6 b+9 c
(a∗b )∗c=(2 a+3 b )∗c=2(2 a+3 b )+3 c=4 a+6 b +3 c
a∗(b∗c )≠(a∗b )∗c . Hence * is not associative.
Mathematics
(b)
R2 = x ,
{( )
1
x
: 0< x <4 , x is an integer
}
2. Let A = {1, 2} and B = {3, 4}. Find the number of relations from A to B.
4. ‘*’ is a binary operation defined on Q. Find which of the binary operations are
commutative
(i) a∗b=a 2−b 2 ∀ a, b ∈ Q
(ii) a∗b=2a2 +b2 ∀ a, b ∈ Q
(iii) a∗b=a+ab ∀ a, b ∈ Q
(iv) a∗b=( a+b)2 ∀ a, b ∈ Q
5. If ‘*’ is a binary operation on the set R defined by a∗b=3 a+4 b ∀ a , b ∈ R , then show
that ‘*’ is not associative.
6. ‘*’ is a binary operation defined on Q. Find which of the following binary operations are
associative.
(i) a∗b=a+b ∀ a, b ∈ Q
ab
a∗b= ∀ a , b ∈Q
(ii) 6
(iii) a∗b=a+b−ab ∀ a, b ∈ Q
(iv) a∗b=a 2 b ∀ a, b ∈Q
7. Let N be the set of all natural numbers. A relation R be defined on N×N by
( a , b ) R ( c , d ) ⇔ a+d=b +c . Show that R is an equivalence relation.
1
xRy ⇔ |x− y|≤
8. If Q is the set of rational numbers and R is a relation defined on Q by 2,
then prove that R is not an equivalence relation.
Mathematics
10. Show that the relation R in the set A of points in a plane given by R = (P, Q): distance of
the point P from the origin is same as the distance of the point Q from the origin}, is an
equivalence relation. Further, show that the set of all points related to a point P≠ ( 0 , 0 ) is
the circle passing through P with origin as centre.
R={T 1 , T 2 } : T 1
11. Show that the relation R defined in the set A of all triangles as is similar to
T2}, is equivalence relation. Consider three right angle triangles T1 with sides 3, 4, 5, T2
with sides 5, 12, 13 and T3 with sides 6, 8, 10. Which triangles among T1, T2 and T3 are
related?
b
13. Let ‘*’ be a binary operation on N, the set of natural numbers defined by a∗b=a for all
a, b∈ N .
Is ‘*’ associative or commutative on N?
14. Let ‘*’ be a binary operation on N given by a∗b=L. C . M . ( a , b ) for all a , b∈N .
(i) Find the identity element in N
(ii) Which elements of N are invertible? Find them.
15. Consider the set S = {1, 2, 3, 4}. Define a binary operation * on S as follows a∗b=r ,
where r is the least non-negative remainder when ab is divided by 5. Construct the
composition (operation) table for ‘*’ on S.
Mathematics
3. 64
4. (iv)
15.
* 1 2 3 4
1 1 2 3 4
2 2 4 1 3
3 3 1 4 2
4 4 3 2 1
Mathematics