3 Relations - Functions - Functions - Types of Functions
3 Relations - Functions - Functions - Types of Functions
FUNCTIONS
FUNCTIONS
TYPES OF FUNCTIONS
FUNCTIONS
TYPES OF FUNCTIONS
A function f:AB is called an injection or one-one
function if distinct elements in A have distinct
images in B.
Thus, f:A B is injection if a1, a2 A and a1 a2
f (a1) f (a2)
Note
A function which is not one-one is called
many-one function.
FUNCTIONS
Example 1
If A={1, 2, 3, 4}, B={p, q, r, s} and if f: A B is given
as f={(1, p), (2, r), (3, s), (4, q)} then f is one-one
function
f
A B
1 p
2 q
3 r
4 s
DOMAIN CO DOMAIN
FUNCTIONS
Example 2 f Clearly
It
Is is
Isnot
f
this
WHY?
A B this
one-oneis a
functio
DOMAIN function
CO DOMAIN
function
nor
one-
Here ‘3 & 4’ not?
one
1 p
have the
function
same images
2 q or not?
3 r
4 s
FUNCTIONS
Example 3
R is the set of real numbers and f:RR is defined as
f(x)=x3 for all xR,
R -2
1
2 =1
=8
33
=-8
R
f
1 1
2 8
Here, different
elements have
-2 different -8
images
f is an injection
FUNCTIONS
Example 4
f:RR is defined as f(x)=x2, now f is not an
injection as
f(5)=25, f(- (where 5,-5 are in domain
5)=25 R).
But f:NN given by f(x)=x2 is one-one
function
f:RR is defined as
f(x)=xn.
f is one-one function if n is
odd
f is not a one-one function if n is even
FUNCTIONS
Important
Ruleof injections from set of m elements to set of
Number
n elements are n
pm if (nm)
= we have npm =
0 if (n < m)
Example 1 3! 6
= =6
3 P2 =
(3−2)! 1
Example 2
Note
Number of many-one functions
(=number of (number of one-one
functions) functions)
A monotonic function (either strictly increasing or
strictly decreasing) is always an injection.
Thus, a function f(x) satisfies f'(x)>0 (or) f'(x)<0 on
its entire domain then f is one-one
FUNCTIONS
GRAPHICALLY
Lines
: drawn parallel to the x – axis from each
corresponding image point should intersect the
graph of y = f(x) at one (and only one) point if f(x)
is one – one and there will be at least one line
parallel to the x – axis that will cut the graph at
least at two different points if f (x) is many one and
Y
vice versa
f (x) =
Ex : 1 3x+5
X
O
MCQS
1. f:RR is defined as f(x)=x2 xR then f
is
1) Injection
3) Not an Injection
4) One-One
function
FUNCTIONS
Which one of the following is one – one
function Y
Y
1) X 2) X
Y Y
3) X 4) X
KEY 3
FUNCTIONS
2. n(A)=3, n(B)=4 then the number of injections from
A to B
1) 3P4 2) 4P3 3) 4) 0
12
3. f:RR is defined as f(x)=xn, n is odd, then f
is
1) one-one function
2) Many to one function
3) Not one-one function
4) None
FUNCTIONS
SURJECTION OR
ON-TO FUNCTION
FUNCTIONS
Important Note:
A function which is not on-to is called as in-to
function
FUNCTIONS
Example Do you know
Let 1 A={1,2,3,4}, the range of
B={p,q,r} f?
f:AB is givenf={(1,p), (2,r), (3,q),
as
Rang = set formed(4,p)}
by second coordinates in ordered
e pairs
= {p, q,
r}
But co- = = {p, q,
domain B r}
Thus = co-
range domain
So, ‘f’ is on-to
function
FUNCTIONS
Example Now, what
2 is the
Let f:RR be defined by range of
f(x)=x2+3 f(x)?
Now co-domain = R
Also x2+33 f(x)
x20 [3,)
Here, range and
Range = co-domain are
[3,) equal or not?
Rang co-
e domain
f(x) is not an on-to
function
FUNCTIONS
Example
3
f:RR is defined as
f(x)=2x+3
Let f (x) = 2 x It 3 = yx =
+ means
y ‘R’
Now f (x) = f
y Pre-image of y is domain.
Important Note
4) Domain of f codomain of f
FUNCTIONS
2. n(A)=3, n(B)=2 then the number of surjections
1) 22-3
2) 23-2
3) 32-2
4) 23-3
FUNCTIONS
3. A={1,2,3}, B={a,b,c,d} then the number of on-to
functions from A to B is
1) 23-4
2) 24-3
3) 23-2
4) 0
FUNCTIONS
BIJECTION FUNCTION
FUNCTIONS
BIJECTION
Example
If A = { , , the
}, n
IA = { ( , ) , ( , ) , ( ,
)}
FUNCTIONS
EVEN OR ODD f : AB is a function such
f ( - FUNCTION that,
x ) = f ( x then
) f ( x ) is an even
,f ( - x ) = - f ( xfunction.
)
then f ( x ) is an odd
,In above definitionsfunction.
x , - x must be in domain
A.
Exampl
e
We know sin ( - x ) = - sinx so , sinx is an odd function.
Y
Y = x2 Y
Y=
x o x
o
FUNCTIONS
The graph of an odd function y = f(x) is
symmetrical in opposite quadrants
(i.e) if point (x,y) lies on the graph, then (-x,-y)
also
lies onY the graph Y
Y =x
Y =x3
x x
FUNCTIONS
Example:
What is the
If f ( x ) = x 3 – 2 sin x + k is an odd definition of
function, then find
Solution: odd function?
k?
Given f ( x ) is
odd
f ( - x ) = - f
(x) 3
(-x) - 2sin (-x) += - (x3-
k 2sinx+k)
- x3 + 2 sin x + k= - x3 + 2 sin x -
k
2k=0,
k =
0
FUNCTIONS
PERIODIC FUNCTION
f : A B is a function such that f(x+T)=f (x) , where
x,
xf +(x)
TA is& said
T is the
to positive real number then
be periodic
function.
If T is the least positive value satisfying f ( x + T ) = f
( x ), then T is calledperiod or fundamental period of f
A (constant
x). function is periodic but does not have a
well defined period.
FUNCTIONS
Example
f : R R is defined as f ( x )=sin x
.
Now sin ( 2 + x ) = sin x (i.e.,) f ( x + 2 ) = f
(x).
So f(x) is periodic function and 2 is its period
f : [ - 1 , 1 ] is defined as f ( x ) = sin x .
MCQS
1. A function f:AB is said to be bijection
iff
1) f is on-to
2) f is one-one
3) Both 1 & 2
4) none
FUNCTIONS
2. A function f:AB is said to be constant function if
1) f(x)=c
3) f(x)=c (xA)
4) f(x)=c (xB)
FUNCTIONS
3. A function f(x) is said to be even function if
1) f(-x)=-f(x)
2) f(-x)=f(x)
3) f(-x)=x
4) f(x)=x
FUNCTIONS
INVERSE FUNCTION
FUNCTIONS
INVERSE FUNCTION
If f:AB is a bijection,
then f –1
:BA exists as a function such that
f(a)=b
a=f –1
(b) (where aA, bB)
to.
domain of f - = Range of
1
f
If f: AB is a bijection, then
f – 1 :BA is also a bijection
then f –1
(x)=
If f:RR or f:QQ is
f(x)=ax+b,
FUNCTIONS
Graphs of y = f(x), y = f-1(x) are symmetrical about y
= x and intersect on line y = x or f(x) = f-1(x) = x
whenever graphs intersect
Y Y
Y = f-1(x)
Y=x
Y = f(x)
Y = f(x)
x x
o o
(-1,0)
(0,-1)
Y = f-1(x)
FUNCTIONS
Example Is f-1 bijection -1
Then what is f ?
or not?
If A={p,q,r}, B={a,b,c} then
f = {(p,c), (q,b), (r,a)} is a bijection from
A to B
f – 1 = {(c,p),(b,q),
(a,r)}
f - 1 is also
bijection
FUNCTIONS
COMPOSITE
FUNCTION
Let f:AB, g:BC are two functions and aA. As f:AB
is a function. So for aA there exists bB such that
f(a)=b.
there exists cC,
Again as g:BC is a function so, for bB
Now
c=g(b)
=g(
f(a)
)
FUNCTIONS
Let us observe
g(f(a)) =
this
c
We write g(f(a)) as diagrammaticall
(gof)(a) y
gof is called composite function which maps elements
in A to elements in C.
FUNCTIONS
f g
We know
A B C that
g:BC
f:AB
aA
gof(a)
g(f(a))=c
f(a)=b
g(b)=c
bB
cC=c
a b c
f(a) g(b)
gof
FUNCTIONS
Important
To remarks
get gof, perform first f and then perform g
MCQS
1. Domain of f-1=______
1) Range of f-1
2) Range of f
3) Domain of f-1
4) none
FUNCTIONS
2. If f:RR or f:QQ is a function with f(x)=ax+b then f-
1
=___
1) f-1(x)=
2) f-1(x)=
3) f-1(x)=
4) f-1(x)=
FUNCTIONS
3. f={(a,1), (b,2), (c,3)} is a bijection from A to B then f-1
is
1) {(a,1), (2,b),
(c,3)}
2) {(1,a), (b,2),
(c,3)}
3) {(1,a), (2,b),
(3,c)}
4) {(a,1), (b,2),
(c,3)}
FUNCTIONS
Thank
you…