0% found this document useful (0 votes)
8 views

Function and relations

This document discusses the concepts of relations and functions in mathematics, including definitions of relations, types of relations such as reflexive, symmetric, transitive, and equivalence relations. It provides examples to illustrate these concepts and explains how relations can be represented and analyzed. The chapter emphasizes the importance of understanding these foundational concepts in mathematics.

Uploaded by

use923221
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
8 views

Function and relations

This document discusses the concepts of relations and functions in mathematics, including definitions of relations, types of relations such as reflexive, symmetric, transitive, and equivalence relations. It provides examples to illustrate these concepts and explains how relations can be represented and analyzed. The chapter emphasizes the importance of understanding these foundational concepts in mathematics.

Uploaded by

use923221
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 17
Chapter (REL NS AND FUNCTIONS ) There is no permanent place in the world for ugly mathematics ... . It may be very hard to define mathematical beauty but that is just as true of beauty of any kind, we may not know quite what we mean by a beautiful poem, but that does not prevent us from recognising ‘one when we read it. — G. H, HARDY & 1.1 Introduction Recall that the notion of relations and functions, domain, co-domain and range have been introduced in Class along with different types of specific real valued functions and their graphs. The concept of the term ‘relation’ in mathematics has been drawn from the meaning of relation. in English language, according to which two objects or quantities are related if there is a recognisable connection or link between the two objects or quantities, Let A be the set of students of Class XII of a school and B be the set of students of Class XI of the same school. Then some of the examples of relations from A to B are () {(a, 6) € AB: ais brother of 6}, Dirichlet (i) ((a, b) € AB: ais sister of}, (1805-1859) (ii) (a, b) € A xB: age of a is greater than age of b}, (iv) {(a, 6) € A * B: total marks obtained by a in the final examination is less than the total marks obtained by 6 in the final examination}, {(a, b) € Ax B: alives in the same locality as b}. However, abstracting from this, we define mathematically a relation R from A to B as an arbitrary subset of AX B. If(a, 6) € R, we say that a is related to 6 under the relation R and we write as aR b. In general, (a, 6) € R, we do not bother whether there is a recognisable connection or link between @ and b. As seen in Class XI, functions are special kind of relations, Inthis chapter, we will study different types of relations and functions, composition of functions, invertible functions and binary operations. W Reprint 2024-25 2 MATHEMATICS 1.2 Types of Relations In this section, we would like to study different types of relations. We know that a relation ina set A is a subset of A x A. Thus, the empty set 4 and A x A are two extreme relations. For illustration, considera relation R in the set A= (1,2,3,4} given by R= {(a, b): a~b= 10}. This is the empty set, as no pair (a, b) satisfies the condition a— b= 10, Similarly, R’ = {(a, 6): |a— | 20} is the whole set A * A, as all pairs (a, b) in A x A satisfy | a= 6 | 2 0. These two extreme examples lead us to the following definitions. Definition 1 A relation R in a set A is called empty relation, if no element of A is related to any element of A, ie. R=GCA*A. Definition 2 A relation R ina set A is called universal relation, if each element of A is related to every element of A, ie., R= Ax A. Both the empty relation and the universal relation are some times ealled trivial relations. Example 1 Let A be the set of all students of a boys school, Show that the relation R in A given by R= {(a, 5) : ais sister of b} is the empty relation and R’ = {(a, 6) : the difference between heights of a and b is less than 3 meters} is the universal relation. Solution Since the school is boy's school, no student of the school can be sister of any student of the school. Hence, R= 4, 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’ = A * A is the universal relation. Remark In Class X1, we have seen two ways of representing a relation, namely raster method and set builder method, However, a relation R in the set {1,2, 3,4} defined by R = {(a, 6): b = a + 1} is also expressed as a Rb if and only if b= a+ | by many authors. We may also use this notation, as and when convenient, If(a, 6) € R, we say that a is related to 6 and we denote it as a R 6. One of the most important relation, which plays a significant role in Mathematics, is an equivalence relation. To study equivalence relation, we first consider three types of relations, namely reflexive, symmetric and transitive. Definition 3 A relation R in a set A is called (i) reflexive, if (a, a) € R, for every ae A, (i) symmetric, if (a,, a,) € R implies that (a,, a,) € R, for all a,, a, € A. (iil) transitive, if (a,,a,) € R and (a, a,) € R implies that (a,, a,) € R, forall a,,a,, ae A Reprint 2024-25 RELATIONS AND FUNCTIONS 3 Definition 4 A relation R in a set A is said to be an equivalence relation if R is reflexive, symmetric and transitive. Example 2 Let T be the set of all triangles in a plane with R a relation in T given by R= {(T,, T,): T, is congruent to T,}. Show that R is an equivalence relation. Solution R is reflexive, since every triangle is congruent to itself. Further, (T,, T,) € RT, is congruent to T, = T, is congruent to T, = (T,, T,) € R. Hence, R is symmetric. Moreaver, (T,,,), (I, T,) € R= T, is congruent to T, and T, is congruent to T, =>T, is congruent to T, =>(T,,T,) € R. Therefore, R is an equivalence relation. Example 3 Let L be the set of all lines in a plane and R be the relation in L defined as R= {(L,, L,) : L, is perpendicular to L,}. Show that R is symmetric but neither reflexive nor transitive. Solution R is not reflexive, as a line L, can not be perpendicular to itself, i.e., (L,, L,) ¢ R. Ris symmetric as (L,, L,) € R i, > s perpendicular to L > L, is perpendicular to L, L, > Le R R is not transitive. Indeed, if L, is perpendicular to L, and L, is perpendicular to L,,, then L, can never be perpendicular to L,. In fact, L, is parallel to L,, Le., (L,, L,) € R, (L,,L,) € R but(L,,L,) ¢R Example 4 Show that the relation R in the set {1, 2, 3} given by R= {(1, 1), (2, 2), (3,3), (1, 2), (2, 3)} is reflexive but neither symmetric nor transitive. L, Fig. Solution R is reflexive, since (1, 1), (2, 2) and (3, 3) lie in R. Also, R is not symmetric, as (1,2) € R but (2, 1) ¢ RK. Similarly, R is not transitive, as (1,2) € Rand (2,3) € R but (1, 3) ¢R. Example 5 Show that the relation R in the set Z of integers given by R= {(a, b): 2 divides a= 5} is an equivalence relation, Solution Ris reflexive, as 2 divides (a ~ a) for all a € Z. Further, if (a, b) € R, then 2 divides a - b. Therefore, 2 divides b - a. Hence, (b, a) € R, which shows that R is symmetric, Similarly, if (a, 6) € R and (, ¢) € R, thena~b and b ~c are divisible by 2. Now, a= = (a= 6) + (6 = c) is even (Why?). So, (a = c) is divisible by 2. This shows that R is transitive. Thus, R is an equivalence relation in Z. Reprint 2024-25 4 MATHEMATICS In Example 5, note that all even integers are related to zero, as (0, + 2), (0, + 4) etc,, lie in R and no odd integer is related to 0, as (0, + 1), (0, £ 3) ete,, do not lie in R. Similarly, all odd integers are related to one and no even integer is related to one. Therefore, the set E of all even integers and the set O of all odd integers are subsets of ‘satisfying following conditions: (i) All elements of E are related to each other and all elements of O are related to cach other. (ii) No element of E is related to any element of O and vice-versa. (ii) E and O are disjoint and Z= EU O. ‘The subset E is called the equivalence class containing zero and is denoted by [0]. Similarly, O is the equivalence class containing | and is denoted by [1], Note that {0} # (1), (0) = [2r] and [1] = [2r + 1], r € Z. Infact, what we have seen above is true for an arbitrary equivalence relation R in a set X. Given an arbitrary equivalence relation R in an arbitrary set X, R divides X into mutually disjoint subsets A, called partitions or subdivisions of X satisfying: (i) all elements of A, are related to each other, for all i (ii) no element of A, is related to any element of A, #/, (ill) UA, =X and A, VA, = 6,14). The subsets A, are called equivalence classes, The interesting part of the situation is that we can go reverse also. For example, consider a subdivision of the set Z given by three mutually disjoint subsets A,, A, and A, whose union is Z with {x © Z. xisa multiple of 3} = {....-6, = (x eZ: x= bisa multiple of 3} = {...,-5,-2, 1,4, 7,3 Ay= (xe Z:x=2 is amultiple of 3} = (....-4,-1,2,5,8,..3 Define a relation R in Z given by R= {(a, 6) : 3 divides a - 6). Following the arguments similar to those used in Example 5, we can show that R is an equivalence relation. Also, A, coincides with the set of all integers in Z which are related to zero, A, coincides with the set of all integers which are related to 1 and A, coincides with the set of all integers in Z which are related to 2. Thus, A, = [0], A, = [1] and A, = [2]. In fact, A, = (37], A, = [3r + 1] and A, = [3r +2], forall r © Z. Example 6 Let R be the relation defined in the set A = (1, 2, 3, 4, 5, 6, 7} by R = {(a, 6)» both a and b are either odd or even}. Show that R is an equivalence relation. Further, show that all the elements of the subset {1, 3, 5, 7} are related to each other and all the elements of the subset {2, 4, 6} are related to each other, but no element of the subset { 1, 3, 5, 7} is related to any element of the subset {2, 4, 6} A 1 Reprint 2024-25 RELATIONS AND FUNCTIONS s Given any element a in A, both a and a must be either odd or even, so that (a, a) € R. Further, (a, 6) € R = both a and 6 must be either odd or even = (b, a) € R. Similarly, (a, 6) € R and (b, c) € R => all elements a, 6, c, must be either even or odd simultaneously = (a,c) € R. Hence, R is an equivalence relation. Further, all the elements of {1, 3, 5, 7} are related to each other, as all the elements of this subset are odd. Similarly, all the elements of the subset {2, 4, 6} are related to each other, as all of them are even. Also, no element of the subset {1, 3, 5, 7} can be related to any element of {2, 4, 6), as elements of {1, 3, 5,7} are odd, while elements of {2, 4, 6) are even. 1, Determine whether each of the following relations are reflexive, symmetric and transitive: (i) Relation R in the set A= {1, 2, 3, .., 13, 14} defined as R= (x,y): 3e=y =O} (ii) Relation R in the set N of natural numbers defined as R= (x,y): peat Sand x<4} (iii) Relation R in the set A= (1, 2,3, 4, 5, 6} as R= {(x, 9) :yis divisible by x} (iv) Relation R in the set Z of all integers defined as R= (x,y) :x=y is an integer} (v) Relation R inthe set A of human beings in a town at a particular time given by (a) R= {(2,y): x and y work at the same place} (b) R= {(x,y) :xand y live in the same locality} (c) R= {(x, y) , xis exactly 7 cm taller than y} (d) R= {(x,y) | xis wife of y} (e) R= {(x,y) : xis father of y} 2, Show that the relation R in the set Rof real numbers, defined as R= {(a, b); a $B) is neither reflexive nor symmetric nor transitive. 3. Check whether the relation R defined in the set {1, 2, 3, 4, 5, 6) as R= {(a, b): b= a+ 1) is reflexive, symmetric or transitive, 4, Show that the relation R in R defined as R = {(a, b) : a $ b}, is reflexive and transitive but not symmetric. 5. Check whether the relation R in Rdefined by R= {(a, 6) : a $b’) is reflexive, symmetric of transitive, Reprint 2024-25 1. MATHEMATICS Show that the relation R in the set {1, 2, 3) given by R= {(1, 2), (2, 1)} is symmetric but neither reflexive nor transitive ‘Show that the relation R in the set A of all the books in a library of a college, given by R= ((x, y) : x and y have same number of pages} is an equivalence relation, Show that the relation R in the set A= {1, 2, 3, 4, 5} given by R = ((a, b) : ja = B| is even}, is an equivalence relation. Show that all the elements of {1, 3, 5} are related to each other and all the elements of {2, 4) are related to each other, But no element of {1, 3, 5} is related to any element of {2,4} ). Show that each of the relation R in the set A= (x € Z: 0 6}. Choose ‘the correct answer. (A) 24 eR (B)G.8ER (C)68)ER (D)BNER 1.3 Types of Functions ‘The notion of a function along with some special functions like identity function, constant function, polynomial function, rational function, modulus function, signum function etc. along with their graphs have been given in Class XL Addition, subtraction, multiplication and division of two functions have also been studied. As the concept of function is of paramount importance in mathematics and among other disciplines as well, we would like to extend our study about function from where we finished earlier. In this section, we would like to study different types of functions. Consider the functions /,, f,, and f, given by the following diagrams. In Fig 1.2, we observe that the images of distinct elements of X, under the function Jf, are distinct, but the image of two distinct elements | and 2 of X, under f, is same, namely 6. Further, there are some elements like e and fin X, which are not images of any element of X, under f,, while all elements of X, are images of some elements of X, under f,. The above observations lead to the following definitions Definition 5 A function f: X > Y is defined to be one-one (or injective), if the images of distinct elements of X under fare distinct, ie., for every x,, x, € X, flx,) = fix) implies x, = x,. Otherwise, fis called many-one. ‘The function f, and f, in Fig 1.2 (i) and (iv) are one-one and the function f, and f, in Fig 1.2(ii) and (iii) are many-one, Definition 6 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, ic., for every y € Y, there exists an element x in X such that f(x) = y. ‘The function f, and f, in Fig 1.2 (iii), (iv) are onto and the function f, in Fig 1.2 (i) is not onto as elements e, f in X, are not the image of any element in X, under f,. Reprint 2024-25 8 MATHEMATICS fi t ‘es > 4 } |} -—{ Eo x, X, xX Xr @ i) f ti a a 4 pe po x (iii) X x (iv) x Fig 1.2 (10 (iv) Remark f: X > Y is onto if and only if Range of f= Y. Definition 7 A function f: X > Y is said to be one-one and onto (or bijective), if fis both one-one and onto. The function /, in Fig 1.2 (iv) is one-one and onto. Example 7 Let A be the set of all $0 students of Class X in a school. Let/: A > Nbe function defined by f(x) = roll number of the student x. Show that f is one-one but not onto. Solution No two different students of the class can have same roll number. Therefore, _fmust be one-one, We can assume without any loss of generality that roll numbers of students are from | 0 50, This implies that 51 in Nis not roll number of any student of the class, so that $1 can not be image of any element of X under; Hence, fis not onto. Ex: onto ple 8 Show that the function f: N—> N, given by f(x) = 2x, is one-one but not Solution The function fis one-one, for f(x,) = f(x,) => 2x, = 2x, => x, = Sis not onto, as for | € N, there does not exist any x in N such that f(x) Reprint 2024-25 RELATIONS AND FUNCTIONS 9 ple 9 Prove that the function /: R-» R, given by f(x) = 2x, is one-one and onto. Solution fis one-one, as f(x,) = f(x,) => 2x, = 2x, = x, =x. Also, given any real ruumber yin there exists & in R such that f() =2 @) 'y. Hence, fis onto, y f(x) = 2x xX Y Fig 1.3 Example 10 Show that the function /: N—> N, given by /(1) = /(2)= 1 and f(x) =x~ 1, for every x > 2, is onto but not one-one Solution fis not one-one, as f(1) = (2) = 1. But fis onto, as given any y € Ny #1, we can choose x as » +1 such that f(y + 1) =» + 1-1 = y, Also for 1 € N, we have f(1) = 1. Example 11 Show that the function f: R > R, defined as f(x) =, is neither one-one nor onto. Solution Since f(~ 1) = 1 =/(1), fis not one- ‘one, Also, the element ~ 2 in the co-domain Ris not image of any element x in the domain Ry (Why?). Therefore fis not onto. Example 12 Show that f: NN, given by x+ Lif xis odd, x- Lif xiseven ‘The image of | and -1 under f is 1. is both one-one and onto. Fig 1.4 S(x)= Reprint 2024-25 10 MATHEMATICS Solution Suppose f(x,)=/(2,). Note that if is odd and x, is even, then we will have x, +1 =x,- 1, i¢.,x,-x, =2 which is impossible. Similarly, the possibility of x, being even and x, being odd can also be ruled out, using the similar argument. Therefore, both x, and x, must be either odd or even. Suppose both x, and x, are odd. Then Six) =f(x) > x, + 1=x,+ 1 > x, =x, Similarly, if both x, and.x, are even, then also IX) = f(x) = x, - 1 =x, - 1 > x, = x, Thus, fis one-one. Also, any odd number 2r-+ 1 inthe co-domain N is the image of 2r + 2 in the domain N and any even number 2r in the co-domain N is the image of 2r~ 1 in the domain N. Thus, fis onto. Example 13 Show that an onto function f: {1,2, 3) — {1, 2, 3} is always one-one, Solution Suppose fis not one-one. Then there exists two elements, say 1 and 2 in the domain whose image in the co-domain is same. Also, the image of 3 under fean be only one element. Therefore, the range set can have at the most two elements of the co-domain {1, 2, 3}, showing that fis not onto, a contradiction, Hence, fmust be one-one. Example 14 Show that a one-one function f; {1, 2,3} —> (1, 2,3) must be onto, Solution Since f is one-one, three elements of {1;2, 3} must. be taken to 3 different elements of the co-domain {1, 2, 3} under Hence, /has to be onto. Remark The results mentioned in Examples 13 and 14 are also true for an arbitrary finite set X, i.e., a one-one function f : X -> X is necessarily onto and an onto map Jf: X> X isnecessarily one-ane, for every finite set X. In contrast to this, Examples 8 and 10 show that for an infinite set, this may not be true. In fact, this is a characteristic difference between a finite and an infinite set. 1. Show that the function /: R, > R, defined by /(x) = + is one-one and onto, where R, is the set of all non-zero real numbers. Is the result true, if the domain R, is replaced by N with co-domain being same as R,”? 2. Check the injectivity and surjectivity of the following functions: (i) f NN given by fix) = 2 (ii) f: Z > Z given by fix) =x (iil) J: R > R given by f(x) = (iv) $2 NN given by f(x) =" (v) f: Z Z given by f(x) = 3. Prove that the Greatest Integer Function f: R — R, given by /(x) = [x], is neither ‘one-one nor onto, where [x] denotes the greatest integer less than or equal to x. Reprint 2024-25 RELATIONS AND FUNCTIONS 1 Show that the Modulus Function /: R-> R, given by f(x) =|], is neither one- one nor onto, where | x| is x, ifx is positive or 0 and |x] is ~x, ifx is negative. . Show that the Signum Function f: R -> R, given by Lifx>0 F(a) =40,if x=0 Lifx<0 is neither one-one nor onto. » LetA= (1, 2,3}, B= (4, 5,6, 7) and let f= {(1, 4), (2, 5), (3, 6)} be a function from A to B. Show that fis one-one, . In each of the following cases, state whether the function is one-one, onto or bijective. Justify your answer. (i) J: R> R defined by f(x) = 3 = 4x (ii) J: R > R defined by f(x) = 1 +2 8, Let A and B be sets. Show that : A xB — B x A’such that f(a, b) = (b, a) is bijective function. 5 if mis odd 9. Lets: NN be defined by f(n) = 7, for all n € N. = if niseven 2 State whether the function fis bijective. Justify your answer, 10. Let A= R= {3} and B= R- {1}, Consider the function f: A> B defined by (x2 Jix)= (3) Is fone-one and onto? Justify your answer, «Let f: R > R be defined as fix) = x, Choose the correct answer. (A) fis one-one onto (B) fis many-one onto (C) fis one-one but not onto (D) fis neither one-one nor onto. Let f: R > R be defined as f(x) = 3x. Choose the correct answer, (A) fis one-one onto (B) fis many-one onto (C) fis one-one but not onto (D) fis neither one-one nor onto. Reprint 2024-25 12 MATHEMATICS 1.4 Composition of Functions and Invertible Function Definition 8 Let f: A> B and g : B > C be two functions. Then the composition of Sand g, denoted by gof, is defined as the function gof, A> € given by softs) = (f(x), vx EA. Fig 5 Example 15 Let f: (2, 3, 4, 5) > (3, 4, 5, 9} and g: (3,4, 5,9} > (7, 1, 15} be functions defined as /(2) = 3, /(3) = 4, (4) = f(5) = 5 and g(3) = g(4) = 7 and (5) = g(9) = 11. Find gof, Solution We have gof(2) = g(f(2)) = g(3) = 7, gof(3) = g(/(3)) = g(4) = 7, Bof(4)= g(f(4)) = g(5) = 11 and gof(S) = g(5)= 11, Example 16 Find gofand fog, iff; R—> R and g ; R > R are given by f(x) = cos x and g(x) = 31°. Show that gof # fog. ition We have goftx) = g(/(x)) = g(cos x) = 3 (cos x)? = 3 cos* x. Similarly, fog(x) = fig(x))= f(x) = cos (33°). Note that 3cos* x # cos 3x°, for x= 0. Hence, ‘g0f # fog. Definition 9 A function /: X + Y is defined to be invertible, if there exists a function g: YX such that gof=1, and fog =1,. The function g is called the inverse of f and is denoted by /~' ‘Thus, if fis invertible, then fmust be one-one and onto and conversely, if f is ‘one-one and onto, then fmust be invertible, This fact significantly helps for proving a function fto be invertible by showing that fis one-one and onto, specially when the actual inverse of f is not to be determined. Example 17 Let: NY be a function defined as f(x) = 4x + 3, where, Y= (ye N: y=4x-+3 for some x € N}. Show that fis invertible, Find the inverse Solution Consider an arbitrary element y of Y. By the definition of Y, y = 4x + 3, for some x in the domain N. This shows that x22?) Define g : Y > N by Reprint 2024-25 RELATIONS AND FUNCTIONS 13 “(4x4+3-3) 7 =x and 252), Now, gofis)= (V(x) = g(4s + 3)= sQ)= fox) =figon =/(2—2 3) 4029),.3 =y2343=): Thisshows that gof=I, and fog = ,, which implies that iii invertible and g is the inverse of f Miscellaneous Examples Example 18 If R, and R, are equivalence relations in a set A, show that R, 7 R, is also an equivalence relation. Solution Since R, and R, are equivalence relations, (a, a) € R,, and (a, a) € R, Va € A. ‘This implies that (a, a) € R,9 R,, Va, showing R, > R, is reflexive, Further, (a,b) € RR, > (a,b) € R, and (a, b) € R, > (b, a) © R, and (b, a) € R, > (6, a) € R, OR, hence, R, > R, is symmetric, Similarly, (a, 6) ¢ Ryo R, and (b, €) € R.A, = (a, 6) € R, and (a,c) € Ry (a,c) € R, AR, This shows that R, OR; is transitive. Thus, R, 0 R, is an equivalence relation. Example 19 Let R be a relation on the set A of ordered pairs of positive integers defined by (x, ») R (u,v) if and only if xv = yu, Show that R is an equivalence relation. Solution Clearly, (x,y) R (x, y), (9) € A, since xy = yx. This shows that R is reflexive, Further, (x, y) R (u, ¥) => xv-= yu => uy= vx and hence (u,v) R (x, »). This shows that R is symmetric. Similarly, (x,y) R (u,v) and (u, ¥) R (a, b) => xv = yw and b ub=va=> x45 yut=> ava = xb = ya and hence (x, y) R (a, ). Thus, R « u is transitive. Thus, R is an equivalence relation. Example 20 Let X = {1, 2, 3, 4, 5, 6, 7, 8, 9). Let R, be a relation in X given by R, = ((x, ») x =y is divisible by 3} and R, be another relation on X given by R,= {(x,9): 94. (1,4, 73} oF fx, 9} & (2, 5, 8} oF (x, 9} (3, 6,9}). Show that R,=R, Solution 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) € R, => x=» is a multiple of 3 = {x,y} & (1, 4, 7} oF (x, 9} & (2, 5,8) or (x, 9} © {3, 6, 9} => (x,y) € R,. Hence, R, CR, Similarly, {x, y} € Ry > {x,y} Reprint 2024-25 14 MATHEMATICS < (1, 4, 7} oF fx, 9} & (2, 5, 8} or fx, 9) c (3, 6, 9} > x—y is divisible by 3 = {x,y} € R,, This shows that R, c R,. Hence, R, = R,. Example 21 Let: X > Y be a function. Define a relation R in X given by R= {(a, 6) la) =Ab)}. Examine whether R is an equivalence relation or not. Solution For every a € X, (a, a) € R, since f(a) = f(a), showing that R is reflexive. Similarly, (a, b) € R => fla) = f(b) = f(b) = fa) = (b, a) € R. Therefore, R is symmetric. Further, (a, b) € R and (b, c) € R => f(a) = f(b) and f(b) = f(c) = fla) =f(c) > (a, c) € R, which implies that R is transitive, Henee, R is an equivalence relation, Example 22 Find the number of all one-one functions from set A = {1, 2, 3} to itself. Solution One-one function from (1, 2, 3} to itself is simply a permutation on three symbols 1, 2, 3. Therefore, total number of one-one maps fram {1, 2, 3} to itself is same as total number of permutations on three symbols 1, 2, 3 which is 3! = 6 Example 23 Let A= (1,2, 3}. Then show that the number of relations containing (1, 2) and (2, 3) which are reflexive and transitive but not symmetric is three. Solution The smallest relation R, containing (1, 2) and (2, 3) which is reflexive and transitive but not symmetric is {(1, 1), (2, 2),(3, 3),(152),(2, 3), (1, 3)}. Now, ifwe add the pair (2, 1) to R, to get R,, then the relation R, will be reflexive, transitive but not symmetric. Similarly, we can obtain R, by adding (3, 2) to R, to get the desired relation, However, we can not add two pairs (2, 1), (3, 2) or single pair (3, 1) to R, at atime, as by doing so, we will be forced to add the remaining pair in order to maintain transitivity and in the process, the relation will become symmetric also which is not required. Thus, the total number of desired relations is three. Example 24 Show that the number of equivalence relation in the set (1,2, 3} containing (1, 2) and (2, 1) is two. Solution The smallest equivalence relation R, containing (1, 2) and (2, 1) is {(1, 1), (2, 2), (3, 3), (1,2), 2, 1}. Now we are left with only 4 pairs namely (2, 3), (3, 2), (1, 3) and (3, 1), If we add any one, say (2, 3) to R,, then for symmetry we must add (3, 2) also and now for transitivity we are forced to add (1, 3) and (3, 1). Thus, the only equivalence relation bigger than R, is the universal relation, This shows that the total number of equivalence relations containing (1, 2) and (2, 1) is two. Example 25 Consider the identity function 1, N-> N defined as 1, (x) =x Wx € N. Show that although I, is onto but I, + ly : N—> N defined as (ly +1) @) = 1, (2) + 1, (2) =x +x = 2y is not onto, Reprint 2024.25 RELATIONS AND FUNCTIONS 15 Solution Clearly 1, is onto, But 1, + 1, is not onto, as we can find an element 3 in the co-domain N such that there does not exist any x in the domain N with (+1) @) = 2x =3. Example 26 Consider a function f {02} >Reiven by f(x) = sin x and U g [od] +Reiven by g(x) = cos x. Show that fand g are one-one, but f+ g is not one-one. Solution Since for any two distinct elements x, and x, in [o. |, sin x, # sinx, and cos x, # cos x,, both fand g must be one-one. But (f+ g) (0) = sin 0 + cos 0= 1 and ne yt (3) = sin} + cos =1. Therefore, /# g is not one-one. Miscellaneous Exercise on Chapter 1 1. Show that the function f: R> {x € R:=1 R given by f(x) =.’ is injective. 3. Given a non empty set X, consider P(X) which is the set of all subsets of X. Define the relation R in P(X) as follows: For subsets A, B in P(X), ARB ifand only if AB. Is R an equivalence relation on P(X)? Justify your answer. 4. Find the number of all onto functions from the set {1, 2, 3,.....) to itself, 5. LetA={-1,0, 1,2}, B= {-4,-2, 0,2) and fg: A— B be functions defined by f(x) =? - x, x € A and g(x)= | - Justify your answer. (Hint: One may note that two functions f: A > B and g: AB such that f(a) = g(a) ya € A, are called equal functions). x € A. Are fand g equal? Reprint 2024-25 MATHEMATICS . Let A= {1,2,3}. Then number of relations containing (1,2) and (1, 3) which are reflexive and symmetric but not transitive is (a) 1 (B) 2 (3 (D) 4 . Let A= {1, 2, 3). Then number of equivalence relations containing (1, 2) is (A 1 (B) 2 «3 (D) 4 Summary In this chapter, we studied different types of relations and equivalence relation, composition of functions, invertible functions and binary operations, The main features of this chapter are as fallows: eoooe Empty relation is the relation R in X given by R= 4c X x X. Universal relation is the relation R in X given by R= X x X. Reflexive relation R in X is a relation with (a, a) ¢ R ya € X. ‘Symmetric relation R in X is.a relation satisfying (a, b) € R implies (b, a) € R. Transitive relation R in X is a relation satisfying (a, 6) € R and (b,c) € R implies that (a,c) € R. Equivalence relation R in X is a relation which is reflexive, symmetric and transitive, Equivalence class {a| containing a € X.for anequivalence relation R in X is the subset of X containing all elements 6 related to a. A function f: X > Y is one-one (or injective) if S\s,) = fle) >, = x V xx € X. ‘A function f: X -> Y is onto (or stwjective) if given any y € Y,3.x € X such that f(x) = y. A function f: X -» ¥ is one-one and onto (or bijective), if fis both one-one and onto, Given a finite set X,a function f: X—» X is one-one (respectively onto) if and only if fis onto (respectively one-one). This is the characteristic property of a finite set. This is not true for infinite set Reprint 2024-25 RELATIONS AND FUNCTIONS 17 Historical Note ‘The concept of fiunction has evolved over a long period of time starting from R. Descartes (1596-1650), who used the word ‘function’ in his manuscript “Geomerrie” in 1637 to mean some positive integral power x* of a variable x while studying geometrical curves like hyperbola, parabola and ellipse. James Gregory (1636-1675) in his work “ Vera Circuli et Hyperbolae Quadratura” (1667) considered function as a quantity obtained from other quantities by successive use of algebraic operations or by any other operations. Later GW. Leibnitz (1646-1716) in his manuscript “Methodus tangensium inversa, seu de _functionibus” written in 1673 used the word ‘function’ to mean a quantity varying from point to point ona curve such as the coordinates of a point on the curve, the slope of the curve, the tangent and the normal to the curve at a point. However, in his manuscript “Historia” (1714), Leibnitz used the word ‘function’ to mean quantities that depend on a variable. He was the first to use the phrase ‘function of x’, John Bernoulli (1667-1748) used the notation $x for the first time in 1718 to indicate a function of x. But the general adoption of symbols like f, F, 4, y ... to represent functions was made by Leonhard Euler (1707-1783) in 1734 in the first part of his manuscript “Analysis Infinitorium”. Later on, Joeph Louis Lagrange (1736-1813) published his manuscripts “Theorie des functions analytiques” in 1793, where he discussed about analytic function and used the notion f(x), F(x), 4(x) etc. for different function of x. Subsequently, Lejeunne Dirichlet (1805-1859) gave the definition of function which was being used till the set theoretic definition of function presently used, was given afler set theory was developed by Georg Cantor (1845-1918). The set theoretic definition of function known to us presently is simply an abstraction of the definition given by Dirichlet ina rigorous manner. aie Reprint 2024.25

You might also like