









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Summary of Relations and Functions - Mathematics is accompanied by examples of questions with short answers, long answers and exercises.
Typology: Study notes
1 / 17
This page cannot be seen from the preview
Don't miss anything!










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 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. 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 that range is always a subset of codomain.
1.1.2 Types of Relations A relation R in a set A is subset of A × A. Thus empty set φ and A × A are two extreme relations. (i) A relation R in a set A is called empty relation, if no element of A is related to any
(ii) 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. (iii) A relation R in A is said to be reflexive if a R a for all a ∈A, R is symmetric if a R b ⇒ b R a , (^) ∀ a , b ∈ A and it is said to be transitive if a R b and b R c ⇒ a R c ∀ a, b, c ∈ A. Any relation which is reflexive, symmetric and transitive is called an equivalence relation.
into pairwise disjoint subsets called equivalent classes whose collection is called a partition of the set. Note that the union of all equivalence classes gives the whole set.
1.1.3 Types of Functions (i) A function f : X → Y is defined to be one-one (or injective), if the images of distinct elements of X under f are distinct, i.e., x 1 , x 2 ∈ X, f ( x 1 ) = f ( x 2 ) ⇒ x 1 = x 2. (ii) A function f : X → Y is said to be onto (or surjective), if every element of Y is the image of some element of X under f , i.e., for every y ∈ Y there exists an element x ∈ X such that f ( x ) = y.
2 MATHEMATICS
(iii) A function f : X → Y is said to be one-one and onto (or bijective), if f is both one- one and onto.
1.1.4 Composition of Functions
(i) Let f : A → B and g : B → C be two functions. Then, the composition of f and g , denoted by g o f , is defined as the function g o f : A → C given by g o f ( x ) = g ( f ( x )), (^) ∀ x ∈ A. (ii) If f : A → B and g : B → C are one-one, then g o f : A → C is also one-one (iii) If f : A → B and g : B → C are onto, then g o f : A → C is also onto. However, converse of above stated results (ii) and (iii) need not be true. Moreover, we have the following results in this direction. (iv) Let f : A → B and g : B → C be the given functions such that g o f is one-one. Then f is one-one. (v) Let f : A → B and g : B → C be the given functions such that g o f is onto. Then g is onto.
1.1.5 Invertible Function (i) A function f : X → Y is defined to be invertible, if there exists a function g : Y → X such that g o f = Ix and f o g = IY. The function g is called the inverse of f and is denoted by f –^1. (ii) A function f : X → Y is invertible if and only if f is a bijective function. (iii) If f : X → Y, g : Y → Z and h : Z → S are functions, then h o ( g o f ) = ( h o g ) o f. (iv) Let f : X → Y and g : Y → Z be two invertible functions. Then g o f is also invertible with ( g o f )–1^ = f –1^ o g –1.
1.1.6 Binary Operations (i) A binary operation * on a set A is a function * : A × A → A. We denote * ( a , b ) by a (^) * b. (ii) A binary operation * on the set X is called commutative, if a (^) * b = b (^) * a for every a , b ∈ X. (iii) A binary operation (^) * : A × A → A is said to be associative if ( a (^) * b ) * c = a (^) * ( b (^) * c ), for every a , b , c ∈ A. (iv) Given a binary operation * : A × A → A, an element e ∈ A, if it exists, is called identity for the operation *, if a (^) * e = a = e (^) * a , (^) ∀ a ∈ A.
4 MATHEMATICS
Solution Given that f ( x ) = 4 x – 3 = y (say), then 4 x = y + 3
⇒ x =
y +
Hence f –1^ ( y ) =
y + ⇒ f –1^ ( x ) =
x +
Example 7 Is the binary operation * defined on Z (set of integer) by m (^) * n = m – n + mn (^) ∀ m , n ∈ Z commutative? Solution No. Since for 1, 2 ∈ Z , 1 * 2 = 1 – 2 + 1.2 = 1 while 2 (^) * 1 = 2 – 1 + 2.1 = 3 so that 1 * 2 ≠ 2 * 1.
Example 8 If f = {(5, 2), (6, 3)} and g = {(2, 5), (3, 6)}, write the range of f and g.
Solution The range of f = {2, 3} and the range of g = {5, 6}.
Example 9 If A = {1, 2, 3} and f , g are relations corresponding to the subset of A × A indicated against them, which of f , g is a function? Why? f = {(1, 3), (2, 3), (3, 2)} g = {(1, 2), (1, 3), (3, 1)} Solution f is a function since each element of A in the first place in the ordered pairs is related to only one element of A in the second place while g is not a function because 1 is related to more than one element of A, namely, 2 and 3. Example 10 If A = { a , b , c , d } and f = { a , b ), ( b , d ), ( c , a ), ( d , c )}, show that f is one- one from A onto A. Find f –1. Solution f is one-one since each element of A is assigned to distinct element of the set A. Also, f is onto since f (A) = A. Moreover, f –1^ = {( b , a ), ( d , b ), ( a , c ), ( c , d )}. Example 11 In the set N of natural numbers, define the binary operation * by m (^) * n = g.c.d ( m , n ), m , n ∈ N. Is the operation * commutative and associative? Solution The operation is clearly commutative since m (^) * n = g.c.d ( m , n ) = g.c.d ( n , m ) = n (^) * m (^) ∀ m , n ∈ N. It is also associative because for l , m , n ∈ N , we have l (^) * ( m (^) * n ) = g. c. d ( l , g.c.d ( m , n )) = g.c.d. ( g. c. d ( l , m ), n ) = ( l (^) * m ) * n.
RELATIONS AND FUNCTIONS 5
Example 12 In the set of natural numbers N , define a relation R as follows: ∀ n ,^ m^ ∈^ N ,^ n R m^ if on division by 5 each of the integers^ n^ and^ m^ leaves the remainder less than 5, i.e. one of the numbers 0, 1, 2, 3 and 4. Show that R is equivalence relation. Also, obtain the pairwise disjoint subsets determined by R. Solution R is reflexive since for each a ∈ N , a R a. R is symmetric since if a R b , then b R a for a , b ∈ N. Also, R is transitive since for a , b , c ∈ N , if a R b and b R c , then a R c. Hence R is an equivalence relation in N which will partition the set N into the pairwise disjoint subsets. The equivalent classes are as mentioned below: A 0 = {5, 10, 15, 20 ...} A 1 = {1, 6, 11, 16, 21 ...} A 2 = {2, 7, 12, 17, 22, ...} A 3 = {3, 8, 13, 18, 23, ...} A 4 = {4, 9, 14, 19, 24, ...} It is evident that the above five sets are pairwise disjoint and
A 0 ∪ A 1 ∪ A 2 ∪ A 3 ∪ A 4 =
4 i^ ∪ = 0 A i =^ N^.
Example 13 Show that the function f : R → R defined by f ( x ) = 2 1 ,
x (^) x x
R (^) , is
neither one-one nor onto.
Solution For x 1 , x 2 ∈ R , consider f ( x 1 ) = f ( x 2 )
⇒ 1 2 2 2 1 1 2 1
x x x x
⇒ x 1 x^22 + x 1 = x 2 x 1^2 + x 2 ⇒ x 1 x 2 ( x 2 – x 1 ) = x 2 – x 1 ⇒ x 1 = x 2 or x 1 x 2 = 1 We note that there are point, x 1 and x 2 with x 1 ≠ x 2 and f ( x 1 ) = f ( x 2 ), for instance, if
we take x 1 = 2 and x 2 =
2 , then we have^ f^ ( x^1 ) =^
5 and^ f^ ( x^2 ) =^
5 but^
≠ (^). Hence
f is not one-one. Also, f is not onto for if so then for 1∈ R ∃ x ∈ R such that f ( x ) = 1
RELATIONS AND FUNCTIONS 7
This leads to a function g : R → R defined as
g ( y ) =
y − .
Therefore, ( g o f ) ( x ) = g ( f ( x ) = g (4 x + 5)
x + − = x
or g o f = IR
Similarly ( f o g ) ( y ) = f ( g ( y ))
f ^^ y −
y − + =^ y
or f o g = IR.
Hence f is invertible and f –1^ = g which is given by
f –1^ ( x ) =
x −
Example 16 Let * be a binary operation defined on Q. Find which of the following binary operations are associative (i) a (^) * b = a – b for a , b ∈ Q.
(ii) a (^) * b = (^4)
ab for a , b ∈ Q. (iii) a (^) * b = a – b + ab for a , b ∈ Q. (iv) a (^) * b = ab^2 for a , b ∈ Q.
Solution (i) (^) * is not associative for if we take a = 1, b = 2 and c = 3, then ( a (^) * b ) * c = (1 * 2) * 3 = (1 – 2) (^) * 3 = – 1 – 3 = – 4 and a (^) * ( b (^) * c ) = 1 * (2 * 3) = 1 * (2 – 3) = 1 – ( – 1) = 2.
8 MATHEMATICS
Thus ( a (^) * b ) * c ≠ a (^) * ( b (^) * c ) and hence * is not associative. (ii) (^) * is associative since Q is associative with respect to multiplication. (iii) (^) * is not associative for if we take a = 2, b = 3 and c = 4, then ( a (^) * b ) * c = (2 * 3) * 4 = (2 – 3 + 6) (^) * 4 = 5 * 4 = 5 – 4 + 20 = 21, and a (^) * ( b (^) * c ) = 2 * (3 * 4) = 2 * (3 – 4 + 12) = 2 (^) * 11 = 2 – 11 + 22 = 13 Thus ( a (^) * b ) * c ≠ a (^) * ( b (^) * c ) and hence * is not associative. (iv) (^) * is not associative for if we take a = 1, b = 2 and c = 3, then ( a (^) * b ) * c = (1 * 2) * 3 = 4 * 3 = 4 × 9 = 36 and a (^) * ( b (^) * c ) = 1 * (2 * 3) = 1 * 18 = 1 × 18^2 = 324. Thus ( a (^) * b ) * c ≠ a (^) * ( b (^) * c ) and hence * is not associative.
Choose the correct answer from the given four options in each of the Examples 17 to 25.
Example 17 Let R be a relation on the set N of natural numbers defined by n R m if n divides m. Then R is (A) Reflexive and symmetric (B) Transitive and symmetric (C) Equivalence (D) Reflexive, transitive but not symmetric Solution The correct choice is (D). Since n divides n, (^) ∀ n ∈ N , R is reflexive. R is not symmetric since for 3, 6 ∈ N , 3 R 6 ≠ 6 R 3. R is transitive since for n , m , r whenever n / m and m / r ⇒ n / r , i.e., n divides m and m divides r , then n will devide r.
Example 18 Let L denote the set of all straight lines in a plane. Let a relation R be defined by l R m if and only if l is perpendicular to m (^) ∀ l , m ∈ L. Then R is (A) reflexive (B) symmetric (C) transitive (D) none of these
Solution The correct choice is (B).
Example 19 Let N be the set of natural numbers and the function f : N → N be defined by f ( n ) = 2 n + 3 (^) ∀ n ∈ N. Then f is (A) surjective (B) injective (C) bijective (D) none of these Solution (B) is the correct option.
Example 20 Set A has 3 elements and the set B has 4 elements. Then the number of
10 MATHEMATICS
Solution R = {(1, 1), (2, 2), (3, 3)}.
Example 26 The domain of the function f : R → R defined by f ( x ) = (^) x^2^ – 3 x + 2 is
________. Solution Here x^2 – 3 x + 2 ≥ 0 ⇒ ( x – 1) ( x – 2) ≥ 0 ⇒ x ≤ 1 or x ≥ 2 Hence the domain of f = (– ∞, 1] ∪ [2, ∞)
Example 27 Consider the set A containing n elements. Then, the total number of injective functions from A onto itself is ________. Solution n!
Example 28 Let Z be the set of integers and R be the relation defined in Z such that a R b if a – b is divisible by 3. Then R partitions the set Z into ________ pairwise disjoint subsets. Solution Three.
Example 29 Let R be the set of real numbers and * be the binary operation defined on R as a (^) * b = a + b – ab (^) ∀ a , b ∈ R. Then, the identity element with respect to the binary operation * is _______. Solution 0 is the identity element with respect to the binary operation *. State True or False for the statements in each of the Examples 30 to 34.
Example 30 Consider the set A = {1, 2, 3} and the relation R = {(1, 2), (1, 3)}. R is a transitive relation. Solution True.
Example 31 Let A be a finite set. Then, each injective function from A into itself is not surjective. Solution False.
Example 32 For sets A, B and C, let f : A → B, g : B → C be functions such that g o f is injective. Then both f and g are injective functions. Solution False.
Example 33 For sets A, B and C, let f : A → B, g : B → C be functions such that g o f is surjective. Then g is surjective Solution True.
RELATIONS AND FUNCTIONS 11
Example 34 Let N be the set of natural numbers. Then, the binary operation * in N defined as a (^) * b = a + b , (^) ∀ a , b ∈ N has identity element. Solution False.
1.3 EXERCISE Short Answer (S.A.)
1. Let A = { a , b , c } and the relation R be defined on A as follows: R = {( a , a ), ( b , c ), ( a , b )}. Then, write minimum number of ordered pairs to be added in R to make R reflexive and transitive. 2. Let D be the domain of the real valued function f defined by f ( x ) = (^25) − x^2.
Then, write D.
respectively. Then, find g o f.
5. If A = { a , b , c , d } and the function f = {( a , b ), ( b , d ), ( c , a ), ( d , c )}, write f –1.
7. Is g = {(1, 1), (2, 3), (3, 5), (4, 7)} a function? If g is described by
8. Are the following set of ordered pairs functions? If so, examine whether the mapping is injective or surjective. (i) {( x , y ): x is a person, y is the mother of x }. (ii){( a , b ): a is a person, b is an ancestor of a }. 9. If the mappings f and g are given by f = {(1, 2), (3, 5), (4, 1)} and g = {(2, 3), (5, 1), (1, 3)}, write f o g.
f ( z ) = | z |, (^) ∀ z ∈ C , is neither one-one nor onto.
neither one-one nor onto.
12. Let X = {1, 2, 3}and Y = {4, 5}. Find whether the following subsets of X ×Y are functions from X to Y or not. (i) f = {(1, 4), (1, 5), (2, 4), (3, 5)} (ii) g = {(1, 4), (2, 4), (3, 4)} (iii) h = {(1,4), (2, 5), (3, 5)} (iv) k = {(1,4), (2, 5)}. 13. If functions f : A → B and g : B → A satisfy g o f = IA, then show that f is one- one and g is onto.
RELATIONS AND FUNCTIONS 13
(iii) x y is square of an integer x, y (^) ∈ N (iv) x + 4y = 10 x, y (^) ∈ N. Determine which of the above relations are reflexive, symmetric and transitive.
23. 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 and also obtain the equivalent class [(2, 5)]. 24. Using the definition, prove that the function f : A → B is invertible if and only if f is both one-one and onto. 25. Functions f , g : R → R are defined, respectively, by f ( x ) = x^2 + 3 x + 1, g ( x ) = 2 x – 3, find (i) f o g (ii) g o f (iii) f o f (iv) g o g 26. Let * be the binary operation defined on Q. Find which of the following binary operations are commutative
27. Let * be binary operation defined on R by a (^) * b = 1 + ab, (^) ∀ a, b ∈ R. Then the operation * is (i) commutative but not associative (ii) associative but not commutative (iii) neither commutative nor associative (iv) both commutative and associative
Choose the correct answer out of the given four options in each of the Exercises from 28 to 47 (M.C.Q.).
28. Let T be the set of all triangles in the Euclidean plane, and let a relation R on T be defined as a R b if a is congruent to b (^) ∀ a, b ∈ T. Then R is (A) reflexive but not transitive (B) transitive but not symmetric (C) equivalence (D) none of these 29. Consider the non-empty set consisting of children in a family and a relation R defined as a R b if a is brother of b. Then R is (A) symmetric but not transitive (B) transitive but not symmetric (C) neither symmetric nor transitive (D) both symmetric and transitive
14 MATHEMATICS
30. The maximum number of equivalence relations on the set A = {1, 2, 3} are (A) 1 (B) 2 (C) 3 (D) 5 31. If a relation R on the set {1, 2, 3} be defined by R = {(1, 2)}, then R is
(A) reflexive (B) transitive (C) symmetric (D) none of these
(A) an equivalence relation (B) reflexive, transitive but not symmetric (C) symmetric, transitive but (D) neither transitive nor reflexive not reflexive but symmetric.
33. Let A = {1, 2, 3} and consider the relation R = {1, 1), (2, 2), (3, 3), (1, 2), (2, 3), (1,3)}. Then R is (A) reflexive but not symmetric (B) reflexive but not transitive (C) symmetric and transitive (D) neither symmetric, nor transitive 34. The identity element for the binary operation * defined on Q ~ {0} as
a (^) * b = 2
ab
(C) 2 (D) none of these
35. If the set A contains 5 elements and the set B contains 6 elements, then the number of one-one and onto mappings from A to B is (A) 720 (B) 120 (C) 0 (D) none of these 36. Let A = {1, 2, 3, ... n } and B = { a , b }. Then the number of surjections from A into B is (A) n^ P 2 (B) 2 n^ – 2 (C) 2 n^ – 1 (D) None of these
16 MATHEMATICS
Then ( f o f ) x is (A) constant (B) 1 + x (C) x (D) none of these
of f is
x −
another function defined by g ( x ) = x + 2. Then ( g o f )
2 is (A) 1 (B) 1
(C)
(B) none of these
2
x x f x x x x x
Then f (– 1) + f (2) + f (4) is (A) 9 (B) 14 (C) 5 (D) none of these
(B) { n π + (^4)
: n ∈ Z} (C) does not exist (D) none of these
Fill in the blanks in each of the Exercises 48 to 52.
48. Let the relation R be defined in N by a R b if 2 a + 3 b = 30. Then R = ______. 49. Let the relation R be defined on the set A = {1, 2, 3, 4, 5} by R = {( a , b ) : | a^2 – b^2 | < 8. Then R is given by _______. 50. Let f = {(1, 2), (3, 5), (4, 1) and g = {(2, 3), (5, 1), (1, 3)}. Then g o f = ______ and f o g = ______.
RELATIONS AND FUNCTIONS 17
51. Let f : R → R be defined by ( )^2. 1
f x^ x x
Then ( f o f o f ) ( x ) = _______
52. If f ( x ) = (4 – ( x –7)^3 }, then f –1( x ) = _______.
State True or False for the statements in each of the Exercises 53 to 63.
53. Let R = {(3, 1), (1, 3), (3, 3)} be a relation defined on the set A = {1, 2, 3}. Then R is symmetric, transitive but not reflexive. 54. Let f : R → R be the function defined by f ( x ) = sin (3 x +2) (^) ∀ x ∈ R. Then f is invertible. 55. Every relation which is symmetric and transitive is also reflexive. 56. An integer m is said to be related to another integer n if m is a integral multiple of n. This relation in Z is reflexive, symmetric and transitive. 57. Let A = {0, 1} and N be the set of natural numbers. Then the mapping f : N → A defined by f (2 n –1) = 0, f (2 n ) = 1, (^) ∀ n ∈ N , is onto. 58. The relation R on the set A = {1, 2, 3} defined as R = {{1, 1), (1, 2), (2, 1), (3, 3)} is reflexive, symmetric and transitive. 59. The composition of functions is commutative. 60. The composition of functions is associative. 61. Every function is invertible. 62. A binary operation on a set has always the identity element.