unit-1-part-b
unit-1-part-b
1. If R is a relation in the set of integers such that (a,b)R iff 3a + 4b =7n for some integers
n, prove that R is an equivalence relation
Solution:
2. If R is the relation on the set S of positive integers such that (a,b) R if and only if ab is a
perfect square, show that R is an equivalence relation
Solution:
P(k+1) is true
4. If f: RR g: RR are defined by f(x) = x2-2, g(x) = x+4, find (fog) and (gof) and check
whether these functions are injective, surjective and bijective
Solution:
5. There are 2500 students in a school. Of these 1700 have taken course in ‘C’, 1000 have
taken a course in Pascal, 550 a course in networking, further 750 have taken a course in
both C and Pascal, 400 taken course in both Pascal and Networking and 275 have taken
course in both Networking and C. If 200 of these students have taken courses in C, Pascal
and Networking how many of these 2500 have taken any of these 3 courses C, Pascal and
Networking. How many of 2500 have not taken any of these 3 courses C, Pascal and
Networking.
Solution:
6. If f: AB and g: BC both 1-1 onto functions, then (gof): AC. Prove that
1. (gof) is 1-1 onto function
2. (gof)-1 = f-1og-1
Solution
1) Given: f: AB and g: BC both 1-1 onto functions
Let xA, yB, zC and y = f(x); z = g(y)
f is 1-1. Therefore f(x1) = f(x2) x1 = x2
Also g is 1-1. Therefore g(y1) =g(y2) y1 = y2
Let x1, x2A
gof(x1) =gof(x2) g(f(x1)) =g(f(x2))
f(x1) = f(x2) since g is 1-1
x1 = x2 since f is 1-1
(gof)(x1) = (gof)(x2) x1= x2
gof: AC is 1-1 function.
We have to prove that for every zC xA such that z = (gof)(x)
g: BC is onto and zC. Therefore yB such that z = g(y)
Since f: AB is onto and yB, xA such that y = f(x)
Thus corresponding to every zC xA such that (gof)(x) = g(f(x)) = g(y) = z
Hence gof is onto function
2) f: AB g: BC
gof: AC (gof)-1: CA
gof, f, g are one-one onto functions. (gof)-1, f-1, g-1 exist and all are 1-1 onto functions.
Again f-1: BA
g-1: CB
f-1o g-1: CA
Thus both (gof)-1 and f-1og-1 are defined from CA
y =f(x) and z=g(y) then
(gof)(x) =g(f(x)) =g(y) =z
y =f(x) x = f-1(y)
z =g(y) y = g-1(z)
(gof)-1(z) = x (1)
-1 -1 -1 -1 -1
(f o g ) (z) = f ( g (z))= f (y) =x
(f-1 o g-1) (z) = x (2)
from (1) and (2)
(gof)-1(z)= (f-1 o g-1) (z) zC
(gof)-1 = f-1og-1
(i) (A-C) (C-B) ={x: xA and xC and xC and xB}
={x: xA and (xC and xCc) and xBc}
={x: (xA and x) and xBc}
={x: (x) and xBc}
={x: (xBc}
=
(ii) A-(BC) ={x: xA and x BC}
={x: xA and (xB or xC)}
={x: (xA and xB) or (xA and xC}
={x: (x A-B) or (x A-C)}
= (A-B) (A-C)
9 Let R denotes that relation on the set of all ordered pairs of +ive integers by
(x,y)R(u,v) iff xv = yu . Show that R is an equivalence relation
Solution:
10 Prove that the relation “congruence modulo M” in the set of integer is an equivalence
relation
Solution:
12 (i) Given A = {0, 1, 2, 3} and f:AI defined by f(x) = (3x3+1), find the range
of f.
(ii) Given that A = {1, 2, 3, 4} and B ={x, y, z}, how many functions f: AB are there?
Solution:
(i) f(x) =3x3+1
f(0) =3(0)3+1 =1
f(1) =3(1)3+1 =4 f(-1) =3(-1)3+1= -2
f(2) =3(2)3+1=25 f(-2) =3(-2)3+1= -23
f(3) =3(3)3+1=82 f(-3) =3(-3)3+1= -80
Range = {1, 4, -2, 25, -23, 82, -80}
(ii):
A = {1, 2, 3, 4}
B = {x, y, z}
There are 34 = 81 functions from AB
In general, if |A| = m and |B| = n, then there are nm functions f: AB
13 Prove that only 1-1 onto functions can have inverse function.
Proof: