Chapter 17 Function
Chapter 17 Function
Mathematics HandBook
®
Chapter
FUNCTION
17
1. DEFINITION :
If to every value (considered as real unless other-wise stated) of a variable x, which belongs to a set A, there
corresponds one and only one finite value of the quantity y which belong to set B, then y is said to be a
function of x and written as f : A → B, y = f(x), x is called argument or independent variable and y is called
dependent variable.
x f( x) = y
Pictorially : → f →
input output
y is called the image of x and x is the pre-image of y, under mapping f.
Every function f : A → B satisfies the following conditions.
(i) f ⊂ A × B
(ii) ∀a ∈ A ∃ b ∈ B such that (a,b) ∈ f and
(iii) If (a, b) ∈ f & (a, c) ∈ f ⇒ b=
c
2. DOMAIN, CO-DOMAIN & RANGE OF A FUNCTION :
Let f : A → B, then the set A is known as the domain of ‘f’ & the set B is known as co-domain of ‘f’. The
set of all f images of elements of A is known as the range of ‘f’. Thus
Domain of f = {x | x ∈ A, (x, f(x)) ∈f}
Range of f = {f(x) | x ∈ A, f(x) ∈B}
Range is a subset of co-domain.
3. IMPORTANT TYPES OF FUNCTION :
(a) Polynomial function :
n n–1 n–2
If a function ‘f’ is called by f(x) = a0x + a1x + a2x + ......+ an–1x + an where n is a non negative
integer and a0, a1, a2,....an are real numbers and a0 ≠ 0, then f is called a polynomial function of degree n.
Note :
(i) A polynomial of degree one with no constant term is called an odd linear function. i.e. f(x) = ax, a ≠ 0
(ii) There are four polynomial functions, satisfying the relation ; f(x). f(1/x) = f(x) + f(1/x). They are :
n
(a) f(x) = x + 1, n ∈
n
(b) f(x) = 1 – x , n ∈
(c) f(x) = 0
(d) f(x) = 2
(iii) Domain of a polynomial function is R
(iv) Range of odd degree polynomial is R whereas range of an even degree polynomial is never R.
(b) Algebraic function :
A function ‘f’ is called an algebraic function if it can be constructed using algebraic operations (such as
addition, subtraction, multiplication, division, and taking radicals) starting with polynomials.
(c) Rational function :
g(x)
A rational function is a function of the form y = f(x) = , where g(x) & h(x) are polynomials & h(x) ≠ 0,
h(x)
Domain : R–{x | h(x)=0}
Any rational function is automatically an algebraic function.
69
Mathematics HandBook ®
(d) Exponential and Logarithmic Function :
x
A function f(x) = a (a > 0), a ≠ 1, x ∈ R is called an exponential function. The inverse of the
exponential function is called the logarithmic function, i.e. g(x)= logax.
Note that f(x) & g(x) are inverse of each other & their graphs are as shown. (Functions are mirror
image of each other about the line y = x)
x +
Domain of a is R Range R
+
Domain of logax is R Range R
+∞
+∞
(0,1)
x
f(x)=a , a>1
45° x
f(x)=a , a∈(0, 1)
(0,1)
(1,0) 45°
(1,0)
g(x)=logax
g(x)=logax
70
Mathematics HandBook
®
(g) Greatest integer or step up function :
The function y = f(x) = [x] is called the greatest integer function where [x] denotes the greatest integer
less than or equal to x. Note that for :
x [x] y
graph of y = [x] 3
[–2, –1) –2
2
[–1, 0) –1
1
[0, 1) 0
2 3 x
[1, 2) 1 –3 –2 –1 0 1
–1
–2
Domain : R
–3
Range : I
Properties of greatest integer function :
(i) x – 1 < [x] ≤ x < [x] + 1, 0 ≤ x – [x] < 1
[x] + [y] , {x} + {y} ∈ [0, 1)
(ii) [x + y] =
[x] + [y] + 1, {x} + {y} ∈ [1, 2)
0, x ∈ I
(iii) [x] + [–x] =
−1, x ∈
/ I
0, x ∈ I
(iv) {x} + {–x} =
1, x ∈
/ I
1
Note : f(x) =
[x]
1
=
Domain : R – [0, 1) Range : {x|x , n ∈ Ι − {0}}
n
(h) Fractional part function :
It is defined as : g(x) = {x} = x – [x] e.g.
x {x} y
graph of y = {x}
[–2, –1) x+2
[–1, 0) x+1 1
[0, 1) x x
–2 –1 0 1 2 3
[1, 2) x–1
71
Mathematics HandBook ®
(k) Trigonometric functions :
(i) Sine function : f(x) = sin x
Domain : R Range : [–1, 1], period 2π
(ii) Cosine function : f(x) = cos x
Domain : R Range : [–1, 1], period 2π
(iii) Tangent function : f(x) = tan x
(2n + 1)π
Domain : R − x|x
= ,n ∈ I
2
Range : R, period π
(iv) Cosecant function : f(x) = cosec x
Domain : R – {x|x = nπ, n ∈I}
Range : R – (–1, 1), period 2π
(v) Secant function : f(x) = sec x
Domain : R – {x|x = (2n + 1) π/2 : n ∈ I}
Range : R – (–1, 1), period 2π
(vi) Cotangent function : f(x) = cot x
Domain : R – {x|x = nπ, n ∈I}
Range : R, period π
(l) Inverse Trigonometric function :
π π
(i) f(x) = sin–1 x Domain : [–1, 1] Range : − ,
2 2
(ii) f(x) = cos–1 x Domain : [–1, 1] Range : [0, π]
π π
(iii) f(x) = tan–1 x Domain : R Range : − ,
2 2
(iv) f(x) = cot–1 x Domain : R Range : (0, π)
π π
(v) f(x)= cosec–1x Domain : R –(–1,1) Range : − , –{0}
2 2
π
(vi) f(x) = sec–1 x Domain : R – (–1,1) Range : [0,π] –
2
4. EQUAL OR IDENTICAL FUNCTION :
Two function f & g are said to be equal if :
(a) The domain of f = the domain of g
(b) The co- domain of f = co- domain of g and
(c) f(x) = g (x), for every x belonging to their common domain (i.e. should have the same graph)
5. ALGEBRAIC OPERATIONS ON FUNCTIONS :
If f & g are real valued functions of x with domain set A, B respectively, f + g, f – g, (f . g) & (f/g) as
follows :
(a) (f ± g)(x) = f(x) ± g(x), domain in each case is A ∩ B
(b) (f.g)(x) = f(x).g(x), domain is A ∩ B
f f(x)
(c) (x) = , domain A ∩ B – {x|g(x) = 0}
g g(x)
72
Mathematics HandBook
®
6. CLASSIFICATION OF FUNCTIONS :
(a) One-One function (Injective mapping) :
A function f : A → B is said to be a one-one function or injective mapping if different elements of A
have different f images in B. Thus for x1, x2 ∈ A & f(x1), f(x2) ∈ B, f(x1) = f(x2) ⇔ x1 = x2 or x1 ≠ x2
⇔ f(x1) ≠ f(x2).
Note:
(i) Any continuous function which is entirely increasing or decreasing in whole domain is one-one.
(ii) If a function is one-one, any line parallel to x-axis cuts the graph of the function at atmost one point
(iii) Non-monotonic function can also be injective.
(b) Many-one function :
A function f : A → B is said to be a many one function if two or more elements of A have the same f
image in B.
Thus f : A → B is many one if ∃ x1, x2 ∈ A, f(x1) = f(x2) but x1 ≠ x2
Note : If a continuous function has local maximum or local minimum, then f(x) is many-one because
atleast one line parallel to x-axis will intersect the graph of function atleast twice.
Total number of functions = number of one-one functions + number of many-one function
(c) Onto function (Surjective) :
If range = co-domain, then f(x) is onto.
(d) Into function :
If f : A → B is such that there exists atleast one element in co-domain which is not the image of any
element in domain, then f(x) is into.
Note :
(i) If ‘f’ is both injective & surjective, then it is called a Bijective mapping. The bijective functions
are also named as invertible, non singular or biuniform functions.
(ii) If a set A contains n distinct elements then the number of different functions defined from A → A
n
is n & out of it n! are one one and rest are many one.
(iii) If f : R → R is a polynomial
(a) Of even degree, then it will neither be injective nor surjective.
(b) Of odd degree, then it will always be surjective, no general comment can be given on its
injectivity.
7. COMPOSITE OF UNIFORMLY & NON-UNIFORMLY DEFINED FUNCTION :
Let f : A → B & g : B → C be two functions. Then the function gof : A → C defined by (gof ) (x) = g(f(x))
∀ x ∈ A is called the composite of the two functions f & g.
Hence in gof(x) the range of ‘f’ must be a subset of the domain of ‘g’. x ƒ g g(ƒ(x))
(c) The composite of two bijections is a bijection i.e. if f & g are two bijections such that gof is defined,
then gof is also a bijection.
(d) If gof is one-one function then f is one-one but g may not be one-one.
73
Mathematics HandBook ®
8. HOMOGENEOUS FUNCTIONS :
A function is said to be homogeneous with respect to any set of variables when each of its terms is of the
same degree with respect to those variables.
2 2 n
For examples 5x + 3y – xy is homogenous in x & y. Symbolically if, f(tx, ty) = t f(x, y), then f(x, y) is
homogeneous function of degree n.
9. BOUNDED FUNCTION :
A function defined by an equation not solved for the dependent variable is called an implicit function.
3 3
e.g. the equation x + y = 1 defines y as an implicit function of x. If y has been expressed in terms of x
alone then it is called an Explicit function.
Let f : A → B be a one-one & onto function, then their exists a unique function g : B → A such that
f(x) = y ⇔ g(y) = x, ∀ x ∈ A & y ∈ B. Then g is said to be inverse of f.
–1
Thus g = f : B → A = {(f(x), x))|(x, f (x)) ∈ f}
(b) If f : A → B is a bijection & g : B → A is the inverse of f, then fog = IB and gof = IA, where
IA & IB are identity functions on the sets A & B respectively. If fof = I, then f is inverse of itself.
(d) If f & g are two bijections f : A → B, g : B → C & gof exist, then the inverse of gof also exists and
–1 –1 –1
(gof) = f og .
–1
(e) Since f(a) = b if and only if f (b) = a, the point (a, b) is on the graph of ‘f’ if and only if the point (b, a)
–1
is on the graph of f . But we get the point (b, a) from (a, b) by reflecting about the line y = x.
–1
In general f(x) = x ⇒ f(x) = f (x).
y y
(b, a)
y y=f(x) y=x
(a, b) f
–1
0
0 x
(–1,0)
x 0 x (0,–1)
74
Mathematics HandBook
®
Note :
(i) A function may neither be odd nor even.
(ii) Inverse of an even function is not defined, as it is many-one function.
(iii) Every even function is symmetric about the y-axis & every odd function is symmetric about the
origin.
(iv) Every function which has '–x' in it's domain whenever 'x' is in it's domain, can be expressed as the
sum of an even & an odd function.
f(x) + f(–x) f(x) – f(–x)
e.g. f(x) = +
2 2
EVEN ODD
(v) The only function which is defined on the entire number line & even and odd at the same time is f(x) = 0
(vi) If f(x) and g(x) both are even or both are odd then the function f(x) . g(x). will be even but if any one
of them is odd & other is even, then f.g will be odd.
13. PERIODIC FUNCTION :
A function f(x) is called periodic if there exists a positive number T(T >0) called the period of the function
such that f(x + T) = f(x) = f(x – T), for all values of x within the domain of f(x) and least positive T if exist
called fundamental period.
Note :
(i) Inverse of a periodic function does not exist.
(ii) Every constant function is periodic, with no fundamental period.
(iii) If f(x) has a period T & g(x) also has a period T then it does not mean that f(x) + g(x) must have a
period T. e.g. f(x) = |sin x|+|cos x| (here period means fundamental period).
(iv) If f(x) has period p and g(x) has period q, then one of the period of f(x) + g(x) will be LCM of p & q.
However it may not be fundamental period.
1
(v) If f(x) has period p, then and f(x) (provided each one is defined over some non empty set)
f(x)
also has a period p.
(vi) If f(x) has period T then f(ax + b) has a period T/a (a > 0).
(vii) |sinx|,|cosx|,|tanx|,|cotx|,|secx| & |cosecx| are periodic function with period π.
n n n n
(viii) sin x, cos x, sec x, cosec x, are periodic function with period 2π when ‘n’ is odd or π when n is even.
n n
(ix) tan x, cos x are periodic function with period π.
14. GENERAL :
If x, y are independent variables and f is continuous function, then :
75
Mathematics HandBook ®
15. SOME BASIC FUNCTION & THEIR GRAPH :
4
y=x 2
y=x
2n
(a) y = x , where n ∈ N 1
–1 1
5
y y=x 3
y=x
–1
(b) y = x
2n +1
, where n ∈ N x
O 1
1
1
y=
x
1
−y =
x3
1
1 –1
(c) y= , where n ∈ N
x2n −1 1
–1
1
y=
x4
1
y=
1 x2
1
(d) y = , where n ∈ N
x2n –1 0 1 x
x
y= 1
y = x4
1 1
(e) y = x 2n , where n ∈ N
O 1
y
1/3
y= x
1/5
y= x
1 1
(f) y = x 2n +1 , where n ∈ N –1
O 1 x
–1
2
y
y = x3
2/3
Note : y = x
x
O
76
Mathematics HandBook
®
(g) y = logax
when a > 1 when 0 < a < 1
y
log2x nx
y log3x
1
x
1 x
log1/3x
log1/2 x log1/ex
x
(h) y = a
a>1 0<a<1
y 3 x
ex
2x
1
FG 1IJ x
H 2K
1
x e− x
FG 1 IJ x
H 4K
(i) Trigonometric functions :
Y
(–3π/2,1) (π/2,1)
y = sinx –π o π X
(–π/2,–1) (3π/2,–1)
Y
(0,1)
y = cos x –π/2 o π /2 X
(–π,–1) (π,–1)
−π π
y = tan x
–3π/2 –π/2 o π/2 3π/2 X
y=1
(–3π/2,1) (π/2,1)
o X
y = cosecx
(–π/2,–1) (3π/2,–1)
y=–1
x=–2 π x= −π x= π x=2π
77
Mathematics HandBook ®
Y
y=1
(–2π,1) (0,1)
y = sec x
o X
(-π,-1) (π, -1)
y=-1
3π π π 3π
x=– x=– x= x=
2 2 2 2
Y
O
y = cot x
x
π π ,0) π
(– 3 ,0) (– ( ,0) ( 3 π ,0)
2 2 2 2
D<0 D=0
a>0 D>0
2
(j) y = ax + bx + c
x
b D x
vertex − ,−
2a 4a D>0
D=0
D<0
2
where D = b – 4ac
sinx
1. π x
–π 0 2π 3π
sinx–1
|x|+2
|x|
|x|–2
2. x
0
(0,–2)
(b) ƒ (x) transforms to ƒ (x + k) :
if k > 0 then shift graph of ƒ (x) through k towards left.
if k < 0 then shift graph of ƒ (x) through k towards right.
78
Mathematics HandBook
®
Examples :
2
y=(x+1)
2
y=x
2 y=(x–1)
(0,1)
1. O
(–1,0) (1,0)
x+1
y e
x
e x–1
e
2.
x
–1 1
cosx
–3π/2 π/2
–π/2 3π/2 5π/2
cosx
2
–2π
–π –π/2 0 π/2 π 3π/2 2π
sin2x
sin x –1 sinx
2
e–x y ex
1. 2.
0 x
79
Mathematics HandBook ®
(f)ƒ (x) transforms to –ƒ (x) :
Take image of y = ƒ (x) in the x axis as plane mirror
Examples :
y
x
y e
–1/x 1/x
x x
0
–ex
(g) ƒ (x) transforms to |ƒ (x)| :
Take mirror image (in a axis) of the portion of the graph of ƒ(x) which lies below x-axis.
Examples :
y |n x|
|sinx|
x
x
n x sinx
x
x
–1 1
y y e
|x|
ex
1
x x
x x
y=–|x|
y =1–|x|
y
|y|= sinx
|y|=1–|x| y=sinx
80