Maths Xii Chapter 1 Relations and Functions
Maths Xii Chapter 1 Relations and Functions
Relation
Let A and B be two sets. Then a relation R from A to B is a subset of A × B.
R is a relation from A to B R A × B.
Inverse relation
Let A, B be two sets and let R be a relation from a set A to a set B. Then the inverse of R, denoted by R–1,
is a relation from B to A and is defined by R–1 = {(b, a) : (a, b) R}.
Types of Relations
Void relation : Let A be a set. Then A × A and so it is a relation on A. This relation is called the
void or empty relation on A. It is the smallest relation on set A.
Identity relation : Let A be a set. Then the relation I A = {(a, a) : a A} on A is called the identity
relation on A.
A relation R on a set A is not reflexive if there exists an element a A such that (a, a) R.
Symmetric relation : A relation R on a set A is said to be a symmetric relation iff (a, b) R (b, a)
R for all a, b A. i.e. aRb bRa for all a, b A.
A relation R on a set A is not a symmetric relation if there are atleast two elements a, b A such that
(a, b) R but (b, a) R.
Transitive relation : A relation R on A is said to be a transitive relation iff (a, b) R and (b, c) R
(a, c) R for all a, b, c A. i.e. aRb and bRc aRc for all a, b, c A.
Antisymmetric relation : A relation R on set A is said to be an antisymmetric relation iff (a, b) R and
(b, a) R a = b for all a, b A.
Equivalence relation : A relation R on a set A is said to be an equivalence relation on A iff
It is reflexive i.e. (a, a) R for all a A.
Prepared by: M. S. KumarSwamy, TGT(Maths) Page - 2 -
It is symmetric i.e. (a, b) R (b, a) R for all a, b A.
It is transitive i.e. (a, b) R and (b, c) R (a, c) R for all a, b, c A.
Congruence modulo m
Let m be an arbitrary but fixed integer. Two integers a and b are said to be congruence modulo m if a – b
is divisible by m and we write a b(mod m). Thus, a b (mod m) a – b is divisible by m.
The union of two equivalence relations on a set is not necessarily an equivalence relation on the set.
Composition of relations
Let R and S be two relations from sets A to B and B to C respectively. Then we can define a relation SoR
from A to C such that (a, c) SoR b B such that (a, b) R and (b, c) S. This relation is called
the composition of R and S.
Functions
Let A and B be two empty sets. Then a function 'f ' from set A to set B is a rule or method or
correspondence which associates elements of set A to elements of set B such that
(i) All elements of set A are associated to elements in set B.
(ii) An element of set A is associated to a unique element in set B.
A function ‘f ’ from a set A to a set B associates each element of set A to a unique element of set B.
If an element a A is associated to an element b B, then b is called 'the f image of a or 'image of a
under f or 'the value of the function f at a'. Also, a is called the preimage of b under the function f.
We write it as : b = f (a).
Equal functions
Two functions f and g are said to be equal iff
(i) The domain of f = domain of g
(ii) The codomain of f = the codomain of g, and
(iii) f (x) = g(x) for every x belonging to their common domain.
If two functions f and g are equal, then we write f = g.
Types of Functions
(i) Oneone function (injection)
A function f : A B is said to be a oneone function or an injection if different elements of A have
different images in B. Thus, f : A B is oneone a b f (a) f (b) for all a, b A f (a) = f (b)
a = b for all a, b A.
If f : R R is an injective map, then the graph of y = f (x) is either a strictly increasing curve or a
dy dy
0 or
strictly decreasing curve. Consequently, 0 for all x.
dx dx
n P , if nm
Number of oneone functions from A to B , m
0, if nm
where m = n(Domain) and n = n(Codomain)
If there are some y B for which x, given by x = g(y) is not in A. Then, f is not onto.
Number of onto functions :If A and B are two sets having m and n elements respectively such that
n
n r n
1 n m, then number of onto functions from A to B is (1) . Cr r m
r 1
Number of bijections : If A and B are finite sets and f : A B is a bijection, then A and B have the
same number of elements. If A has n elements, then the number of bijections from A to B is the total
number of arrangements of n items taken all at a time i.e. n!
Composition of functions
Let A, B and C be three nonvoid sets and let f : A B, g : B C be two functions. For each x A there
exists a unique element g( f (x)) C.
The composition of functions is not commutative i.e. fog gof.
The composition of functions is associative i.e. if f, g, h are three functions such that (fog)oh and
fo(goh) exist, then (fog)oh = fo(goh).
The composition of two bijections is a bijection i.e. if f and g are two bijections, then gof is also a
bijection.
Let f : AB. The foIA = IB of = f i.e. the composition of any function with the identity function is the
function itself.
Inverse of an element
Let A and B be two sets and let f : A B be a mapping. If a A is associated to b B under the function
f, then b is called the f image of a and we write it as b = f (a).
Inverse of a function
If f : A B is a bijection, we can define a new function from B to A which associates each element y B
to its preimage f –1(y) A.
Binary Operation
Let S be a nonvoid set. A function f from S × S to S is called a binary operation on S i.e. f : S × S S
is a binary operation on set S.
Generally binary operations are represented by the symbols *, ,. etc. instead of letters f, g etc.
Addition on the set N of all natural numbers is a binary operation.
Subtraction is a binary operation on each of the sets Z, Q, R and C. But, it is a binary operation on N.
Division is not a binary operation on any of the sets N, Z, Q, R and C. However, it is not a binary
operation on the sets of all nonzero rational (real or complex) numbers.
Addition on N has no identity element and accordingly N has no invertible element.
Multiplication on N has 1 as the identity element and no element other than 1 is invertible.
2
Let S be a finite set containing n elements. Then the total number of binary operations on S is n n .
Let S be a finite set containing n elements. Then the total number of commutative binary operation
n(n 1)
on S is n .
2
1. Determine whether each of the following relations are reflexive, symmetric and transitive : (iv)
Relation R in the set Z of all integers defined as R = {(x, y): x − y is an integer }
Ans:
For reflexive put y = x, x − x = 0 which is an integer for all x Z. So, R is reflexive on Z.
For symmetry let (x,y) R, then (x − y) is an integer λ and also y − x = −λ [ λ Z −λ Z]
y − x is an integer (y, x) R. So, R is symmetric.
For transitivity let (x,y) R and (y, z) R x − y = integer and y − z = integers, then x − z is also
an integer
(x, z) R. So, R is transitive.
2. Show that the relation R in the set R of real numbers, defined as R = {(a, b) : a ≤ b2 } is neither
reflexive nor symmetric nor transitive.
Ans:
We have R = {(a,b) :a ≤ b2 } , where a, b R
2
1 1
For reflexivity, we observe that is not true.
2 2
1 1
So, R is not reflexive as , R
2 2
For symmetry, we observe that − 1 ≤ 32 but 3 > (−1)2
(−1, 3) R but (3, −1) R.
So, R is not symmetric.
For transitivity, we observe that2 ≤ (−3 )2 and −3 ≤ (1)2 but 2 > (1)2
(2, − 3) R and (−3,1) R but (2, 1) R. So, R is not transitive.
Hence, R is neither reflexive, nor symmetric and nor transitive.
3. Show that the relation R in R defined as R = {a, b) : a ≤ b}, is reflexive and transitive but not
symmetric.
Ans:
We have R = {(a,b) : a ≤ b}. Let a,b R.
Reflexive: for any a R we have a ≤ a. So, R is reflexive.
Symmetric: we observe that (2, 3) R but (3, 2) R. So, R is not symmetric.
Transitivity: (a,b) R and (b, c) R a ≤ b and b ≤ c a ≤ c (a,c) R
So, R is transitive. Hence, R is reflexive and transitive but not symmetric.
4. Check whether the relation R in R defined by R = {(a, b): a ≤ b3} is reflexive, symmetric or
transitive.
Ans:
Given that R = {(a, b): a ≤ b3}
3
1 1 1 1 1
It is observed that , R as
2 2 2 2 8
So, R is not reflexive.
Now, (1, 2) (as 1< 23=8)
But (2, 1) R (as 23 > 1)
So, R is not symmetric.
5. Show that the relation R in the set A = {1, 2, 3, 4, 5} given by R = {(a, b) : |a – b| is even}, is an
equivalence relation. Show that all the elements of {1, 3, 5} are related to each other and all the
elements of {2, 4} are related to each other. But no element of {1, 3, 5} is related to any element
of 2, 4}.
Ans:
Given that A = {1, 2, 3, 4, 5} and R = {(a, b) : |a – b| is even}
It is clear that for any element a ∈A, we have (which is even).
∴R is reflexive.
Let (a, b) ∈ R.
⇒ |a – b| is even
⇒(a – b) is even
⇒– (a – b) is even
⇒(b – a) is even
⇒ |b – a| is even
⇒(b, a) ∈ R
∴R is symmetric.
Now, let (a, b) ∈ R and (b, c) ∈ R.
⇒ |a – b| is even and |b – c| is even
⇒ (a – b) is even and (b – c) is even
⇒ (a – c) = (a – b) + (b – c) is even (Since, sum of two even integers is even)
⇒ |a – c| is even
⇒ (a, c) ∈ R
∴R is transitive.
Hence, R is an equivalence relation.
Now, all elements of the set {1, 2, 3} are related to each other as all the elements of this subset are
odd. Thus, the modulus of the difference between any two elements will be even.
Similarly, all elements of the set {2, 4} are related to each other as all the elements of this subset are
even.
Also, no element of the subset {1, 3, 5} can be related to any element of {2, 4} as all elements of {1,
3, 5} are odd and all elements of {2, 4} are even. Thus, the modulus of the difference between the
two elements (from each of these two subsets) will not be even.
6. Show that each of the relation R in the set A {x Z : 0 x 12} , given by R = {(a, b): |a – b| is
a multiple of 4} is an equivalence relation. Find the set of all elements related to 1.
Ans:
A {x Z : 0 x 12} {0,1, 2,3, 4,5, 6, 7,8,9,10,11,12} and
R = {(a, b): |a – b| is a multiple of 4}
For any element a ∈A, we have (a, a) ∈ R ⇒ |a – a| = 0 is a multiple of 4.
∴R is reflexive.
Now, let (a, b) ∈ R ⇒|a – b| is a multiple of 4.
⇒|–(a – b)| is a multiple of 4
⇒|b – a| is a multiple of 4.
⇒ (b, a) ∈ R
7. In each of the following cases, state whether the functions is one-one, onto or bijective. Justify
answer.
(i) f : R→ R defined by f (x) = 3 − 4x
(ii) f : R→ R defined by f (x) =1 + x2
Ans:
(i) Here, f :R → R is defined by f(x) = 3 − 4x
Let x1, x2 ∈R such that f(x1) = f(x2)
⇒ 3 – 4 x1 = 3 – 4x2
⇒– 4 x1 = – 4x2
⇒ x1 = x2
Therefore, f is one-one.
3 y 3 y 3 y
For any real number y in R, there exists in R such that f 3 4 y
4 4 4
Therefore, f is onto. Hence, f is bijective.
x2
8. Let A = R − {3} and B = R − {1} . Consider the function f : A→ B defined by f(x) = is f
x 3
one-one and onto ? Justify your answer.
Ans:
x2
Here, A = R − { 3), B = R − {1} and f : A→ B is defined as f(x) =
x 3
Let x, y ∈A such that f(x) = f(y)
4x 3 2 2
9. If f ( x ) , x , show that (fof)(x) = x, for all x . What is the inverse of f?
6x 4 3 3
Ans:
4x 3 2
Given that f ( x ) ,x
6x 4 3
4x 3
Then ( fof )( x) f ( f ( x )) f
6x 4
4x 3
4 3
6 x 4 16 x 12 18 x 12 34 x
x
4x 3 24 x 18 24 x 16 34
6 4
6x 4
2
Therefore (fof)(x) = x, for all x
3
Hence, the given function f is invertible and the inverse of f is itself.
x
10. Show that f :[−1,1]→ R, given by f ( x ) , x 2 , is one-one. Find the inverse of the
x2
function f :[−1,1]→ Range f .
Ans:
x
Given that f :[−1,1]→ R, given by f ( x ) , x 2 ,
x2
Let f(x) = f(y)
x y
xy 2 x xy 2 y
x2 y2
2x 2 y x y
Therefore, f is a one-one function.
Prepared by: M. S. KumarSwamy, TGT(Maths) Page - 11 -
x 2y
Let y x xy 2 y x
x2 1 y
So, for every y except 1 in the range there exists x in the domain such that f(x) = y. Hence, function f
is onto.
Therefore, f :[−1,1] → Range f is one-one and onto and therefore, the inverse of the function f
:[−1,1]→ Range f exists.
Let y be an arbitrary element of range f.
Since, f :[−1,1]→ Range f is onto, we have y = f(x) for some x [1,1]
x 2y
y x xy 2 y x , y 1
x2 1 y
2y
Now, let us define g: Range f→[−1,1] as g ( y ) , y 1
1 y
x
2
x x 2 2x 2x
( gof )( x) g ( f ( x)) g x
x 2 1 x x 2 x 2
x2
2y
1 y
2y 2y 2y
and ( fog )( y ) f ( g ( y )) f y
1 y 2 y 2 2 y 2 2 y 2
1 y
–1
Therefore, gof = fog = IR, Therefore, f = g
2y
Therefore, f 1 ( y ) , y 1
1 y
11. Consider f : R→ R given by f (x) = 4x + 3. Show that f is invertible. Find the inverse of f .
Ans:
Here, f :R→R is given by f(x) = 4x + 3
Let x,y R, such that f(x) = f(y)
4x + 3 = 4y + 3
4x = 4y x = y
Therefore, f is a one-one function.
Let y = 4x + 3
y 3
There exist, x R, y R
4
y 3
Therefore, for any y R , there exist x R such that
4
y 3 y 3
f ( x) f 4 3 y
4 4
Therefore, f is onto function.
Thus, f is one-one and onto and therefore, f−1 exists.
x3
Let us define g : R → R by g ( x)
4
(4 x 3) 3
Now, ( gof )( x) g ( f ( x )) g (4 x 3) x
4
y 3 y 3
and ( fog )( y ) f ( g ( y )) f 4 3 y
4 4
Therefore, gof = fog = IR
12. Consider f : R+ →[4, ∞) given by f (x) = x2 + 4. Show that f is invertible with the inverse f −1 of
given by f −1y = y 4 , where R+ is the set of all non-negative real numbers.
Ans: Here, function f : R+ →[4,∞] is given as f(x) = x2 + 4
Let x,y R+ , such that f(x) = f(y)
x2 + 4 = y2 + 4 x2 = y2
x = y [as x = y R+ ]
Therefore, f is a one-one function.
For y [4,∞), let y = x2 + 4
x2 = y − 4≥ 0 [as y ≥ 4]
x = y4 ≥ 0
Therefore, for any y R+ , There exists x = y 4 R+ such that
f(x) = f( y 4 ) = ( y 4 )2 + 4 = y − 4 + 4 = y
Therefore, f is onto. Thus, f is one-one and onto and therefore, f −1 exists.
Let us define g : [4,∞)→R+ by g(y) = y 4
Now, gof(x) = g(f(x)) = g(x2 + 4) = ( x 2 4) 4 x 2 x
2
and fog(y) = f(g(y)) = f( y 4 ) = y4 4 ( y 4) 4 y
Therefore, gof I R and fog I[4, )
Hence, f is invertible and the inverse of f if given by f 1 ( y ) g ( y ) y 4
13. Consider f : R+ → [−5, ∞) given by f (x) = 9x2 + 6x − 5. Show that f is invertible with
y 6 1
f 1 ( y ) .
3
Ans:
Here, function f : R+ →[−5,∞) is given as f(x) = 9x2 + 6x − 5.
Let y be any arbitrary element of [−5,∞).
Let y = 9x2 + 6x − 5
y = (3x + 1)2 − 1 − 5 = (3x + 1)2 − 6
(3x + 1)2 = y + 6
(3x + 1)2 = y 6 [as y ≥ − 5 y + 6 ≥ 0]
y 6 1
x
3
Therefore, f is onto, thereby range f = [−5,∞).
y 6 1
Let us define g : [−5,∞)→ R+ as g ( y )
3
Now, (gof)(x) = g(f(x)) = g(9x2 + 6x − 5) = g((3x + 1)2 − 6)
(3 x 1)2 6 6 1 3 x 1 1
x
3 3
2
y 6 1 y 6 1
and (fog)(y) = f(g(y)) f 3 1 6
3 3
2
y6 6 y66 y
Therefore, gof I R and fog I [ 5, )
(v) An element a in N is invertible with respect to the operation *, if there exists an element b in N
such that a*b = e = b*a.
Here, e = 1. This means that
LCM of a and b = 1 = LCM of b and a
This case is possible only when a and b are equal to 1.
Thus, 1 is the only invertible element of N with respect to the operation *.
15. Let * be the binary operation on N defined by a*b =HCF of a and b. Is * commutative? Is *
associative? Does there exist identity for this binary operation on N?
Ans:
The binary operation * on N is defined as a*b = HCF of a and b.
It is known that HCF of a and b = HCF of b and a for a,b N.
Therefore, a*b = b*a. Thus, the operation is commutative.
For a,b,c N , we have (a*b)*c = (HCF of a and b)*c = HCF of a,b and c
a*(b*c) = a*(HCF of b and c) = HCF of a,b, and c
Therefore, (a*b)*c = a*(b*c)
Thus, the operation * is associative.
Now, an element e N will be the identity for the operation if a*e = a = e*a, a N.
But this relation is not true for any a N.
Thus, the operation * does not have identity in N.
ab
(v) On Q, the operation * is defined as a*b =
4
ab ba
For a,b Q, we have a * b = = =b*a
4 4
Therefore, a*b = b*a
Thus, the operation * is commutative.
ab bc
ab .c abc bc a. abc
For a,b,c Q, we have a*(b*c )= *c 4 and a*(b*c) = a * 4
4 4 16 4 4 16
Therefore, (a*b)*c = a*(b*c). Thus, the operation * is associative.
17. Show that none of the operation given in the above question has identity.
Ans:
An element e Q will be the identity element for the operation if
a*e = a = e*a, a Q
(i) a*b = a − b
If a*e = a,a ≠ 0 a −e = a, a ≠ 0 e = 0
Also, e*a = a e − a = a e = 2a
e = 0 = 2a,a ≠ 0
But the identiry is unique. Hence this operation has no identity.
(ii) a*b = a2 + b2
If a*e = a, then a2 + e2 = a
For a = −2, (−2)2 + e2 = 4 + e2 ≠ −2
Hence, there is no identity element.
(iii) a*b = a + ab
If a*e = a a + ae = a ae = 0 e = 0,a ≠ 0
a
Also if e*a = a e + ea = a e ,a 1
1 a
a
e 0 ,a 0
1 a
But the identity is unique. Hence this operation has no identify.
(v) a*b = ab /4
If a*e = a, then ae /4 = a. Hence, e = 4 is the identity element.
a*4 =4 *a =4a/4 = a
x
18. Show that the function f :R→ {x R : −1 < x <1} defined by f( x) = , x R is one-one and
1 | x |
onto function.
Ans:
x
It is given that f :R→ {x R : −1 < x <1} defined by f( x) = ,xR
1 | x |
a b, ifa b 6
20. Define a binary operation * on the set {0, 1, 2, 3, 4, 5} as a * b . Show
a b 6, ifa b 6
that zero is the identity for this operation and each element a ≠ 0 of the set is invertible with (6
−a) being the inverse of a.
Ans:
Let X = {0,1,2, 3,4, 5}
a b, ifa b 6
The operation * on X is defined as a * b
a b 6, ifa b 6
21. Show that the relation R in the set Z of integers given by R = {(a, b) : 2 divides a – b} is an
equivalence relation.
Ans:
R is reflexive, as 2 divides (a – a) for all a Z.
Further, if (a, b) R, then 2 divides a – b.
Therefore, 2 divides b – a.
Hence, (b, a) R, which shows that R is symmetric.
Similarly, if (a, b) R and (b, c) R, then a – b and b – c are divisible by 2.
Now, a – c = (a – b) + (b – c) is even.
So, (a – c) is divisible by 2. This shows that R is transitive.
Thus, R is an equivalence relation in Z.
22. Show that if f : A → B and g : B → C are one-one, then gof : A → C is also one-one.
Ans:
Suppose gof (x1) = gof (x2)
g (f (x1)) = g(f (x2))
f (x1) = f (x2), as g is one-one
x1 = x2, as f is one-one
Hence, gof is one-one.
23. Determine which of the following binary operations on the set N are associative and which are
ab
commutative. (a) a * b = 1 a, b N (b) a * b = a, b N
2
Ans:
(a) Clearly, by definition a * b = b * a = 1 a, b N .
Also (a * b) * c = (1 * c) =1 and a * (b * c) = a * (1) = 1, a, b, c N .
Hence R is both associative and commutative.
ab ba
(b) a * b b * a , shows that * is commutative. Further,
2 2
ab
c a b 2c
a b 2
( a * b) * c *c
2 2 4
7x 4
3 4
7x 4 5 x 3 21x 12 20 x 12 41x
Similarly, fog ( x ) f x
5 x 3 5 7 x 4 7 35 x 20 35 21 41
5x 3
Thus, gof (x) = x, x B and fog (x) = x, x A, which implies that gof = IB and fog = IA.
25. Let f : N →R be a function defined as f (x) = 4x2 + 12x + 15. Show that f : N→ S, where, S is the
range of f, is invertible. Find the inverse of f.
Ans:
Let y be an arbitrary element of range f. Then y = 4x2 + 12x + 15, for some x in N, which implies that
y 6 3
y = (2x + 3)2 + 6. This gives x , as y ≥ 6.
2
y 6 3
Let us define g : S → N by g ( y )
2
Now gof (x) = g(f (x)) = g(4x2 + 12x + 15) = g ((2x + 3)2 + 6)
(2 x 3)2 6 6 3 (2 x 3 3)
x
2 2
2
y 6 3 y 6 3
and fog ( y ) f 2 3 6
2 2
2 2
y 6 33 6 y6 6 y66 y
Hence, gof = IN and fog =IS. This implies that f is invertible with f –1 = g.
3x 2
2. If f(x) is an invertible function, find the inverse of f (x) =
5
Ans:
3x 2
Given f ( x )
5
3x 2
Let y
5
5y 2
3x 2 5 y x
3
5x 2
f 1 ( x )
3
3. Let T be the set of all triangles in a plane with R as relation in T given by R = {(T1, T2) :T1
T2}. Show that R is an equivalence relation.
Ans:
(i) Reflexive
R is reflexive if T1 R T1
Since T1 T1
R is reflexive.
(ii) Symmetric
R is symmetric if T1 R T2 T2 R T1
Since T1 T2 T2 T1
R is symmetric.
(iii) Transitive
R is transitive if T1 R T2 and T2 R T3 T1 R T3
Since T1 T2 and T2 T3 T1 T3
R is transitive
From (i), (ii) and (iii), we get R is an equivalence relation.
4. If the binary operation * on the set of integers Z, is defined by a *b = a + 3b2 , then find the
value of 2 * 4.
Ans:
Given a *b = a + 3b2 a, b z
2*4 = 2 + 3 x 42 = 2 + 48 = 50
| x 1|
8. What is the range of the function f ( x ) ?
( x 1)
Ans:
| x 1|
We have given f ( x )
( x 1)
( x 1), if x 1 0 or x 1
| x 1|
( x 1), if x 1 0 or x 1
( x 1)
(i) For x > 1, f ( x) 1
( x 1)
( x 1)
(ii) For x < 1, f ( x ) 1
( x 1)
| x 1|
Range of f ( x ) is {–1 , 1}.
( x 1)
3ab
10. Let * be a binary operation on Q defined by a * b . Show that * is commutative as well as
5
associative. Also find its identity element, if it exists.
Ans:
For commutativity, condition that should be fulfilled is a * b = b * a
3ab 3ba
Consider a * b b*a
5 5
a*b=b*a
Hence, * is commutative.
For associativity, condition is (a * b) * c = a * (b * c)
3ab 9ab
Consider (a * b) * c *c
5 25
3bc 9ab
and a *(b * c ) a *
5 25
Hence, (a * b) * c = a * (b * c)
* is associative.
Let e Q be the identity element,
Then a * e = e * a = a
3ae 3ea 5
ae
5 5 3
13. If f : R R and g : R R are given by f(x) = sin x and g(x) = 5x2, find gof(x).
Ans:
Given f : R R and g : R R defined by f (x) = sin x and g(x) = 5x2
gof(x) = g [f(x)] = g (sin x) = 5 (sin x)2 = 5 sin2x
14. Consider the binary operation* on the set {1, 2, 3, 4, 5} defined by a * b = min. {a, b}. Write the
operation table of the operation *.
Ans:
Required operation table of the operation * is given as
* 1 2 3 4 5
1 1 1 1 1 1
2 1 2 2 2 2
3 1 2 3 3 3
4 1 2 3 4 4
5 1 2 3 4 5
17. Let A = {1, 2, 3}, B = {4, 5, 6, 7} and let f = {(1, 4), (2,5), (3, 6)} be a function from A to B. State
whether f is one-one or not.
Ans:
f is one-one because
f(1) = 4 ; f(2) = 5 ; f(3) = 6
No two elements of A have same f image.
18. Let f : R R be defined as f(x) =10x +7. Find the function g : R R such that gof = fog =IR.
Ans:
gof = fog = IR
fog = IR
fog(x) = I (x)
f (g(x)) = x [ I(x) = x being identity function]
10(g(x)) + 7 = x [ f(x) = 10x + 7]
x7
g ( x)
10
x7
i.e., g : R R is a function defined as g ( x )
10
x2
19. Let A = R – {3} and B = R – {1}. Consider the function f : A B defined by f ( x ) .
x 3
Show that f is one-one and onto and hence find f –1.
Ans:
Let x1, x2 A.
x 2 x2 2
Now, f(x1) = f(x2) 1
x1 3 x2 3
( x1 2)( x2 3) ( x1 3)( x2 2)
x1 x2 3 x1 2 x2 6 x1 x2 2 x1 3x2 6
3 x1 2 x2 2 x1 3 x2
x1 x2 x1 x2
Hence f is one-one function.
For Onto
x2
Let y xy 3 y x 2
x 3
xy x 3 y 2 x( y 1) 3 y 2
3y 2
x ----- (i )
y 1
23. If the binary operation * on the set Z of integers is defined by a * b = a + b – 5, then write the
identity element for the operation * in Z.
Ans:
Let e Z be required identity
a* e = a a Z
a + e – 5 = a
e = a – a + 5
e = 5
3ab
24. If the binary operation * on set R of real numbers is defined as a*b = , write the identity
7
element in R for *.
Ans:
Let e R be identity element.
a * e = a a R
3ae 7a
ae
7 3a
7
e
3
25. Prove that the relation R in the set A = {5, 6, 7, 8, 9} given by R = {(a, b) : |a – b| , is divisible by
2}, is an equivalence relation. Find all elements related to the element 6.
Ans:
Here R is a relation defined as R = {(a, b) : |a – b| is divisible by 2}
Reflexivity
Here (a, a) R as |a – a| = 0 = 0 divisible by 2 i.e., R is reflexive.
Symmetry
Let (a, b) R
(a, b) R |a – b| is divisible by 2
a – b = ± 2m b – a = 2m
|b – a| is divisible by 2 (b, a) R
ab
26. Let * be a binary operation, on the set of all non-zero real numbers, given by a * b for all
5
a, b R {0} . Find the value of x, given that 2 * (x * 5) = 10.
Ans:
Given 2 * (x * 5) = 10
x5
2* 10 2* x 10
5
2 x 10 5
10 x x 25
5 5
27. Let A = {1, 2, 3, …, 9} and R be the relation in A × A defined by (a, b) R (c, d) if a + d = b + c for
(a, b), (c, d) in A × A. Prove that R is an equivalence relation. Also obtain the equivalence class
[(2, 5)].
Ans:
Given, R is a relation in A × A defined by (a, b)R(c, d) a + d = b + c
(i) Reflexivity: a, b A
Q a + b = b + a (a, b)R(a, b)
So, R in reflexive.
(ii) Symmetry: Let (a, b) R (c, d)
Q (a, b)R(c, d) a + d = b + c
b + c = d + a [Q a, b, c, d N and N is commutative under addition[
c + b = d + a
(c, d)R(a, b)
So, R is symmetric.
(iii) Transitivity: Let (a, b)R(c, d) and (c, d)R(e, f)
Now, (a, b)R(c, d) and (c, d)R(e, f) a + d = b + c and c + f = d + e
a + d + c + f = b + c + d + e
a + f = b + e
(a, b)R(e, f).
R is transitive.
Hence, R is an equivalence relation.
2nd Part: Equivalence class: [(2, 5)] = {(a, b) A A: (a, b)R(2, 5)}
= {(a, b) A A: a + 5 = b + 2}
= {(a, b) A A: b – a = 3}
= {(1, 4), (2, 5), (3, 6), (4, 7), (5, 8), (6, 9)}