Relations AND Functions: Equality of Ordered Pairs
Relations AND Functions: Equality of Ordered Pairs
RELATIONS AND
FUNCTIONS
INTRODUCTION
In daily life, we come across many relations such as Teacher and Student, Mother and Daughter,
m
Book and Cost. In mathematics also, we come across many relations such as
(i) number x is square of number y
(ii) line l is perpendicular to line m
.co
(iii) set A is a proper subset of set B
(iv) area of a circle with radius r is πr2.
la
In each of these, we notice that a relation involves pairs of objects in a certain order. In this
chapter, we will learn how to connect pairs of objects from two sets and then introduce relation
between two objects of the pair. Finally, we shall learn about special type of relations called
iy
functions. From the beginning of modern mathematics in the 17th century, the concept of
function has been at the very centre of mathematical thought. It gives the mathematical rule by
dh
An ordered pair is written by listing its two members in a specific order, separating them by
a comma and enclosing the pair in parentheses. In the ordered pair (a, b) , a is called the first
member (or component) and b is called the second member (or component).
Equality of ordered pairs. Two ordered pairs (a, b) and (c, d) are called equal, written as
(a, b) = (c, d), iff a = c and b = d.
REMARKS
1. The word ordered implies that the order in which the two elements of the pair occur is
meaningful. For example, if we have a sock and a shoe, the order in which they are put
on matters. In fact, there are situations in which order is very important and essential.
2. The ordered pairs (a, b) and (b, a) are different unless a = b.
3. The two components of an ordered pair may be equal.
4. Note that {a , b} ≠ (a , b), because {a , b} is a set whereas (a , b) is an ordered pair.
m
c ∈ C is called the cartesian product of A, B and C. It is written as A × B × C. Thus,
A × B × C = {(a, b, c) : for all a ∈ A, b ∈ B, c ∈ C}.
.co
ILLUSTRATIVE EXAM PLES
Example 1. If the ordered pairs (x – 1, y + 3) and (2, x + 4) are equal, find x and y.
la
Solution. (x – 1, y + 3) = (2, x + 4)
⇒ x – 1 = 2 and y + 3 = x + 4
⇒
iy
x = 3 and y = x + 1
⇒ x = 3 and y = 3 + 1 = 4.
Hence x = 3 and y = 4.
dh
Example 2. If P = {a, b, c} and Q = {d}, form the sets P × Q and Q × P. Are these two cartesian
products equal? (NCERT)
Solution. Given P = {a, b, c} and Q = {d}, by definition of certesian product, we get
bo
m
Example 7. If A = {1, 2}, B = {2, 3} and C = {0}, form the set A × B × C.
Solution. Given A = {1, 2}, B = {2, 3} and C = {0}, by def.,
.co
A × B × C = {(1, 2, 0), (1, 3, 0), (2, 2, 0), (2, 3, 0)}.
Example 8. If A = {– 1, 1}, form the set A × A × A. (NCERT)
Solution. Given A = {– 1, 1}, by def.,
la
A × A × A = {(– 1, – 1, – 1), (– 1, – 1, 1), (– 1, 1, – 1), (– 1, 1, 1),
(1, – 1, – 1), (1, – 1, 1), (1, 1, – 1), (1, 1, 1)}.
iy
Example 9. If R is the set of all real numbers, what do the cartesian products R × R and
R × R × R represent? (NCERT)
Solution. The cartesian product R × R represents the set {(x, y) : x, y ∈ R} which represents
dh
Example 10. If A × B = {(0, 2), (3, – 1), (4, 2), (0, – 1), (3, 2), (4, – 1)}, then find B × A.
Solution. Clearly, B × A can be obtained from A × B by interchanging the components of
ordered pairs in A × B.
∴ B × A = {(2, 0), (– 1, 3), (2, 4), (– 1, 0), (2, 3), (– 1, 4)}.
Example 11. If A × B = {(a, p), (b, q), (c, p), (a, q), (b, p), (c, q)}, find A and B.
Solution. A = set of first components of A × B = {a, b, c},
B = set of second components of A × B = {p, q}.
Example 12. Let A and B be two sets such that n (A) = 5 and n (B) = 2. If (a, 1), (b, 5), (c, 5),
(d, 1), (e, 5) are in A × B, find A and B, where a, b, c, d, e are distinct elements. Also write the remaining
elements of A × B.
Solution. Since a, b, c, d, e are distinct elements and (a, 1), (b, 5), (c, 5), (d, 1), (e, 5) are elements
of A × B, therefore,
a, b, c, d, e ∈ A and 1, 5 ∈ B.
But n (A) = 5 and n (B) = 2,
∴ A = {a, b, c, d, e} and B = {1, 5}.
The remaining elements of A × B are (a, 5), (b, 1), (c, 1), (d, 5), (e, 1).
52 MATHEMATICS – XI
Example 13. The cartesian product A × A has 9 elements among which are found (– 1, 0) and (0, 1).
Find the set A and the remaining elements of A × A. (NCERT)
Solution. Let n (A) = m.
Given n (A × A) = 9 ⇒ n (A). n (A) = 9
⇒ m . m = 9 ⇒ m2 = 9 ⇒ m = 3 ( Q m > 0)
Given (– 1, 0) ∈ A × A ⇒ – 1 ∈ A and 0 ∈ A.
Also (0, 1) ∈ A × A ⇒ 0 ∈ A and 1 ∈ A.
Thus, – 1, 0, 1 ∈ A but n (A) = 3.
Therefore, A = {– 1, 0, 1}.
The remaining elements of A × A are (– 1, – 1), (– 1, 1), (0, – 1), (0, 0), (1, – 1), (1, 0), (1, 1).
EXERCISE 2.1
Very short answer type questions (1 to 19) :
1. Find a and b if
(ii) ⎛ + 1, b − ⎞ = ⎛ , ⎞
a 2 5 1
(i) (a + 1, b – 2) = (3, 1) (NCERT)
⎝3 3⎠ ⎝3 3⎠
m
(iii) (2 a, a + b) = (6, 2) (iv) (a + b, 3 b – 2) = (7, – 5).
2. Find x and y if
(i) (4x + 3, y) = (3x + 5, – 2)
.co (NCERT Examplar Problems)
(ii) (x – y, x + y) = (6, 10) (NCERT Examplar Problems)
(iii) (2x + y, x – y) = (8, 3) (NCERT Examplar Problems)
(iv) (x – 2, 2y + 1) = (y – 1, x + 2)
la
3. If the ordered pairs (a, – 1) and (5, b) belong to {(x, y) : y = 2 x – 3}, find the values of a
and b.
iy
in A × B ? (NCERT)
8. If A = {– 3, – 1, 0, 4} and B = {– 1, 0, 1, 2, 3}, then write the number of elements in each
of the following cartesian products :
(i) A × B (ii) B × A (iii) A × A (iv) B × B.
9. If A = {1, 2} and B = {3, 4}, then how many subsets will A × B have?
10. If x ∈ {2, 3, 5} and y ∈ {2, 4, 6}, form the set of all ordered pairs (x, y) such that x < y.
11. If x ∈ {– 1, 2, 3, 4, 5} and y ∈ {0, 3, 6}, form the set of all ordered pairs (x, y) such that
x + y = 5.
12. If x ∈ {2, 3, 4} and y ∈ {4, 6, 9, 10}, form the set of all ordered pairs (x, y) such that x is
a factor of y.
13. State whether each of the following statements is true or false. If the statement is false,
rewrite the given statement correctly.
(i) If P = {m, n} and Q = {n, m}, then P × Q = {(m, n), (n, m)}.
(ii) If A and B are non-empty sets, then A × B is a non-empty set of ordered pairs (x, y)
such that x ∈ B and y ∈ A.
(iii) If A = {1, 2}, B = {3, 4}, then A × (B ∩ φ) = φ. (NCERT)
RELATIONS AND FUNCTIONS 53
14. If A = {– 1, 0, 1, 2, 3}, write the subset S of A × A such that the second component of the
elements of S is 0.
15. If A × B = {(p, q), (p, r), (m, q), (m, r)}, find A and B.
16. If A × B = {(– 1, 1), (– 1, 2), (2, 1), (2, 2), (3, 1), (3, 2)}, find A and B.
17. Let A and B be two sets such that n (A) = 3 and n (B) = 2. If (x, 1), (y, 2), (z, 1) are in
A × B, find A and B, where x, y, z are distinct elements. (NCERT)
18. If A = {x, y, z} and some elements of A × B are (x, 1), (y, 2), (z, 1), then write the set B such
that n(A × B) = 6.
19. If A × B = {(x, 1), (y, 2), (x, 3), (y, 3), (y, 1), (x, 2)}, then find B × A.
20. If A = {2, 3, 4} and B = {0, 1}, find
(i) A × B (ii) B × A (iii) A × A (iv) B × B
(v) n(A × B) (vi) n(B × A) (vii) n(A × A) (viii) n(B × B).
Is A × B = B × A ?
21. If A = {1, 2, 3, 4} and B = {5, 7, 9}, find
(i) A × B (ii) B × A
m
(iii) Is A × B = B × A? (iv) Is n (A × B) = n (B × A)?
.co (NCERT Examplar Problems)
22. If P = {x : x < 3, x ∈ N} and Q = {x : x ≤ 2, x ∈ W}, find (P ∪ Q) × (P ∩ Q).
(NCERT Examplar Problems)
la
23. Let A = {1, 2, 3}, B = {3, 4} and C = {4, 5, 6}. Find
(i) A × (B ∩ C) (ii) (A × B) ∩ (A × C)
A × (B ∪ C) (A × B) ∪ (A × C).
iy
(iii) (iv)
24. Let A = {1, 2}, B = {1, 2, 3, 4}, C = {5, 6} and D = {5, 6, 7, 8}.
dh
Verify that
(i) A × (B ∩ C) = (A × B) ∩ (A × C) (ii) A × C is a subset of B × D.
25. If A = {x : x ∈ W, x < 2}, B = {x : x ∈ N, 1 < x < 5} and C = {3, 5}, find
bo
2.3 RELATIONS
In everyday life, we frequently speak of relations between two or more objects. To learn the
concept properly, consider the following examples :
(i) Let A = {1, 2, 3, 5} and B = {2, 4}, then
A × B = {(1, 2), (1, 4), (2, 2), (2, 4), (3, 2), (3, 4), (5, 2), (5, 4)}.
We can obtain a subset of A × B by introducing a relation ‘is less than’ between the elements
of the sets A and B.
If we write R for the relation ‘is less than’, then we get
A B
1 R 2, 1 R 4, 2 R 4, 3 R 4. 1• >• 2
Omitting the letter R between the above pairs of
2• >
numbers and writing these pairs of numbers as ordered >•4
>
pairs, the above information can be written as a set of 3•
m
such that (x, y) ∈ R iff x R y i.e. iff x < y.
(ii) Let A = {2, 3, 5, 9} and B = {4, 6, 9, 15, 25}. There is a relation ‘is a divisor of ’ between the
.co
elements of the sets A and B. If we write R for the relation ‘is a divisor of ’, then we get
2 R 4, 2 R 6, 3 R 6, 3 R 9, 3 R 15, 5 R 15, 5 R 25, 9 R 9.
This can be written as a set of ordered pairs R where
R = {(2, 4), (2, 6), (3, 6), (3, 9), (3, 15), (5, 15), (5, 25), (9, 9)}
la
= {(x, y) : x ∈ A, y ∈ B, x is a divisor of y}.
Thus, the relation ‘is a divisor of ’ from the set A to the set B gives rise to a subset R of
iy
R = {(1, 1), (2, 4), (3, 9), (4, 16), (5, 25), ……}
= {(x, y) : x , y ∈ N, y = x2}.
Thus, R is a subset of N × N such that (x, y) ∈ R iff x R y i.e. iff y = x2.
The above examples lead to :
Definition. If A, B are any two (non-empty) sets, then any subset of A × B is called a relation from
A to B.
Let R be a relation from A to B. If R = φ, then R is called the empty relation and if
R = A × B, then R is called the universal relation.
If R is a relation from A to B and if (a, b) ∈ R, then we write a R b and say that a is related
to b and if (a, b) ∉ R, then we write a R b and say that a is not related to b.
In particular, if A is any (non-empty) set, then any subset of A × A is called a relation on A.
m
R, is the set of all first components of the ordered pairs which belong to R, and the range of the relation
R is the set of all second components of the ordered pairs which belong to R. Thus,
domain of R = {x : x ∈ A, (x, y) ∈ R for some y ∈ B} and
.co
range of R = { y : y ∈ B, (x, y) ∈ R for some x ∈ A}.
If R is a relation from A to B, then B is called codomain of R.
For example,
la
let A = {1, 3, 4, 5, 7}, B = {2, 4, 6, 8} and R be the relation ‘is one less than’ from A to B, then
R = {(1, 2), (3, 4), (5, 6), (7, 8)}. Here,
iy
from A to B.
Solution. Given n(A) = m and n(B) = k
∴ n(A × B) = n(A) × n(B) = mk.
∴ The number of subsets of A × B = 2mk
( Q if n (A) = m, then the number of subsets of A = 2m)
Since every subset of A × B is a relation from A to B, therefore, the number of relations from
A to B = 2mk.
Example 2. If a relation R = {(0, 0), (2, 4), (– 1, – 2), (3, 6), (1, 2)}, then
(i) write domain of R. (ii) write range of R.
(iii) write R in the builder form. (iv) represent R by an arrow diagram.
Solution. Given R = {(0, 0), (2, 4), (– 1, – 2), (3, 6), (1, 2)}.
A B
(i) Domain of R = {0, 2, – 1, 3, 1}. R
0• >• 0
(ii) Range of R = {0, 4, – 2, 6, 2}. 2• >• 4
3• >• 6
R = {(x, y) : x ∈ I, – 1 ≤ x ≤ 3, y = 2x}.
1• >• 2
(iv) The relation R can be represented by
Fig. 2.3.
the arrow diagram, shown in fig. 2.3.
56 MATHEMATICS – XI
Example 3. If A = {– 1, 2, 5, 8}, B = {0, 1, 3, 6, 7} and R be the relation ‘is one less than’ from A
to B, then
(i) find R as a set of ordered pairs. (ii) find domain and range of R.
Solution. (i) Given A = {–1, 2, 5, 8}, B = {0, 1, 3, 6, 7} and R is the relation ‘is one less than’
from A to B, therefore,
R = {(– 1, 0), (2, 3), (5, 6)}.
(ii) Domain of R = {– 1, 2, 5} and range of R = {0, 3, 6}.
Example 4. If A = {1, 2, 3}, B = {1, 2, 3, 4} and R = {(x, y): (x, y) ∈ A × B, y = x + 1}, then
(i) find A × B. (ii) write R in roster form.
(iii) write domain and range of R. (iv) represent R by an arrow diagram.
B
Solution. (i) {(1, 1), (1, 2), (1, 3), (1, 4), (2, 1), (2, 2), A R •1
(2, 3), (2, 4), (3, 1), (3, 2), (3, 3), (3, 4)}. ⎯• ⎯ ⎯ ⎯ ⎯
1
⎯ ⎯ ⎯⎯→
•2
(ii) R = {(1, 2), (2, 3), (3, 4)}. 2⎯• ⎯⎯⎯
⎯⎯⎯⎯
⎯→• 3
(iii) Domain of R = {1, 2, 3} and range of R = {2, 3, 4}. 3⎯• ⎯⎯⎯
⎯⎯⎯⎯
⎯→• 4
(iv) The relation R can be represented by the arrow
diagram shown in fig. 2.4. Fig. 2.4.
m
Example 5. If A = {1, 2, 3, 4, …, 14} and a relation R is defined from A to A by
R = {(x, y) : 3x – y = 0, x, y ∈ A}.
.co
(i) Write R in roster form. (ii) Write its domain, codomain and range.
(iii) Depict this relationship by an arrow diagram. (NCERT)
la
Solution. Given A = {1, 2, 3, 4, …, 14}, relation R from A to A is defined by 3x – y = 0 i.e.
y = 3x, x, y ∈ A.
A A
R
(i) R = {(1, 3), (2, 6), (3, 9), (4, 12)}.
iy
1• •1
8• 2• • 2 • 10
>•3
(ii) Domain = {1, 2, 3, 4}, 9•
3• • 11
10 • • 4 >• 12
11• 4• • 5 • 13
codomain = {1, 2, 3, …, 14} = A
dh
12 • 5• >•6
13 • 6• • 7 • 14
and range = {3, 6, 9, 12}. 14 •
7• >•8
•9
(iii) The relation R can be represented by the arrow Fig. 2.5.
diagram shown in fig. 2.5.
bo
R = {(4, 2), (4, – 2), (9, 3), (9, – 3), (25, 5), (25, – 5)} Fig. 2.6.
(ii) In set builder form, R = {(x, y) : x = y2, x ∈ P, y ∈ Q}
Domain of this relation = {4, 9, 25} and its range = {2, – 2, 3, – 3, 5, – 5}.
Example 7. Find the domain and the range of the relation R defined by
R = {(x + 1, x + 3) : x ∈ {0, 1, 2, 3, 4, 5}}.
Solution. Given x ∈ {0, 1, 2, 3, 4, 5},
put x = 0, x + 1 = 0 + 1 = 1 and x + 3 = 0 + 3 = 3,
x = 1, x + 1 = 1 + 1 = 2 and x + 3 = 1 + 3 = 4,
RELATIONS AND FUNCTIONS 57
x = 2, x + 1 = 2 + 1 = 3 and x + 3 = 2 + 3 = 5,
x = 3, x + 1 = 3 + 1 = 4 and x + 3 = 3 + 3 = 6,
x = 4, x + 1 = 4 + 1 = 5 and x + 3 = 4 + 3 = 7,
x = 5, x + 1 = 5 + 1 = 6 and x + 3 = 5 + 3 = 8,
Hence R = {(1, 3), (2, 4), (3, 5), (4, 6), (5, 7), (6, 8)}.
∴ Domain of R = {1, 2, 3, 4, 5, 6} and range of R = {3, 4, 5, 6, 7, 8}.
Example 8. If R = {(x, y) : x, y ∈ W, 2x + y = 8}, then
(i) find the domain and the range of R.
(ii) write R as a set of ordered pairs.
Solution. (i) Given 2x + y = 8 and x, y ∈ W,
put x = 0, 2 × 0 + y = 8 ⇒ y = 8,
x = 1, 2 × 1 + y = 8 ⇒ y = 6,
x = 2, 2 × 2 + y = 8 ⇒ y = 4,
x = 3, 2 × 3 + y = 8 ⇒ y = 2,
x = 4, 2 × 4 + y = 8 ⇒ y = 0.
m
For all other values of x ∈ W, we do not get y ∈ W.
∴ Domain of R = {0, 1, 2, 3, 4} and range of R = {8, 6, 4, 2, 0}.
(ii) R as a set of ordered pairs can be written as
.co
R = {(0, 8), (1, 6), (2, 4), (3, 2), (4, 0)}.
Example 9. Find the domain and the range of the relation R given by
la
6
R = {(x, y) : y = x + , where x, y ∈ N and x < 6} (NCERT Examplar Problems)
x
6
, x, y ∈ N and x < 6.
iy
Solution. Given y = x +
x
6
When x = 1, y = 1 + = 7 and 7 ∈ N, so (1, 7) ∈ R;
dh
1
6
when x = 2, y = 2 + = 5 and 5 ∈ N, so (2, 5) ∈ R;
2
6
when x = 3, y = 3 + = 5 and 5 ∈ N, so (3, 5) ∈ R;
bo
3
6
when x = 4, y = 4 + ∉ N, and
4
6
when x = 5, y = 5 + ∉N
5
∴ R = {(1, 7), (2, 5), (3, 5)}.
Domain of R = {1, 2, 3} and range of R = {7, 5}.
Example 10. Find the linear relation between the components of the ordered pairs of the relation R
where R = {(2, 1), (4, 7), (1, – 2), …}.
Solution. Given R = {(2, 1), (4, 7), (1, – 2), …}.
Let y = ax + b be the linear relation between the components of R.
Since (2, 1) ∈ R, ∴ y = ax + b ⇒ 1 = 2 a + b …(i)
Also (4, 7) ∈ R, ∴ y = ax + b ⇒ 7 = 4 a + b …(ii)
Subtracting (i) from (ii), we get 2 a = 6 ⇒ a = 3.
Substituting a = 3 in (i), we get 1 = 6 + b ⇒ b = – 5.
Substituting these values of a and b in y = ax + b, we get y = 3x – 5, which is the required
linear relation between the components of the given relation.
58 MATHEMATICS – XI
1• >>• 4
>
2• >
>•6
>
(ii) The relation R can be represented by the arrow 3•
diagram shown in fig 2.7. 5• > •9
Fig. 2.7.
Example 12. Let A = {3, 5} and B = {7, 11}. Let R = {(a, b) : a ∈ A, b ∈ B, a – b is odd}. Show
that R is an empty relation from A to B.
m
Solution. Here A × B = {(3, 7), (3, 11), (5, 7), (5, 11)}. Since none of the numbers 3 – 7, 3 – 11,
5 – 7, 5 – 11 is an odd number, therefore, none of pairs (3, 7), (3, 11), (5, 7) and (5, 11) belongs
to R.
.co
Hence R is an empty relation.
Example 13. If A = {2, 4, 6, 9}, B = {4, 6, 18, 27, 54} and a relation R from A to B is defined by
R = {(a, b) : a ∈ A, b ∈ B, a is a factor of b and a < b}, then find R in Roster form. Also find its domain
la
and range. (NCERT Examplar Problems)
Solution. Given A = {2, 4, 6, 9}, B = {4, 6, 18, 27, 54} and
iy
EXERCISE 2.2
Very short answer type questions (1 to 10) :
1. If A and B are two sets such that n (A) = 2 and n (B) = 3, find the number of relations
from
(i) A to B (ii) B to A (iii) A to A.
2. Let A = {1, 2} and B = {3, 4}. Find
(i) A × B (ii) number of relations from A to B. (NCERT)
3. Let A = {1, 2} and B = {x, y, z}, find the number of relations from
(i) A to A (ii) A to B (iii) B to A (iv) B to B.
4. If a relation R = {(– 2, 1), (0, 2), (3, 1), (0, – 1), (4, 2), (5, 1)}, then write its domain and range.
5. If A = {2, 3, 5}, B = {2, 4, 6} and R is the relation from A to B defined by
m
R = {(x, y) : x ∈ A, y ∈ B and x < y}, then write R in the roster form.
6. If A = {1, 3, 5, 7, 8} and B = {2, 3, 4, 6, 8, 10} and R be the relation ‘is one less than’ from
A to B, then write R in the roster form.
.co
7. If A = {2, 3, 4}, B = {4, 6, 9, 10} and
R = {(x, y) : (x, y) ∈ A × B such that x is a factor of y}, then write R in roster form.
8. If A = {2, 3, 4, 5, 6} and R is a relation from A to A defined by
la
R = {(x, y) : y = x + 1, x, y ∈ A}, then list the elements of R.
9. If A = {1, 2, 3, …, 17} and R is a relation on A defined by R = {(x, y) : 3x – y = 0, x, y ∈ A},
iy
m
21. Determine the domain and the range of the following relations :
(i) {(x, y) : x ∈ N, y ∈ N and x + y = 10}
(ii) {(x, y) : x ∈ N, x < 5, y = 3}.
.co
22. Let R be the relation on N defined by
R = {(a, b) : a ∈ N, b ∈ N and a + 3b = 12}, then
la
(i) list the elements of R
(ii) find the domain of R
iy
12
R = {(x, y) : y = x + , x, y ∈ N}, then find
x
(i) R in Roster form (ii) domain of R (iii) range of R.
24. If A = {2, 3, 6, 10} and B = {1, 6, 10}, find the elements of the subset of A × B corresponding
bo
to the relation R ‘is less than’. Also represent this relation by an arrow diagram.
25. Write down the domain and the range of the relation (x, y) : x = 3y and x and y are
natural numbers less than 10.
26. Let A = {– 2, – 1, 0, 1, 2}, list the ordered pairs satisfying each of the following relations
on A :
(i) ‘is greater than’. (ii) ‘is the square of ’. (iii) ‘is the negative of ’.
27. If A = {1, 3, 5, 6} and B = {3, 4, 5}, write the relation R as a set of ordered pairs if
(i) R = {(x, y) : (x, y) ∈ A × B : x + y is even}
(ii) R = {(x, y) : (x, y) ∈ A × B : x y is odd}.
28. Let R be the relation on Z defined by
R = {(x, y) : x, y ∈ Z, x – y is an odd integer}.
Find the domain and range of R. (NCERT)
29. Let R = {(x, y) : x, y ∈ Z, y = 2x – 4}. If (a, – 2) and (4, b2) belong to R, find the values of
a and b.
30. Find the linear relation between the components of the ordered pairs of the relation R
where
(i) R = {(– 1, – 1), (0, 2), (1, 5), …}. (ii) R = {(0, 2), (– 1, 5), (2, – 4), …}.
RELATIONS AND FUNCTIONS 61
2.4 FUNCTIONS
A function is a special case of a relation. To be specific, let X, Y be two non-empty sets and R
(or f ) be a relation from X to Y, then R may not relate an element of X to an element of Y or it
may relate an element of X to more than one element of Y. But a function relates each element
of X to a unique element of Y. We have :
Definition. If X, Y are two non-empty sets then a subset f of X × Y is called a function (or mapping
or map) from X to Y iff for each x ∈ X, there exists a unique y ∈ Y such that (x, y) ∈ f. It is written
as f : X → Y.
Thus, a subset f of X × Y is called a function from X to Y iff
(i) for each x ∈ X, there exists y ∈ Y such that (x, y) ∈ f and
(ii) no two different ordered pairs have the same first component.
In other words, a function from X to Y is a rule (or correspondence) which associates to each
element x of X, a unique element y of Y.
Image of an element. The unique element y ∈ Y is called the image of the element x of X under
the function f : X → Y. It is denoted by f (x) i.e. y = f (x). The element y is also called the value of the
function f at x.
m
Let f be a function from X to Y, then the set X is called the domain of the function f and the set Y is
called the codomain.
.co
The set consisting of all the images of the elements of X under the function f is called the range of
f. It is denoted by f (X). Thus,
range of f = { f (x) : for all x ∈ X}.
la
Note that range of f is a subset of Y (codomain) which may or may not be equal to Y.
For example :
(1) Let X = {1, 2, 3, 4, 5}, Y = {0, 1, 2, 3, 5, 7, 9, 11, 13} and
iy
(i) f = {(1, 1), (2, 0), (3, 7), (4, 9), (5, 13)}, then f is a function from X to Y because each element
of X has a unique image in Y.
dh
Fig. 2.8.
62 MATHEMATICS – XI
X Y
(ii) the rule depicted by the adjoining arrow diagram a• > •p
represents a function from X to Y because each element of •q
b•
X has a unique image in Y. > •r
c• >
Range of the function = {p, r, s}. > •s
d•
Note that the elements a and d of X have the same •t
image s in Y. Fig. 2.9.
X Y
>
>• p
a•
(iii) the rule depicted by the adjoining arrow diagram >• q
b•
does not represent a function from X to Y because the >• r
element a of X has two different images p and r in Y. c•
•s
d• >• t
Fig. 2.10.
m
X Y
.co a• •p
>• q
(iv) the rule depicted by the adjoining arrow diagram b•
>• r
does not represent a function from X to Y because the c•
>• s
element c of X has no image in Y.
la
d•
•t
Fig. 2.11.
iy
(iii) there may be elements of Y which are not associated with any element of X.
(iv) distinct elements of X may have same image in Y.
(v) function f is determined when f (x) is known for all x ∈ X.
m
X Y X Y
> •g 2• > •1
a•
•2
b• >
•f
.co
3•
>
•7
> >
c•
•4
d• > >• m > •5
4•
la
(i) (ii)
Fig. 2.12.
iy
Solution. (i) The given diagram represents a function because each element of the set
{a, b, c, d} has a unique image in the set { g, f, m}.
Its domain = {a, b, c, d} and range = { g, f, m}.
dh
(ii) The given diagram does not represent a function because the element 3 of the set
{2, 3, 4} has two different images 2 and 4 in the set {1, 2, 4, 5, 7}.
Example 4. Let N be the set of natural numbers and the relation R be defined on N by
bo
ANSWERS
EXERCISE 2.1
1. (i) a = 2, b = 3 (ii) a = 2, b = 1 (iii) a = 3, b = – 1 (iv) a = 8, b = – 1
2. (i) x = 2, y = – 2 (ii) x = 8, y = 2
11 2
(iii) x = ,y= (iv) x = 3, y = 2
3 3
3. a = 1, b = 7
4. P × Q = {(7, 5), (7, 4), (7, 2), (8, 5), (8, 4), (8, 2)} and
Q × P = {(5, 7), (5, 8), (4, 7), (4, 8), (2, 7), (2, 8)}
5. (i) {(– 1, 3), (– 1, 5), (0, 3), (0, 5), (1, 3), (1, 5)}
(ii) {(3, – 1), (3, 0), (3, 1), (5, – 1), (5, 0), (5, 1)}
(iii) {(3, 3), (3, 5), (5, 3), (5, 5)}
6. 6 7. 9 8. (i) 20 (ii) 20 (iii) 16 (iv) 25
9. 16 10. {(2, 4), (2, 6), (3, 4), (3, 6), (5, 6)}
11. {(– 1, 6), (2, 3), (5, 0)} 12. {(2, 4), (2, 6), (2, 10), (3, 6), (3, 9), (4, 4)}
m
13. (i) False; P × Q = {(m, n), (m, m), (n, n), (n, m)}
(ii) False; if A and B are non-empty sets, then A × B is a non-empty set of ordered pairs
(x, y) such that x ∈ A and y ∈ B
.co
(iii) True.
14. S = {(– 1, 0), (0, 0), (1, 0), (2, 0), (3, 0)} 15. A = {p, m} and B = {q, r}
16. A = {– 1, 2, 3} and B = {1, 2} 17. A = {x, y, z} and B = {1, 2}
la
18. B = {1, 2} 19. B × A = {(1, x), (2, y), (3, x), (3, y), (1, y), (2, x)}
20. (i) {(2, 0), (2, 1), (3, 0), (3, 1), (4, 0), (4, 1)}
iy
(ii) {(0, 2), (0, 3), (0, 4), (1, 2), (1, 3), (1, 4)}
(iii) {(2, 2), (2, 3), (2, 4), (3, 2), (3, 3), (3, 4), (4, 2), (4, 3), (4, 4)}
dh
(ii) {(5, 1), (5, 2), (5, 3), (5, 4), (7, 1), (7, 2), (7, 3), (7, 4), (9, 1), (9, 2), (9, 3), (9, 4)}
(iii) No (iv) Yes
22. [(0, 1), (0, 2), (1, 1), (1, 2), (2, 1), (2, 2)}
23. (i) {(1, 4), (2, 4), (3, 4)} (ii) {(1, 4), (2, 4), (3, 4)}
(iii) {(1, 3), (1, 4), (1, 5), (1, 6), (2, 3), (2, 4), (2, 5), (2, 6), (3, 3), (3, 4), (3, 5), (3, 6)}
(iv) {(1, 3), (1, 4), (1, 5), (1, 6), (2, 3), (2, 4), (2, 5), (2, 6), (3, 3), (3, 4), (3, 5), (3, 6)}
25. (i) {(0, 3), (1, 3)}
(ii) {(0, 2), (0, 3), (0, 4), (0, 5), (1, 2), (1, 3), (1, 4), (1, 5)}
27. A × B = {(1, 3), (1, 4), (2, 3), (2, 4)}; 16;
φ, {(1, 3)}, {(1, 4)}, {(2, 3)}, {(2, 4)}, {(1, 3), (1, 4)}, {(1, 3), (2, 3)}, {(1, 3),
(2, 4)}, {(1, 4), (2, 3)}, {(1, 4), (2, 4)}, {(2, 3), (2, 4)}, {(1, 3), (1, 4), (2, 3)},
{(1, 3), (1, 4), (2, 4)}, {(1, 3), (2, 3), (2, 4)}, {(1, 4), (2, 3), (2, 4)}, A × B.
28. {(1, 1, 1), (1, 1, 2), (1, 2, 1), (1, 2, 2), (2, 1, 1), (2, 1, 2), (2, 2, 1), (2, 2, 2)}
29. B = {p, q}; (a, q), (b, p), (c, q)
30. A × B = {(– 1, 2), (– 1, 3), (2, 2), (2, 3), (4, 2), (4, 3)},
B × A = {(2, – 1), (3, – 1), (2, 2), (3, 2), (2, 4), (3, 4)}
RELATIONS AND FUNCTIONS 89
31. A = {– 2, 0, 1}, A × A = {(– 2, – 2), (– 2, 0), (– 2, 1), (0, – 2), (0, 0), (0, 1), (1, – 2), (1, 0), (1, 1)}
32. A = {a, b, c} ; (a, 3), (a, 5), (b, 2), (b, 5), (c, 2), (c, 3)
EXERCISE 2.2
1. (i) 64 (ii) 64 (iii) 16 2. {(1, 3), (1, 4), (2, 3), (2, 4)}; 16
3. (i) 16 (ii) 64 (iii) 64 (iv) 512 4. Domain = {– 2, 0, 3, 4, 5} and range = {1, 2, – 1}
5. R = {(2, 4), (2, 6), (3, 4), (3, 6), (5, 6)} 6. R = {(1, 2), (3, 4), (5, 6), (7, 8)}
7. R = {(2, 4), (2, 6), (2, 10), (3, 6), (3, 9), (4, 4)} 8. {(2, 3), (3, 4), (4, 5), (5, 6)}
9. R = {(1, 3), (2, 6), (3, 9), (4, 12), (5, 15)}
10. (i) R = {(2, 8), (3, 27), (5, 125), (7, 343)} (ii) R = {(0, 4), (1, 9), (3, 25), (5, 49)}
11. (i) Domain = {1, 3, 4} and range = {x, y, z}
(ii) A B
1• >• x
>
2•
>• y
3•
m
>
4• •z
4• >•6
>
>
6• > • 18
dh