S6,S7_Functions of One Variable
S6,S7_Functions of One Variable
Functions: Let A & B be two non-empty sets, and let f is a relation from A to B, f is said to be a function
from A to B if every element of A has a unique image in B under f .
If B is contained in R, then f is said to be a real valued function and if A, B ⊆ R, then f is said to be a real
function.
Classification of functions:
1. One-one or injective functions: Let f : A → B be a function. For x,y ∈ A, if x 6= y → f (x) 6= f (y),
then f is said to be a one-one function. If f is not one-one, then f is called a many-one function.
2. Onto or surjective functions: Let f : A → B be a function. If every element of B is the image of
some element of A, then f is said to be an onto function. In other words, then f is said to be onto if
f (A) = B. If f is not an onto function, then f is called an into function.
3. Bijective function: Let f : A → B be a function, f is said to be bijective if f is both injective &
surjective.
Result: Let f : A → B be a function where A and B be two non-empty finite sets with n(A) = n and
n(B) = m then
1. No.of functions from A to B = mn (
m
Pn , m ≥ n
2. No.of one-one function from A to B =
0, m < n
m
P (−1)m−i (m C in ), m ≤ n
i
3. No.of onto function from A to B = i=1
0, m>n
Special Functions
Polynomial Functions: A polynomial function with real coefficient is in the from f (x) = a0 + a1 x + · · · +
an xn , ai ∈ R, an 6= 0.
End behavior of polynomials: Let f (x) = a0 + a1 x + · · · + an xn , ai ∈ R, an 6= 0 be a polynomial.
Depending on the values of both an and n, the end behavior of a polynomial is described as follows.
1. Case 1: If an > 0 and n is even, then lim f (x) = ∞
x→±∞
2. Case 2: If an < 0 and n is even, then lim f (x) = −∞
x→±∞
3. Case 3: If an > 0 and n is odd, then lim f (x) = ∞ and lim f (x) = −∞
x→∞ x→−∞
4. Case 4: If an < 0 and n is odd, then lim f (x) = −∞ and lim f (x) = ∞
x→∞ x→−∞
Properties:
1. D(f ) = R
2. R(f ) = depends on f
3. Degree of f = n
4. If n is odd, then R(f ) = R
5. Degree of a non-zero constant polynomial is zero and degree of the zero polynomial is usually considered
as (−∞).
6. If n is odd, then the equation f (x) = 0 has atleast one real solution. Also, the equation f (x) = y ∈ R,
has atleast one solution. In short, if n is odd, then f is an onto function.
7. If n is even, then the equation f (x) = 0 has atmost n real roots.
8. If the equation f (x) = 0 has a pure complex solution, 0 α0 , then α is also a solution of the equation.
i.e., non-real roots occurs in conjugate pairs.
9. The irrational roots occur in conjugate pairs.
Descat’s rule of signs: Let f (x) = a0 + a1 x + · · · + an xn , ai ∈ R, be a polynomial function in one real
variable x. Then the maximum no.of positive real roots of the equation f (x) = 0 is equal to the no.of sign
changes in f (x).
The maximum no.of negative real roots of the equation f (x) = 0 is equal to the no.of sign changes in f (−x).
p(x)
Rational Functions: A function f is in the form f (x) = q(x)
, where p(x) and q(x) are polynomials with
real coefficient, is called a rational function.
D(f ) = R − {x ∈ R | q(x) = 0} and R(f ) depends on f .
Example: f (x) = x1 , D(f ) = R(f ) = R − {0}
Modulus function/Absolute value function:
(
x, x ≥ 0
A function of the form f (x) = |x| = D(f ) = R and R(f ) = [0, ∞)
−x, x < 0
(
(x − a), x ≥ a
|x − a| =
−(x − a), x < a
Signum function:
1, x > 0
|x| x
f (x) = x or |x| = 0, x = 0 D(f ) = R and R(f ) = {−1, 0, 1}
−1, x < 0
6. loga bc = c loga b
7. aloga b = b, a > 1
8. loga ab = b
Trigonometric functions:
Limit of a function
Limits: Let f be a real function and let a ∈ R be any point the left hand limit of f at the point a is given
by f (a− ) = lim− f (x) = lim f (a − h).
x→a h→0
The right hand limit of f at the point a is given by f (a+ ) = lim+ f (x) = lim+ f (a + h).
x→a x→a
If f (a ) = f (a ) then we say that lim f (x) exists, we write lim f (x) = f (a ) = f (a− ).
− + +
x→a x→a
− δ Definition: Let f be a real function & let a ∈ R, f is said to have the limit l at the point a, if for
any > 0 ∃ δ > 0 such that 0 < |x − a| < δ ⇒ |f (x) − l| < .
Sequential definition: Let f be a real function & let a ∈ R, f is said to have the limit l at the point a,
for any sequence (xn → a), the sequence (f (xn )) → l.
Algebra of limits: Let f and g be two real functions with limits lim f (x) = l and lim g(x) = m, for some
x→a x→a
a ∈ R then,
1. lim (f + g)(x) = l + m
x→a
2. lim (f − g)(x) = l − m
x→a
3. lim (f g)(x) = lm
x→a
4. lim fg (x) = l
m
, m 6= 0
x→a
5. lim f (x)g(x) = lm
x→a
6. lim kf (x) = kl
x→a
7. lim f (g(x)) = f (lim g(x)) = f (m), provided f is continuous.
x→a x→a
f (a) 0 ∞
L’Hospital’s Rule: Let f and g be two differential functions, if for some a ∈ R, g(a)
is either 0
or ∞
, then
0
lim f (x) = lim f (x)
0 .
x→a g(x) x→a g (x)
0 00
f (a) ∞ f (x) f (x)
If g 0 (a)
is either 00 , ∞
, then lim = lim 00 and soon.
x→a g(x) x→a g (x)
0 ∞
If we get any real number or ∞ in finite steps then that number is the limit. If we get 0
or ∞
in infinitely
many steps, then the limit does not exists.
Logarithmic Method: Let f and g be two real functions and let a ∈ R, if (f (a))g(a) is in the form
00 , 1∞ , ∞∞ , ∞0 , 0∞ etc then take k = lim (f (x))g(x) .
x→a
In k = lim g(x). In f (x) this limit can be found using any known method or results, let it be l.
x→a
∴ ln k = l ⇒ k = el
1 x
Example: Evaluate lim 1 + x
x→∞
1 −1
1 x
1
ln( 1+ x1 ) 1
1+ x
( )
x2
k = lim 1 + x
⇒ ln k = lim x · ln 1 + x
= lim 1 = lim −1 =1 ∴ k=e
x→∞ x→∞ x→∞ x x→∞ x2
Results:
1
1. lim does not exists.
x→0 x
1
2. lim =∞
x→0 |x|
0 , if x ∈ (−1, 1)
1 ,x = 1
n
3. lim x = does not exists , x = −1
n→∞
∞ ,x > 1
does not exists , x < −1
sin x
4. lim x
=1
x→0
sin x
5. lim x
=0
x→∞
tan x
6. lim x
=1
x→0
cos x
7. lim+ x
=∞
x→0
cos x
8. lim x
=0
x→∞
xn −an
9. lim = nan−1
x→a x−a
ax −1
10. lim = log a, a > 1
x→0 x
ex −1
11. lim = x
=1
x→0
log(1+x)
12. lim x
=1
x→0
cosx−1
13. lim x
=0
x→0
1
14. lim (1 + x) x = e
x→0
15. lim (1 + x1 )x = e
x→∞
1
16. lim (1 + ax) x = ea
x→0
17. lim (1 + xa )x = ea
x→∞
a
18. lim (1 + x) x = ea
x→0
Observations:
(a) If a function does not satisfy IVT(IVP) on an interval [a, b], then the function is discontinuous on
[a, b].
(b) If a function satisfies IVP, on an interval [a, b], then it need not be continuous on [a, b].
Eg: sin x1 , x ∈ [0, 1] not continuous at 0, it attains all values in [0, 1].
Darboux function: A function which satisfies IVP, in a certain interval is called a Darboux function.
Result:
(i) Let f : [a, b] → R be a differential function, then its derivative f 0 is a Darboux function.
(ii) Let f : [a, b] → R be a continuous function, if f (a) = f (b), then there exists atleast one pair a0
and b0 in (a, b) such that f (a0 ) = f (b0 )
(II) Fixed Point Theorem: Let f : [a, b] → [a, b] be a continuous function, then there exists atleast one
point c in [a, b] such that f (c) = c. i.e., f has atleast one fixed point.
Result:
(i) f : [a, b] → [a, b] be a continuous function, then it has a unique fixed point.
(ii) If f (x) = x, every point is a fixed point.
(iii) Let f : R → R be a differential function such that f 0 (x) 6= 1, ∀x ∈ R then f has atmost one fixed
point.
(iv) Let f : R → R be a continuous function, if f is bounded, then it has atleast one fixed point.
(v) Let f : R → R be a differential function such that |f 0 (x)| ≤ r < 1, ∀x ∈ R then there exists a
unique fixed point x0 of the function f such that x0 = lim xn , where xn is a sequence in which x1
n→∞
is arbitrary and xn+1 = f (xn ), ∀n = 1, 2, . . . , n, . . . .
(vi) Let f be a real function which is continuous and periodic then it attains its supremum and infimum.
Moreover it is bounded.
(vii) Let f : R → R be a non-constant, periodic continuous function, then it has a smallest positive
period, called the fundamental period.
T1
(viii) Let f : R → R be a continuous periodic functions with T1 and T2 such that T2
∈
/ Q, then f is a
constant function.
(ix) Let f : [a, b] → R be a continuous function, defined
m(x) = inf t {f (t); t ∈ [a, x]} M (x) = supt {f (t); t ∈ [a, x]}
m(x) and M (x) are also continuous in [a, b]
(x) Let f : A → B, where A, B ⊆ R be a function, and let x0 ∈ A be an isolated point of A, then f is
continuous at x0 .
(xi) Let f : N → R be any function, then f is continuous on N. Any such function is a sequence and
any sequence is a continuous function.
Maximum and Minimum functions: Let f and g be two real functions, then we can define two
functions given by
min(f, g)(x) = 12 [(f (x) + g(x)) − |f (x) − g(x)|] max(f, g)(x) = 12 [(f (x) + g(x)) + |f (x) − g(x)|]
Eg: Draw the graphs of min{x, x2 }, max{x, x2 }
Differentiability
Example:
1. Polynomial functions are differentiable over R
2. Rationals are differentiable in the domain.
3. Trigonometric functions are differentiable in the domain.
4. Exponential functions are differentiable over R
5. Logarithmic functions are differentiable in (0, ∞)
Counter examples:
1. |x| is not differentiable at x = 0
2. |x − a| is not differentiable at x = a
3. If f is a differential function, then |f (x)| is not differential at simple zeros of f
4. min(f, g) and max(f, g) where both f and g are differentiable, are not differentiable at simple zeros of
(f − g)
Result:
d |x|
1. dx
|x| = x
, x 6= 0
(
d 0, R\Z
2. [x] =
dx does not exists, otherwise or x ∈ Z
d 1 loge x
3. dx
(loga x) = x loge a
loga x = loge a
Applications of Derivatives
Increasing and Decreasing functions: Let f be a differential function
1. If f 0 (x) > 0, ∀x ∈ D(f ), then f is strictly increasing in D(f ).
Eg: f (x) = ex f 0 (x) = ex > 0
2. If f 0 (x) ≥ 0, ∀x ∈ D(f ), then f is increasing in D(f ).
Eg: f (x) = x3 , x ∈ R f 0 (x) = 3x2
3. If f 0 (x) < 0, ∀x ∈ D(f ), then f is strictly decreasing in D(f ).
4. If f 0 (x) ≤ 0, ∀x ∈ D(f ), then f is decreasing in D(f ).
Maxima and Minima: Let f be a continuous function on R , a point x = x0 , to be a point of local extrema,
it is necessary that either f 0 (x0 ) = 0 or f 0 (x0 ) does not exists, such x0 is called the critical point or stationary
point.
First Derivative Test: If x0 is a critical point of f , then x0 is a local minima of f if f 0 changes the sign
from negative to positive in a neighbourhood of x0 .
If x0 is a critical point of f , then x0 is a local maxi of f if f 0 changes the sign from positive to negative in
the neighbourhood of x0 .
Second Derivative Test: If f is twice differential and x0 be a critical point of f . x0 is a point of local
minima if f 0 (x0 ) = 0 and 0 (x0 ) > 0. x0 is a point of local maxima if f 0 (x0 ) = 0 and f 0 (x0 ) < 0. If f 0 (x0 ) = 0
and f 00 (x0 ) = 0, then the point x = x0 is neither a point of local maxima nor a point of local minima. In this
case x0 is called the point of inflection.
K th Derivative Test: Let f be a k times differential function, where k ∈ Z, k ≥ 1. Let c be a point in
the D(f ), with f 0 (c) = 0, f 00 (c) = 0, . . . , f k−1 (c) = 0, f k (c) 6= 0, then the point x = c, has the following
possibilities.
k f k (c)
even positive strict local minima
even negative strict local maxima
odd positive increasing point of inflection
odd negative decreasing point of inflection
Absolute Maxima and Minima: Let f : [a, b] → R be a twice differential function, then the absolute
maxima or minima are the maxima or minima values of f on [a, b].
The candidates for the points of absolute extreme are the points x = a, x = b, and critical points of f in
[a, b]. Evaluate the values of the function at these points and find extreme among them.
√ √
Result: Let f (x) = a cos x + b sin x, a, b, x ∈ R, then f (x) ∈ − a2 + b2 , a2 + b2 .
(
xa sin |x|1 c , x 6= 0
Result: Let a, c ∈ R with c > 0 and f : [−1, 1] → R be defined by f (x) = then
0, x=0
1. f is continuous iff a > 0.
2. f is differential (i.e.,f 0 (0) exists) iff a > 1.
3. f 0 is continuous iff a − c > 1.
4. f 0 is bounded iff a − c ≥ 1.
5. f 00 (0) exists iff a − c > 2.
6. f 00 is continuous iff a − 2c > 2.
7. f 00 is bounded iff a − 2c > 2
Angle between two functions or curves: Let f and g be two functions and let (x0 , y0 ) be a common
point of f and g. i.e., f (x0 ) = y0 , g(x0 ) = y0 the angle between f and g at point (x0 , y0 ) is the angle between
the tangents of f and g at the point (x0 , y0 ).
Suppose that the slope of the tangent of f at the point (x0 , y0 ) is m1 , that of g is m2 . If θ is the angle between
m1 −m2
these tangents, then θ = tan−1 1+m 1 m2
where m1 = f 0 (x0 , y0 ), m2 = g 0 (x0 , y0 )
Convex functions: Let f : A → B, where A, B ⊆ R be a function, f is said to be a convex function on A,
if f (λx + (1 − λ)y) ≤ λf (x) + (1 − λ)f (y) ∀ x, y ∈ A, λ ∈ [0, 1].
Example: ex , x2 , x4 , (x − 2)2 etc.
If f is a linear function, then f (λx + (1 − λ)y) ≤ λf (x) + (1 − λ)f (y)
Note: If f (λx + (1 − λ)y) < λf (x) + (1 − λ)f (y) ∀ x, y 6= A, then f is called strictly convex function.
Theorem:
1. Let f be differential on A, then f is convex on A iff f 0 is increasing on A.
00
2. Let f be twice differential on A, then
n f is convex
on A, iff f (x) ≥ 0 on A.
P n
P Pn
Result: Let f be convex on A, then f λi xi = λi f (xi ) where λi = 1, λi ∈ [0, 1], xi ∈ A.
i=1 i=1 i=1
x+y f (x)+f (y)
Theorem: Let f be continuous on A, and satisfies the property f 2
< 2
, ∀ x, y ∈ A, x 6= y, then
f is strictly convex on A.
Result:
1. Let f : R → R be convex and bounded above then f is constant on R.
2. Let f be a convex function on an open interval I, then f satisfies Lipschitz’s conditions locally on I.
Mean Value Theorems
(I) Rolle’s Theorem: Let f : [a, b] → R be a function satisfying the following conditions.
(i) f is continuous on [a, b].
(ii) f is differential on (a, b).
0
(iii) f (a) = f (b) then there exists atleast one real number c ∈ (a, b) such that f (c) = 0.
Result:
(i) If x1 and x2 (x1 < x2 ) are two real zero’s of a differential function f then there exists atleast one
zero of f 0 in (x1 , x2 ).
(ii) Between any two consecutive zero’s of a differential function there exists atleast one zero for its
derivative.
(iii) If all roots of a polynomial p, degree n ≥ 2 are real then all roots of p0 are also real.
an
(iv) If n+1 + an−1
n
+ · · · + a0 , where ai ∈ R, then the polynomial p(x) = an xn + an−1 xn−1 + ... + a0 has
atleast one root in (0, 1).
0
(v) Let f be continuous differential on [a, b], and twice differential on (a, b) with f (a) = f (b) = f (a) =
0 then there exists c ∈ (a, b) such that f 0 (c) = 0.
(vi) Let f be continuous differential on [a, b], and twice differential on (a, b) with f (a) = f (b) and
f 0 (a) = f 0 (b) = 0, then there exists c1 , c2 ∈ (a, b) with c1 6= c2 such that f 00 (c1 ) = f 00 (c2 ).
(II) Lagrange’s Mean Value Theorem: Let f : [a, b] → R be a function satisfying the condition
(i) f is continuous on [a, b].
(ii) f is differential on (a, b).
f (b)−f (a)
Then there exists atleast one real number c ∈ (a, b) such that b−a
= f 0 (c)
Result: To find the approximate value of a function f satisfying LMVT, at some point, we use the
relation f (a + h) ≈ f (a) + hf 0 (a).
(III) Cauchy’s Mean Value Theorem or Generalised MVT: Let f, g : [a, b] → R be two functions
satisfying the conditions,
(i) f, g are continuous on [a, b]
(ii) f, g is differential on (a, b)
(iii) g 0 (t), ∀ t ∈ (a, b)
f (b)−f (a) f 0 (c)
(iv) g(a) 6= g(b), then there exists atleast one c ∈ (a, b) such that g(b)−g(a)
= g 0 (c)
Note:
(i) The LMVT is a special case of CMVT in which we take g(x) = x.
(ii) Rolle’s theorem, is a special case of LMVT, in which we take f (a) = f (b).
Anti-Derivative
Integration:
(I) Indefine Integrals
(i) (ex f (x) + f 0 (x))dx = ex f (x) + c
R
Z 0
f (x)
(ii) f (x)
dx = log |f (x)| + c
Z
n+1
(iii) (f (x))n f 0 (x) dx = (f (x))
n+1
+c
Z
(iv) uv dx = uv1 − u0 v2 + u00 v3 − . . .
Z
(v) log x dx = x log x − x + c
√
Z
(vi) sin−1 x dx = x sin−1 x + 1 − x2 + c
√
Z
(vii) cos−1 x dx = x cos−1 x − 1 − x2 + c
(viii) √ 1
x2 −a2
dx = cosh−1 x
a
+c
(ix) √ 1
x2 +a2
dx = sinh−1 x
a
+c
(A) 0
(B) e
(C) e−1
(D) e−2
16. Consider f (x) = −x6 + 3x3 − 2x2 + 1. Then which of the following is true?
(A) f (x) has exactly one root in [−2, 2]
(B) f (x) has atmost one root in [2, 2]
(C) f (x) has atleast one root in [−2, 2]
(D) f (x) is a monotone function
1
17. The function f (x) = x + 1+ex
(A) no fixed point
(B) unique fixed point
(C) infinite number of fixed points
(D) none of these
2x, 0 ≤ x < 1
18. The function f (x) = 3, x = 1
4x, 1 < x ≤ 2
(A) is continuous
(B) has a discontinuity of the first kind at x = 1
(C) has a discontinuity of the first kind from left at x = 1
(D) has a discontinuity of the second kind at x = 1
19. Let f : [0, 1] → [0, 1] be a continuous function. Suppose there exists points x, y in [0, 1] such that
f (x) = 0 and f (y) = 1. Then f is necessarily
(A) One-to-One
(B) Onto
(C) A bijection
(D) Monotonic increasing
20. A monotonic function
(A) is always continuous
(B) is continuous only, if it satisfies intermediate value property
(C) can be nowhere continuous
(D) can be discontinuous at infinitely many points
21. Let f be continuous on [a, b], a < b, then
(A) f is a constant function
(B) f attains both supremum and infimum on [a, b]
(C) f is bounded
(D) nothing can be concluded from the given data
22. Let f, g : 0, π2 → [0, 1] be given by f (x) = sin x and g(x) = cos x. Then max{f, g}
(
cos x, if x ∈ 0, π4
(A)
sin x, if x ∈ π4 , π2
(
sin x, if x ∈ 0, π4
(B)
cos x, if x ∈ π4 , π2
(
cos x, if x ∈ 0, π3
(C)
sin x, if x ∈ π3 , π2
(
sin x, if x ∈ 0, π3
(D)
cos x, if x ∈ π3 , π2
23. If Rolle’s theorem holds for f (x) = x3 + ax2 + bx on [−2, 2] at x = 1, then find the values of a & b?
24. The function f (x) = sin 3x, x ∈ 0, π2 is increasing in the interval
(A) 0, π6
(B) π6 , π2
(C) 0, π2
(D) π3 , π2
25. Let I = [0, 1] for x ∈ R. Let φ(x) = dist(x, I) = inf{|x − y| : y ∈ I}. Then
(A) ϕ(x) is discontinuous somewhere on R
(B) ϕ(x) is continuous on R but not continuously differentiable exactly at x = 0
(C) ϕ(x) is continuous on R but not continuously differentiable exactly at x = 0, 1
(D) ϕ(x) is differentiable on R