Unit I (Relations and Functions)
Unit I (Relations and Functions)
Recall all the definition of the chapter relation and functions which have been discussed in class XI.
ORDERED PAIR: Two elements a and b listed in a specified order,form an ordered pair,denoted by (a,b).In
an ordered pair (a ,b); a is regarded as the first element and b is regarded as the second element.
CARTESIAN PRODUCT OF TWO SETS:Let A and B be two non empty sets.the set of all ordered pairs
(a,b) such that a ∈ A∧b ∈ B is called the Cartesian products of set A and B and is denoted by A × BThus ,
A × B= { ( a , b ) :a ∈ A∧b ∈ B } .
2)If n ( A ) =m∧n ( B )=n ,then number of relations from A ¿ B is 2mn and no.of non-empty relations are
2mn−1.
3) Since ∅ is subset of every set ,therefore ∅ is also a relation from a set A to set B and is called the
empty relation and the smallest relation from a set A to set B.
4) Since every set is subset of itself ,therefore A × B ⊆ A × B,thus A × B is also a relation from a set A to
set B and is known as universal relation from a set A to set B .It is also known as the largest relation from asset
A to set B.
DOMAIN AND RANGE OF A RELATION: Let R be relation from a set A to a set B.Then the set of all the
first components or co-ordinates of the ordered pairs belonging to R is called the DOMAIN and the set of all
the second components or co-ordinates is called the RANGE of a relation R.
Note: RELATION ON A SET: Let A be the only non-empty set .then any subset of A × A is called a relation
on set A .
INVERSE OF A RELATION: Let A and B be two sets and R be relation from a set A to set B .Then ,the
inverse of R is denoted by R−1 ,is a relation from B to A nad is defined by R−1 ={ ( b , a ) : ( a , b ) ∈ R } .
Reflexive Relation: A relation R on a set A is said to be reflexive if every element of A is related to itself.
Thus, R is reflexive iff ( a , a ) ∈ R ∀ a ∈ A.
i. R is reflexive
ii. R is symmetric
iii. R is transitive.
Anti-symmetric relation: Let A be any set.A relation R on set A is said to anti-symmetric relation iff
( a , b ) ∈ R∧( b , a ) ∈ R ⟹ a=b ∀ a , b∈ A .
i. R is reflexive
ii. R is anti-symmetric
iii. R is transitive.
TOPIC:FUNCTIONS
DEF.Let A and B be two non empty sets.A relation f from a set A to set B i.e.a subset of A × B is called a
function from A to B if
i) for each a ∈ A ∃ b ∈ B such that ( a ,b)∈ f
(ii) ( a , b ) ∈ fand ( a , c ) ∈ fthen b=c .
OR
Let A and B be two non-empty sets.then a function f from a set A to set B is a rule or method or
correspondence which associates every element of set A with unique element of set B.It is denoted by f : A → B
and is read as f is a function from a set A to set B.
Note: 1) If f : A → B is a function such that f ( x )= y ,then y is called the image of x and x is called the pre-image
of y.
2) The set A is called the domain of the function and the set B is called the co-domain of the function.
The set of all the elements of set B which has pre-image in set A is called the range of the function. Thus,
f ( A )={ f ( x ) : x ∈ A }=range of f .
3)If A and B are two sets having m and n elements respectively,then total numbers of function from A
to B is n m .
4)A function f : A → B is called a real valued function if B is subset of set of real numbers R. If A and B
both are subsets of R (set of real no.) then f is called a real function.
KINDS OF FUNCTION:
A function f : A → Bis said to be one –one function if different elements of set A has different image in set B.
OR
A function f : A → Bis said to be one –one function if for all a , b ∈ A such that f ( a )=f ( b ) ⟹ a=b .
OR
A function f : A → Bis said to be one –one function if for all a , b ∈ A such that a ≠ b ⟹ f ( a ) ≠ f ( b ) .
Q1. Let A be the set of all 50 students of class XII in a central school.Let f : A → N be a function defined by
f ( x )=Roll number of student x .Show that f is one-one but not onto.
Q2. Show that the function f : N → N ,given by f ( x )=2 x , is one-one but not onto.
Q3. Show that the function f : R → R, given by f ( x )=2 x ,is one-one and onto.
Q4. Show that the function f : R → R, defined as f ( x )=x 2 ,is neither one-one nor onto.
Q5. Show that the function f : R → R ,defined as f ( x )=x 3 ,is a bijection.
1
Q6. Show that the function f : R 0 → R 0 ,defined as f ( x )= ,is one-one onto,where R0 is the set of all non-zero
x
real numbers. Is the result is true, if the domain R0 is replaced by N with co-domain being same as R0.
Q7. Prove that the greatest integers function f : R → R ,given by f ( x )= [ x ] , is neither one-one nor onto, where [
x] denotes the greatest integer less than or equal to x .
Q8. Show that the modulus function f : R → R , given by ( x )=|x| , is neither one-one nor onto.
Q9. Let C and R be the set of all complex numbers and all real numbers respectively.Then show that f :C → R
given by f ( z )=| z|,∀ z ∈C is neither one-one nor onto.
Q10. Show that the function f : R → R ,given by f ( x )=ax+ b ,where a,b∈ R,a ≠ 0 is a bijection.
Q11. Show that the function f : R → R,given by f ( x )=cosx,∀ x ∈ R ,is neither one-one nor onto.
x−1
Q12. Let A=R− {2 } ∧B=R− {1 } .If f : A → B is a mapping defined by f ( x )= ,show that f is bijective.
x−2
x
Q13. Show that the function f : R → {x ∈ R:−1< x <1 } defined by f ( x )= , x ∈ R is one-one onto function.
1+|x|
Q14. Let A and B be two sets such that f : A × B → B × A defined by f ( a ,b )=(b , a) is a bijection.
Q15. Let A be any non-empty set .Then ,prove that the identity function on set A is a bijection.
Q16. Show that the function f : R → R given by f ( x )=x 3 + x is a bijection.
n+ 1
Q17. Show that f : N → N defined by f ( n ) =
{
2
n
2
, if n is odd
, if n is even
is many-one onto function.
Q18. Show that the function f : N → N given by f ( n )=n−(−1 )n for all n ∈ N is a bijection.
Q19. Let f : N −{ 1 } → N be defined by,f ( n )=t h e h ig h est prim e factor of n.Show that f is neither one-one nor
onto . Find the range of f .
n+1 ,if n iseven
Q20. Let f : N ∪ { 0 } → N ∪{0} be defined by f ( n )= {n−1, if n is odd
.Show that f is bijection.
Q21. Let A be a finite set .If f : A → A is a one-one function,show that f is onto also.
Q22. Let A be a finite se t.If f : A → A is an onto function,show that f is one one also.
Q23. Let A={1,2}.Find all the one to one functions from A to A.
Q24. Consider the identity function I N : N → N defined by I N ( x )=x ∀ x ∈ N .
π π
[ ] [ ]
Q25. Consider the function f : 0 , → R ,given by f ( x )=sinx and g : 0 , → R given by g ( x )=cosx .Show
2 2
that f ∧gare one-one,but f +g is not one-one.
Q26. Show that f : R → R ,given by f ( x )=x− [ x ] , is neither one-one nor onto.
COMPOSITION OF FUNCTIONS:
2)the composition of function is associative i.e. if f , g , hare three functions such that (fog ¿ oh∧fo ( goh) exist (
fog ¿ oh=fo ( goh ) .
3)The composition of two bijections is a bijection i.e.if f and g are bijective function,then gof is also bijective.
4)let f : A → B . then fo I A=I B Of =fi . e . the composition of any function with the identity function is the
function itself.
5)let f : A → B , g :B → A be two functions such that gof =I A.Then,f is an injection and g is surjection.
6)let f : A → B , g :B → A be two functions such that fog=I B .Then,f is a surjection and g is an injection.
i. gof : A → C ⟹ g: B →C is onto .
ii. gof : A → C is one−one ⟹ f : A → B is one−one .
iii. gof : A → C is onto∧g :B → C is one−one ⟹ f : A → B is onto.
iv. gof : A → C is one−one∧f : A → B is onto ⟹ g :B → C is one one .
INVERSE OF A FUNCTION:
STEP 3: In the relation obtained in step II replace x by f −1 ( y ) to obtain the required inverse of f .
3) If f : A → Bis a bijection and g :B → A is the inverse of f,then fog=I B∧gof =I A where I A∧I B are the identity
functions on the sets A and B.
4) If f : A → B∧g :B → C are two bijections , then gof : A →C is a b ijection∧ ( gof )−1 =f −1 o g−1 .
5) If f : A → B∧g :B → Abe two functions such that gof =I A ∧fog=I B .Then f ∧gare bijections and g=f −1 .
ALGORITHM:
STEP 2)If f is a bijection,then it is invertible.In order to find the inverse of f ,put fo f −1 ( x )=x ⟹ f ( f −1 ( x ) ) =x .
STEP 3)Use the formula for f(x) and replace x by f −1 ( x ) in it to obtain LHS of f ( f −1 ( x ) )=x .Solve the equation
for f −1 ( x ) ¿ get f −1 .
Q1.Prove that the function f : R → R defined as f ( x )=2 x−3 is invertible and find f −1.
Q2.Show that the function f : R → R is given by f ( x )=x 2 +1 is not invertible.
x
Q3.Show that f : R−{−1 } → R−{ 1 } givenby f ( x )= is invertible .Also find f −1.
x +1
Q4.If the function f : [ 1 , ∞ ) → [ 1 , ∞ ) defined by f ( x )=2 x ( x−1 ) is invertible ,find f −1 ( x ) .
2 x−1
Q5.Show that the function f : R → Rdefined by f ( x )= , x ∈ R is one one and onto.Also find the inverse
3
of f.
4 x +3 2 2
Q6.If f ( x )= , x ≠ ,show that f 0 f ( x ) =x , ∀ x ≠ .What is inverse of f.
6 x−4 3 3
−4 −4 4 x+3
Q7.Consider f : R− { }
3
→ R−{
3
} given by f ( x )=
3 x+ 4
.S how that f is bijective.Find the inverse of f
x−2
Q17.Let A =R-{3} and B =R-{1}.Consider the function f : A → B defined by f ( x )= .Show that f is
x−3
one-one and onto and hence find f −1 .
Q18.If f : R → R∧g : R → R be functions defined by f ( x )=x 2 +1∧g ( x )=sinx , thenfind fog∧gof .
Q19.If f ( x )= √ x ( x >0 )∧g ( x ) =x 2−1 are two real functions,find fog∧gof . Is fog=gof .
Q20. Let A={−1,0,1,2 } . B= {−4.−2,0,2 }∧f , g : A → B be functions defined by
1
| |
f ( x )=x 2−x , x ∈ A∧g ( x )=2 x− −1, x ∈ A .
2