You are on page 1of 79

12.

01 Relations and Functions


1. Recap of Relations

Mohammed Iqbal R
HoD Mathematics, Xylem Learning
Recall

We have learned the following in class XI


1. the idea of relations and function
2. domain, codomain and range of relations and functions
3. specific types of real valued functions and their graphs
Relations
Definiton
A relation R from a non-empty set A to a non-empty set B is a subset of
the cartesian product A × B. The subset is derived by describing a
relationship between the first element and the second element of the
ordered pairs in A × B. The second element is called the image of the
first element.
Exercise 02346 [JEE Main 2019]
 
(x +2)(x 2 −5x +6)
Let Z be the set of integers. If A = x ∈ Z : 2 = 1 and
B = {x ∈ Z : −3 < 2x − 1 < 9}, then the number of subsets of the set
A × B is
(A) 218
(B) 212
(C) 215
(D) 210
Solution 02346

C  
A = x ∈ Z : 2(x +2)(x −5x +6) = 1
2

(x + 2) x 2 − 5x + 6 = 0
 

(x + 2)(x − 2)(x − 3) = 0
⇒ x = −2, 2, 3
A = {−2, 2, 3}
n(A) = 3
B ={x ∈ Z : −3 < 2x − 1 < 9}
− 3 < 2x − 1 < 9
− 2 < 2x < 10
−1<x <5
B = {0, 1, 2, 3, 4}
n(B) = 5
n(A × B) = 15

Numer of subsets = 215
Representing a Relation
A relation may be represneted
1. algebraically by the set-builder method
2. algebraically by the roster method
3. visually using an arrow diagram
4. visually using a graph
Example [NCERT TB]
Let A = {1, 2, 3, 4, 5, 6}. Define a relation R from A to A by

R = {(x , y ) : y = x + 1}

(i) Write down the roster form of this relation.


(ii) Depict this relation using an arrow diagram.
Solution
(i) By the definition of the relation,
R = {(1, 2), (2, 3), (3, 4), (4, 5), (5, 6)}.
(ii)The corresponding arrow diagram is shown below
Note
The relation R = {(x , y ) : x ∈ A, y ∈ A, y = x + 1} is also expressed as
xRy if and only if y = x + 1, i.e., if (x , y ) ∈ R, we say that x is related
to y and we denote it as xRy
Relations on/in a set

Relations defined from a non-empty set A to itself are called relations


defined ”in set A ” or ”on set A ”
Remember
2
For a set with n(A) = m, the number of relations defined on set A is 2m
Exercise 81200 [KEAM 2012]
If n(A) = 5 and n(B) = 7, then the number of relations on A × B is
(A) 35
(B) 235
(C) 270
(D) 235×35
Solution 81200

D
Number of relations from A × B to A × B is 235×35
Exercise 20231 [NCERT EP]
Let the relation R be defined in N by aRb if 2a + 3b = 30. Then the
number of elements in R is .....
Solution 20231

4
R = {(3, 8), (6, 6), (9, 4), (12, 2)}
Exercise 20232 [NCERT EP]
Let the
n
relation

R be defined on the set A = {1, 2, 3, 4, 5} by
R = (a, b) : a − b 2 < 8 Then the number of elements in R is .....
2
Solution 20232

11
R=
{(1, 1), (1, 2), (2, 1), (2, 2), (2, 3), (3, 2), (3, 3), (3, 4), (4, 3), (4, 4), (5, 5)}
Exercise 20233 [NCERT TB]
Let X = {1, 2, 3, 4, 5, 6, 7, 8, 9}. Let R1 be a relation in X given by
R1 = {(x , y ) : x − y is divisible by 3} and R2 be another relation on X
given by R2 = {(x , y ) : {x , y } ⊂ {1, 4, 7}} or {x , y } ⊂ {2, 5, 8} or
{x , y } ⊂ {3, 6, 9}}. Then the correct statements(s) IS/ARE
(A) R1 ⊂ R2
(B) R2 ⊂ R1
(C) R1 = R2
(D) R1 6= R2
Solution 20233

A, B, C
Note that the characteristic of sets {1, 4, 7}, {2, 5, 8} and {3, 6, 9} is that
difference between any two elements of these sets is a multiple of 3 .
Therefore, (x , y ) ∈ R1 ⇒ x − y is a multiple of 3 ⇒ {x , y } ⊂ {1, 4, 7} or
{x , y } ⊂ {2, 5, 8} or {x , y } ⊂ {3, 6, 9} ⇒ (x , y ) ∈ R2 . Hence, R1 ⊂ R2 .
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 } ∈ R1 . This shows
that R2 ⊂ R1 . Hence, R1 = R2 .
Exercise 20228 [NCERT TB]
Let R be the relation in the set N given by
R = {(a, b) : a = b − 2, b > 6}. Choose the correct answer :
(A) (2, 4) ∈ R
(B) (3, 8) ∈ R
(C) (6, 8) ∈ R
(D) (8, 7) ∈ R
Solution 20228

C
(6, 8) ∈ R as 6 = 8 − 2 and 8 > 6
Exercise 80500 [KEAM 2005]
n o
The number of elements in the set (a, b) : 2a2 + 3b 2 = 35, a, b ∈ Z ,
where Z is the set of all integers, is
(A) 2
(B) 4
(C) 8
(D) 12
Solution 20228

C n o
A = (a, b) : 2a2 + 3b 2 = 35, a, b ∈ Z
a2 b 2
4 9
16 1 
 (2, 3), (2, −3), (−2, 3), (−2, −3), 
A=
(4, 1), (4, −1), (−4, 1), (−4, −1) 
Exercise 80700 [KEAM 2007]
Let Zn denote the set of all integers and
o
A = (a, b) : a2 + 3b 2 = 28, a, b ∈ Z and
B = {(a, b) : a > b, a, b ∈ Z}. Then, the number of elements in A ∩ B is
(A) 3
(B) 4
(C) 5
(D) 6
Solution 80700

D n o
A = (a, b) : a2 + 3b 2 = 28, a, b ∈ Z
a2 b 2
1 9
25 1
16 4
A = {(1, 3), (1, −3), (−1, 3), (−1, −3)
(5, 1), (5, −1), (−5, 1), (−5, −1)
(4, 2), (4, −2), (−4, 2), (−4, −2)}
B = {(a, b) : a > b, a, b ∈ Z}
A ∩ B = {(1, −3), (−1, −3), (5, 1), (5, −1), (4, 2), (4, −2)}
Exercise 01369 [JEE Main 2021]
Let Z be the set of all integers,
A = (x , y ) ∈ Z × Z : (x − 2)2 + y 2 ≤ 4
n o

B = (x , y ) ∈ Z × Z : x 2 + y 2 ≤ 4 and
n o

C = (x , y ) ∈ Z × Z : (x − 2)2 + (y − 2)2 ≤ 4
n o

If the total number of relations from A ∩ B to A ∩ C is 2p , then the value


of p is
(A) 25 (B) 9
(C) 16 (D) 49
Solution 01369
A
n(A ∩ B) = 5
n(A ∩ C ) = 5
The total number of relations is 25×5 and hence p = 25
Exercise 00161 [JEE Main 2018]
Two sets A and B as under :
A = {(a, b) ∈ R × R : |a − 5| < 1 and |b − 5| < 1}
B = (a, b) ∈ R × R : 4(a − 6)2 + 9(b − 5)2 ≤ 36
n o

Then
(A) neither A ⊂ B nor B ⊂ A
(B) B ⊂ A
(C) A ⊂ B
(D) A ∩ B = φ (an empty set)
Solution 00161

C
a−6=x
⇒a−5=x +1
b−5=y
A = {(x , y ) : |x + 1| < 1&|y | < 1}
− 1 < x + 1 < 1 ⇒ −2 < x < 0
−1< y < 1 ⇒ −1 < y <o1
B = (x , y ) : 4x 2 + 9y 2 ≤ 36
n

x2 y2
+ ≤1
9 4
So A ⊂ B
Domain

Definiton
The set of all first elements of the ordered pairs in a relation R from a set
A to a set B is called the domain of the relation R.
Range and Codomain

Definiton
The set of all second elements in a relation R from a set A to a set B is
called the range of the relation R. The whole set B is called the
codomain of the relation R.
Note
range ⊂ codomain.
Example [NCERT TB]
Let A = {1, 2, 3, 4, 5, 6}. Define a relation R from A to A by

R = {(x , y ) : y = x + 1}

Write down the domain,codomain and range of R


Solution

We can see that the domain = {1, 2, 3, 4, 5}.


Similarly, the range = {2, 3, 4, 5, 6} and the codomain = {1, 2, 3, 4, 5, 6}.
Exercise 20229 [NCERT EP]
Let R be a relation defined as R = {(x , y ) : x ∈ N, y ∈ N, 2x + y = 41}.
Then the domain of R is
(A) {1, 2, 3, . . . , 20}
(B) {1, 2, 3, . . . , 21}
(C) {1, 2, 3, . . . , 40}
(D) {1, 3, 5, . . . , 39}
Solution 20229

A
R = {(1, 39), (2, 37), (3, 35), . . . , (20, 1)}
Domain= {1, 2, 3, . . . , 20}
Exercise 20230 [NCERT EP]
Let R be a relation defined as R = {(x , y ) : x ∈ N, y ∈ N, 2x + y = 41}.
Then the range of R is
(A) {1, 2, 3, . . . , 20}
(B) {1, 3, 5, . . . , 41}
(C) {1, 2, 3, . . . , 40}
(D) {1, 3, 5, . . . , 39}
Solution 20230

D
R = {(1, 39), (2, 37), (3, 35), . . . , (20, 1)}
Range= {1, 3, 5, . . . , 39}
Exercise 40021 [IIT JEE 1979]
Consider the following relations in the set of real numbers R.
R = (x , y ); x ∈ R, y ∈ R, x 2 + y 2 ≤ 25
n o

4
( )
R 0 = (x , y ) : x ∈ R, y ∈ R, y ≥ x 2
9
The domain and range of R ∩ R 0 respectively are
(A) [−3, 3], [−5, 5]
(B) [−3, 3], [0, 5]
(C) [0, 3], [−5, 5]
(D) [0, 3], [0, 5]
Solution 40021
B
Find the points of intersection of the two curves by solving them.
9y
y2 + = 25
4
4y 2 + 9y − 100 = 0
4y 2 + 25y − 16y − 100 = 0
y {4y + 25} − 4{4y + 25} = 0
−25
y = 4, y =
4
2 2
y = 4 ⇒ x + y = 25
x = ±3
A = (−3, 4), B = (3, 4)
domain = [−3, 3]
range = [0, 5]
Empty and Universal Relations

Definiton
A relation R in a set A is called empty relation, if no element of A is
related to any element of A, i.e., R = φ ⊂ A × A.

Definiton
A relation R in a set A is called universal relation, if each element of A
is related to every element of A, i.e., R = A × A.
Note
Both the empty relation and the universal relation are sometimes called
trivial relations.
An Important Idea
The Cartesian product R × R represents the set R × R = R2 =
{(x , y ) : x , y ∈ R} which represents the coordinates of all the points in
two dimensional space and the cartesian product R × R × R represents
the set R × R × R = R3 = {(x , y , z) : x , y , z ∈ R} which represents the
coordinates of all the points in three-dimensional space.
Example [NCERT TB]
Let A = {1, 2, 3, 4}. Consider two relations defined in A given by
R = {(a, b) : a − b = 10} and R 0 = {(a, b) : |a − b| ≥ 0}. Show that R
is the empty relation and R 0 is the universal relation
Solution

R = {(a, b) : a − b = 10} is the empty set, as no pair (a, b) satisfies the


condition a − b = 10. Similarly, R 0 = {(a, b) : |a − b| ≥ 0} is the whole
set A × A, as all pairs (a, b) in A × A satisfy |a − b| ≥ 0.
Exercise 20224 [NCERT TB]
Let A be the set of all students of a boys school. Consider the following 2
statements:
S1 : The relation R in A given by R = {(a, b) : a is sister of b} is the
empty relation
S2 : The relation R 0 = {(a, b) : the difference between heights of a and b
is less than 3 meters } is the universal relation.
Then,
(A) S1 is true and S2 is false
(B) S1 is false and S2 is true
(C) S1 is true and S2 is true
(D) S1 is false and S2 is false
Solution 20224

C
Since the school is boys school, no student of the school can be sister of
any student of the school. Hence, R = φ, showing that R is the empty
relation. It is also obvious that the difference between heights of any two
students of the school has to be less than 3 meters. This shows that
R 0 = A × A is the universal relation.
Identity Relation

Definiton
Let A be non-empty set. Then, IA = {(a, a) : a ∈ A} is called the identity
relation on set A. In other words, a relation IA on a set A is called the
identity relation if every element of A is related to itself only.
Example
If A = {1, 2, 3, 4}, then {(1, 1), (2, 2), (3, 3), (4, 4)} is the identity relation
on A whereas {(1, 1), (2, 2), (3, 3)} and {(1, 1), (2, 2),
(3, 3), (4, 4), (1, 3)} are not identity relations on A
Inverse Relation
Definiton
Let A, B be two sets and let R be a relation from A to B. Then, the
inverse of R, denoted by R −1 , is a relation from B to A obtained from R
by interchanging the components of ordered pairs in R. Thus,
R −1 = {(b, a) : (a, b) ∈ R}
Note
Clearly, Domain (R) = Range R −1 and, Range (R) = Domain R −1 .
   
Example
Let A = {1, 2, 3, . . . , 10} and R = {(x , y ) : x + 2y = 10, x , y ∈ A} be a
relation on A. Then, R −1 =
(A) {(2, 4), (4, 3), (6, 2), (8, 1)}
(B) {(4, 2), (3, 4), (2, 6), (1, 8)}
(C) {(4, 2), (3, 4), (2, 6)}
(D) {(y , x ) : 2x + y = 10, x , y ∈ A}
Solution

B
R = {(2, 4), (4, 3), (6, 2), (8, 1)}
R −1 = {(4, 2), (3, 4), (2, 6), (1, 8)}
Exercise 00460 [JEE Main 2020]
n o
If R = (x , y ) : x , y ∈ Z, x 2 + 3y 2 ≤ 8 is a relation on the set of
integers Z, then the domain of R −1 is :
(A) {−2, −1, 1, 2}
(B) {−1, 0, 1}
(C) {−2, −1, 0, 1, 2}
(D) {0, 1}
Solution 00460

R = {(0, 0), (1, 0), (2, 0), (1, 1), (2, 1), (0, 1)(0, −1), (1, −1),
(−1, 1), (−1, −1), (2, −1), (−2, −1), (−2, 1), (−1, 0), (−2, 0)}
Range of R = {0, 1, −1}

You might also like