12.01 Relations and Functions: Mohammed Iqbal R
12.01 Relations and Functions: Mohammed Iqbal R
Mohammed Iqbal R
HoD Mathematics, Xylem Learning
Recall
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}
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
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}
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
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}