Ch-01, Relation and Function (Page 24 To 39)
Ch-01, Relation and Function (Page 24 To 39)
2 If R is a relation 'is divisor of ' from the set A={1 , 2, 3 } to B={4 ,10 , 15 },
then write down the set of ordered pairs corresponding to R .
[Foreign 2011]
[NCERT Exemplar]
(i) R1={(a , b),(a , c),(a , a),(b ,b) ,(c , c ),(b , c), (c , a),(c ,b)}
Find whether or not each of the given relations are reflexive, symmetric
and transitive.
9 The following relations are defined on the set of real numbers as follows
Check whether the above relations are reflexive, symmetric and transitive.
[Delhi 2010]
11 Let N be the set of all natural numbers and let R be a relation in N ,
defined by R={(a , b): a is a multiple of b }.
[Delhi 2014C]
14 Let A={1 , 2, 3 }. Then, find the number of equivalence relations
containing (1 , 2).
15 Show that the relation R in the set Z of integers given by R={(a , b):2
divides (a−b)} is an equivalence relation.
[NCERT]
16 Show that the relation R defined on the set A of all triangles in a plane
as R={( T 1 , T 2 ) :T 1 is similar to T 2 } is an equivalent relation.
[NCERT]
19 Show that the relation R defined by (a ,b) R(c , d) ⇒ a+d=b +c on the set
N × N is an equivalence relation.
[CBSE 2018]
[NCERT]
[NCERT Exemplar]
[CBSE 2023]
(b , c )∈ R⇒ b< c
So, R is transitive.
Range ¿ {0 ,1 , 2 ,3 , 4 }
5. Similar as Example 2.
Ans. (i) R1 is only reflexive.
(ii) R2 is neither reflexive nor symmetric nor transitive.
8. Similar as Example 7.
9. Similar as Example 9.
So, R is reflexive.
⇒ (Q , P)∈ R
So, R is symmetric.
Now, we are left with only four pairs, (2 , 3),(3 ,2) ,(1 ,3) and (3 , 1). If we add
any one pair [say (2 , 3)¿ to R1, then for symmetry, we must add (3 , 2).
So, R is reflexive.
So, R is symmetric.
⇒ (a−c) is divisible by 2 .
⇒(a , c )∈ R
So, R is transitive.
∴ (x , y)R (x , y ), ∀ (x , y )∈ A
So, R is reflexive.
(x , y )R (u , v ).
So, R is symmetric.
a
Now, multiplying both sides of Eq. (i) by u , we get
So, R is transitive.
⇒(c , d)R (a , b)
So, R is symmetric.
∵
b+ c a+ d
⇒ =
bc ad
1 1 1 1
⇒ + = +
c b d a
and (c , d) R(e , f )⇒ cf (d+ e)=de (c+ f )
d +e c + f
⇒ =
de cf
1 1 1 1
⇒ + = +
e d f c
So, R is transitive.
But, (1 , 3)∉ R 1 ∪ R2
Thus, R is reflexive.
(ii) Symmetricity Let a , b ∈ A such that (a ,b)∈ R
∵ (a ,b)∈ R
∴∨a−b∨¿ is divisible by 4 .
⇒ (b , a)∈ R
Thus, (a ,b)∈ R ⇒ (b , a) ∈ R
Hence, R is symmetric.
which is divisible by 4 .
∴∨a−c∨¿ is divisible by 4 .
⇒ (a , c )∈ R
Hence, R is transitive.
¿ Equivalence class of 1
¿ {a ∈ A :(1 , a)∈ R }
¿ {a ∈ A :∨1−a∨¿ is divisible by 4}
¿ {1 , 5 , 9 }
Thus, (a ,a)∈ R , ∀ a ∈ A
So, R is reflexive.
⇒∨−(b−a)∨¿ is even.
⇒∨b−a∨¿ is even.
⇒ (b , a)∈ R .
So, R is symmetric.
⇒ ¿ and b both are even or both are odd) and ( b and c both are even or
both are odd)
Now, all elements of the set {1 , 3 , 5} are related to each other as all the
elements of this set are odd.
So, 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 set are even. So, the modulus of the difference between
any two elements will be even.
So, the modulus of the difference between the two elements each from
these two subsets [as 3-2=1 not even, 5−2=3 not even, etc] will not be
even.
So, R is reflexive.
So, R is symmetric.
⇒ (P , S) ∈ R
So, R is transitive.
Let P ≠(0 , 0) be a fixed point in the plane and Q(x , y) be any point in the
plane related to P, i.e. (P , Q)∈ R or distance of P from origin is same as
distance of Q from origin.
∴ k= √ x 2 + y 2 ⇒ x2 + y 2=k 2
⇒ { x , y }⊂ {1 , 4 ,7 } or {x , y }⊂ {2 , 5 ,8 } or {x , y }⊂ {3 , 6 , 9 }
⇒(x , y )∈ R2
Hence, R1 ⊆ R 2.
Similarly, (x , y )∈ R2 ⇒{x , y }⊂ {1 , 4 , 7 } or
{x , y }⊂ {2 , 5 ,8 } or {x , y }⊂ {3 , 6 , 9 }⇒ x− y is divisible by 3 ⇒( x , y )∈ R 1.
Hence, R1=R 2.
¿ {5 , 10 , 15 ,20 , … }
¿ {1 , 6 , 11, 16 ,21 , … }
¿ {3 , 8 , 13 , 18 ,23 , … }
¿ {4 , 9 , 14 , 19 ,24 , … }
26.Hint ∵ ( √ 3 , √3)∉ R
∴ R is not reflexive.
∴ R is not transitive.
One important point is that every function is a relation but converse is not
always true. e.g. If A={1 , 2, 3 } and B={1, 4 }, then R={(1, 1),(1, 4 ), (2 , 4)} is a
relation but not a function.
Codomain (f )=B
and range ¿ {2 , 4 , 8} .
EXAMPLE 2. Find the domain and range of the following real functions.
( i ) f (x )=¿ x−3∨¿ (ii) g (x)=log (x +2)
(iii) h( x)=35 −x
It is a modulus function, which is define for all real values of x and the
values of f (x) is always non-negative.
∴ Domain ¿ R and Range ¿ ¿
And the values of logarithm function is always lies between (−∞, ∞).
∴ Domain ¿(−2 ,∞) and Range ¿(−∞ , ∞)
Types of Functions
As we know that in a function, all elements of set A are associated to a
unique element of set B. But there are some more possibilities, which may
occur in a function, such as
(iii) there may be some elements in B, which are not the images of any
element of A .
Corresponding to these possibilities, we define the following types of
functions.
Hence, f is one-one.
Many-One Function
A function f : A → B is called a many-one function, if there exist atleast two
distinct elements in A , whose images are same in B.
Mathematically, if there exist a 1 , a2 ∈ A , such that a 1 ≠ a2 and f ( a1 )=f ( a2 ), then
f is many-one.
Here, we see that for different values of x , we get the same value of f .
Hence, f is many-one function.
{
1, if x >0
f : R → R, given by f (x)= 0 , if x=0 is many-one.
−1 , if x <0
{
1 , if x> 0
Sol. Given, f : R → R defined by f (x)= 0 , if x=0
−1 , if x <0
Hence, f is onto.
0
Now, at y=0 , x= 3 =0∈ A
3
At y=3 , x = =1 ∈ A
3
6
At y=6 , x= =2 ∈ A
3
0−2 −2
Now, when y=0, then x= 3 = 3 ∉ Z
1
Sol. Given, f (x)= x
⇒
1 1
= [
x 1 x 2 put 1 and 2 in
x x f (x)=
1
x ]
⇒ x 1=x 2
So, f is one-one.
Then, y=f (x )
1 1
⇒ y = ⇒ x = [expressing x in terms of y ]
x y
Let x 1 , x 2 ∈ R
3 3
Then, f ( x 1 ) =f ( x 2 ) ⇒ x 1=x 2
⇒ ( x 1−x 2 ) ( x 21 + x 22+ x 1 x2 ) =0
[( ) ]
2
x2 3 2
⇒ ( x 1−x 2 ) x1 + + x2 = 0
2 4
( )
2
x
⇒ x 1−x 2=0 , but x 1 + 2 + 3 x 22 ≠ 0
2 4
∴ x1= x2
∴ f is one-one function.
Then, x= y 1 /3 ∈ R
∴ f is onto function.
So, f is one-one.
1
Now, for y=1 , x= 2 ∉ N .
EXAMPLE 11. Show that the function f : N → N , given by f (1)=f (2)=1 and
f (x)=x−1 for every x >2, is onto but not one-one.
Sol. We have a function f : N → N , defined as
f (1)=f (2)=1 and f ( x)=x−1 , for every x >2
For one-one Since, f (1)=f (2)=1, therefore 1 and 2 have same image,
namely 1 . So, f is not one-one. For onto Note that y=1 has two pre-images,
namely 1 and 2 . Now, let y ∈ N , y ≠ 1 be any arbitrary element. Then,
y=f (x )⇒ y=x−1
Hence, f is onto.
EXAMPLE 13. For any real number x , we define the greatest integer as [ x]=¿
greatest integer less than or equal to x . Prove that the greatest integer
function f : R → R such that f (x)=[ x ] is neither one-one nor onto.
∴ f (x ) is not onto.
{−4 }
EXAMPLE 15. Let f : R− 3 → R be a function defined as f (x)= 3 x +4 . Show
4x
For one-one
{−4 }
Let x 1 x 2 ∈ R− 3 , such that
f ( x1 ) ¿ f ( x2 ) 4 x2
= ¿⇒ ¿ 12 x 1 x 2 +16 x 1 ¿ ¿=12 x 1 x2 +16 x 2 ¿ ⇒ ¿ 16 x 1 ¿ ¿=16 x 2 ¿⇒ ¿ x1 ¿ ¿= x2 ¿
⇒ ¿ 3 x2 + 4
So, f is one-one.
For onto
4y
⇒ x ( 4−3 y)=4 y ⇒ x=
4−3 y
So, f is onto.
Topic Practice 2
1 Suppose f : R → R be defined by
3 Suppose two sets A and B are defined as A={2 , 3 , 4 }, B={6 , 9 ,12 , 15 }. The
rule between two sets is defined as f : A → B such that f (x)=3 x , ∀ x ∈ A . Find
the domain, codomain, and range of f .
(iv) g( x )=x 2+ 8 ; g : Z → Z
g(x )=cos x. Show that f and g are one-one, but f +g is not one-one.
[NCERT]
11 With the help of following graph, find the equation of function. Also,
check whether the function is many-one or not.
13 Let f : N → N be defined by
{
n+1
, if n is odd
2
f (n)=
n
, if n is even
2
Show that f is many-one and onto function.
[NCERT]
14 Identify the following functions as injection, surjection or bijection.
15 Show that the greatest integer function f : R → R such that f (x)=[ x−3] is
neither one-one nor onto.
f (x)= {x−1
x+1 , if x is odd
, if x is even
is bijective (both one-one and onto).
[NCERT]
[NCERT]
⇒ f (−2)=3 ¿
¿−15+2=−13
¿ 20+7=27
2. Similar as Example 1.
Ans. (i) Domain ¿ {1 , 2 , 4 }, Range ¿ {3 , 5 ,−7 }
5. Similar as Example 2.
Ans. (i) Domain ¿ R, Range ¿ ¿
⇒ x=± 4
7. (i) Given, f ={(1 , 4),(2 , 5),(3 , 6)}. Here, we see that, each element of A
have distinct image. So, it is one-one.
(ii) Given, g={(a , x ),(b , y ),(c , x)}.
Here, we see that elements a and c have same image x , so it is not one-one.
8. Similar as Example 4.
Ans. (i) One-on
(ii) One-one
(iii) Many-one
(iv) Many-one (v) Many-one
(vi) One-one
[ ] π
9. Let x 1 , x 2 ∈ 0 , 2 , such that x 1 ≠ x 2.
sine function cannot give same value. This is also true for cosine function]
[ ∵ a1 ≠ a2 ⇒ f ( a 1 ) ≠ f ( a2 ) ]
()
π π π
and (f + g) 2 =sin 2 +cos 2 =1
∴ f + g is not one-one
11.It is clear from the graph that it is a parabolic curve. So, let the
equation of the function is
2
y=a x +bx +c
Points on the curve are A(1 , 2), B(2 , 3) and C (−1 ,6) .
On putting the points A(1 , 2), B(2 , 3) and C (−1 ,6) in the
Now, y=¿
⇒¿
⇒ (x−1)=± √ y −2
⇒ x=1 ± √ y−2
12.Similar as Example 7
Ans. (i) Onto (ii) Into (iii) Onto (iv) Into
13.Given, f : N → N , defined by
{
n+1
, if n is odd
2
f (n)=
n
, if n is even
2
1+1 2
Here, f (1)= 2 =1 and f (2)= 2 =1
Since, from both cases, we have pre-images. So, we can choose either of
the case to get the pre-image.
Therefore, f is onto.
14.Similar as Example 9.
Ans. (i) Injection (ii) None of them (iii) Bijection
So, f is one-one.
For onto Let ( b ' , a' ) ∈ B × A be any arbitrary element, then there exists
( a ' , b' ) ∈ A × B , such that
1
x 1=3 and x2 = , then
3
3
f (3)= =f
10
1
3 ()
but 3 ≠
1
3
[
⇒ ∵ f (x )= 2
x
x +1 ]
or (1−2 k)(1+ 2k )<0 , i.e. k >1/2 or k ←1/2
So, f is not onto.
Hence, f is neither one-one nor onto.
⇒ √ 4−x 2
1 ¿=√ 4−x 22 ⇒ 4−x 21=4−x 22
⇒ x 21 ¿=x 22 ⇒ x 1=± x 2 ⇒ x 1=x 2
Thus, for each k ∈[0 , 2], there exists x=√ 4−k 2 ∈[0 , 2] such that f (x)=k . So,
f (x) is onto.
{
x
, if x ≥ 0
1+¿ x∨¿= 1+ x ¿
x
, if x< 0
1−x
⇒ x 1=x 2
Case III When one is non-negative and other is negative Let x 1 ≥ 0 and x 2< 0.
x1 x2
Now, if f ( x 1 ) =f ( x 2 ), then 1+ x = 1−x
1 2
⇒ x 1−x 1 x 2=x 2 + x 1 x 2
For onto Let y ∈(−1 ,1) be any arbitrary element. Then, the following cases
arise
y
⇒ x= ≥0 , for 0 ≤ y <1
1− y
y
Thus, for each y ∈¿, there exists x= 1− y ∈ R such that f (x)= y .
[∵ f (x )=
x
1−x
<0
]
⇒ y − yx=x ⇒ y= yx + x=x ( y +1)
y
⇒ x= < 0, for −1< y <0
y +1
y
Thus, for each y ∈(−1 ,0), there exist x= y +1 ∈ R such that f (x)= y .
[NCERT]
(a) (2 , 4)∈ R
(b) (3 , 8)∈ R
(c) (6 , 8)∈ R
(d) (8 , 7)∈ R
(a) reflexive
(b) transitive
(c) symmetric
(d) an equivalence relation
[NCERT Exemplar]
(a) 1
(b) 2
(c) 3
(d) 5
[NCERT]
5 Set A has 3 elements and the set B has 4 elements. Then the number of
injective mappings that can be defined from A to B is
[NCERT Exemplar]
(a) 144
(b) 12
(c) 24
(d) 64
[CBSE 2023]
(a) 2
(b) 4
(c) 0
(d) 8
[
−π π
12 Function f (x)=sin x is many-one in the interval 2 , 2 ]
13 A function f : R → R be defined by f ( x)=x3 + 4 is a bijection.
[NCERT Exemplar]
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. [All India 2011]
[CBSE 2023]
[NCERT Exemplar]
[NCERT]
[CBSE 2023]
[CBSE 2023]
[NCERT]
−1 1
[ ]
26 Check whether a function f : R → 2 , 2 defined as f (x)=
1+ x
x
2 is one-one
[CBSE 2023]
27 Show that the function f : N → N , given by f (n)=n−¿ is a bijection.
28 Let A=[−1 ,1], then discuss whether the following functions defined on A
are one-one and onto or bijective.
(i) f (x)=x /2
(iii) k ( x)=x 2
[NCERT Exemplar]
(iii) Find the total number of relations that can be formed from set A to B.
Or
18. B={2 , 4 , 6 , 8 }
19.(i) {(1 ,1),(1 , 2),(2 , 3),(2 , 2), (1, 3),(3 , 3),(4 , 4 )}
(ii) {(2 , 2),(1 , 2),(2 , 1)}
20.a=± 3
21.T 1 and T 3
22. f (x) is onto but not one-one.
23.(i) f is one-one but not onto
(ii) g is neither one-one nor onto
(iii) k is neither one-one nor onto
24.(i) 25
(ii) equivalence
(iii) 2 ∨{ ( b1 , a1 ) , ( b3 , a2 ) , ( b 4 ,a 3 ) }
500