Relation and Function
Relation and Function
x
2. Show that the function R → R defined f(x)= 2
,∈ R is neither one- one nor onto.
x +1
Solution: For x 1 , x 2 ∈ R , consider f( x 1 ¿=f (x2 )
x1 x2
⇒ 2
= 2
=x 1 x 22+ x1=x 2 x 12+ x 2
x +1
1 x2 +1
⇒ x 1 x 2 ( x 2−x1 )= ( x 2−x 1 )
⇒ x 1 x 2=1∨x1 ¿ x 2
1
2 2 1 2 2
() = i .e .f(2)= f 1 = 2
f(x) is not one-one. f(2)= 2 =
2 +1 5
f 2 =
1 2
5 ()
2 5
()
2
+1
1
2≠ Hence f is not one-one.
2
Also f is not onto for if so then for 1∈ R ∃ x ∈ R such that f ( x )=1which gives
1
x
2
=1. But there isno such x∈the domain R , since the equationthen
x +1
x 2−x +1=0 ⟹ D=−3< 0 Therefore does not give any real value of x.
D=(−1)2−4=−3<0 ⇒ roots are not real .
There f(x) is not onto.
3. Write the relation R be defined on the set A= {1,2,3,4,5} by
2 2
R={( a , b ) :|a −b |< 8 }.
R={ ( 1,1 ) , ( 1,2 ) , (2,1 ) , ( 2,2 ) , ( 2,3 ) , ( 3,2 ) , ( 3,3 ) , ( 4,3 ) , ( 3,4 ) , ( 4,4 ) , ( 5,5 ) }
4. Let N denote the set of all natural numbers and R be the relation on N×N defined by (a,b)R
(c,d)
⇔ad(b+c)=bc(a+ d). Check whether R is an equivalence relation on N×N.
(a,b)R (c,d) ⇔ad(b+c)=bc(a+d)
Reflexivity:
(a,b)R (a,b) ⇔ab(b+a)=ba(a+b) is true
Therefore R is Reflexive.
Symmetry:
(a,b)R (c,d) ⇔ad(b+c)=bc(a+d)
(c,d)R (a,b)=cb(d+a)=da(c+b) is true by commutative of addition and multiplication on N
Therefore R is Symmetric.
Transitivity:
Let (a, b) , (c, d) and (e, f)∈ N × N
b+ c a+ d
(a, b)R (c , d) ⇔ad(b+c)=bc(a+d) ⇒ =
bc ad
1 1 1 1
⇒ + = + … … … … … (i)
b c a d
d + e c +f
(c, d) R(e, f) ⇔ cf ( d+ e ) =de ( c + f ) ⇒ =
de cf
1 1 1 1
⇒ + = + …………..(ii)
d e c f
By adding (i) and (ii) we get
1 1 1 1 1 1 1 1
+ + + = + + +
b c d e a d c f
2
1 1 1 1
+ = +
b e a f
⇒ af ( b+ e )=be ( a+ f ) ⇒ ( a , b ) R( e , f )
Therefore R is transitive.
Since R is Reflexive, Symmetric and transitive therefore R is an equivalence
5. Write the smallest equivalence relation on the set A={1,2,3}
{(1,1),(2,2),(3,3)}
6. If set A has 3 elements and the set B has 5 elements. Then find the number of injective
functions that can be defined from A to B.
5
p3 = 60
7. Given f(x)= sinx, check if the function f is one-one in (0,π ¿.
π 2 π √3
NO since sin =sin = It is many one function
3 3 2
8. “The relation R={( a , b): a ≤ b2 } on the set of all real numbers is not reflexive.” –
Justify the above statement with an example.
1 1
For any one correct example. e . g . ≥
2 4
9. Let A be any non-empty set and P(A) be the power set of A. A relation R defined on P(A)
3
12. Check whether the relation R on the set {1,2,3}given by R={(1,2),(2,1)}is transitive or
not.