










Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!











Lecturer, Department of Mathematics, University of Central Punjab, Lahore, Pakistan
Email: [email protected]
Topic: Relative extrema, 1st and 2nd derivative tests, Extreme Values
Outline of the Lecture In this lecture, we will focus on the following contents:
Calculus and Analytical Geometry
1 Examples of inflection point
Example 1.1. Consider the graph of the function f (x) = xe−x.
Figure 1: Graph of function
Use the first and second derivatives of f to determine the intervals on which f is increasing, decreasing, concave up, and concave down. Locate all inflection points.
Solution:
Step 1:[Find first derivative] To find the first derivative of f , differentiate w.r.t x, we have
f ′(x) = x
d dx (e
−x) + e−x d dx (x) f ′(x) = x.e−x.(−1) + e−x f ′(x) = −x.e−x^ + e−x f ′(x) = e−x^ − x.e−x f ′(x) = e−x(1 − x) f ′(x) = (1 − x)e−x
Step 2:[Find Increasing and decreasing intervals (First derivative test)]
The sign analysis of these derivatives is shown in the following tables:
Table 1: Intervals of function where it is increasing and decreasing
Intervals (1 − x)e−x^ f ′(x) Conclusion
x < 1 (+ve)(+ve) +ve f is increasing on the interval (−∞, 1]
x > 1 (-ve)(+ve) −ve f is decreasing on the interval [1, +∞)
Step 3:[Find Second derivative (Second derivative test)]
Calculus and Analytical Geometry
Solution: Calculating the first two derivatives of f , we obtain
d dx
[f (x)] = d dx
(x + 2 sin(x))
f ′(x) =
d dx (x) + 2^
d dx (sin(x)) f ′(x) = 1 + 2 cos(x)
Substitute f ′(x) = 0, we have f ′(x) = 0 1 + 2 cos(x) = 0 2 cos(x) = − 1
cos(x) = − (^12)
Since cos(x) is negative, and we know that cos(x) is negative in quadrant-II and quadrant-III. So we can write cos(x) =
x = cos−^1
x =
π 3
Now,
For Quadrant-II, the angle is given as
x 1 = π − x x 1 = π − π 3 x 1 =^3 π^3 −^ π
x 1 =^2 π 3
For Quadrant-III, the angle is given as
x 2 = π + x x 2 = π + π 3 x 2 =^3 π^3 +^ π
x 2 =^4 π 3
The sign analysis of these derivatives is shown in the following tables:
Table 3: Intervals of function where it is increasing and decreasing
Intervals f ′(x) = 1 + 2 cos(x) Conclusion
0 < x < 23 π +ve f is increasing on the interval [0, 23 π ]
2 π 3 < x <^
4 π 3 −ve^ f^ is^ decreasing^ on the^ interval^ [^
2 π 3 ,^
4 π 3 ] 4 π 3 < x <^2 π^ +ve^ f^ is^ increasing^ on the^ interval^ [^
4 π 3 ,^2 π]
Again differentiating f ′(x) w.r.t x, we have
d dx [f^
′(x)] = d dx (1 + 2 cos(x)) f ′′(x) = 0 + 2.(− sin(x)) f ′′(x) = −2 sin(x)
Calculus and Analytical Geometry
Since, f ′′(x) is continuous function. So its sign changes in the interval (0, 2 π) will occur only at values of x for which f ′′(x) = 0. Therefore, we have
f ′′(x) = 0 ⇒ −2 sin(x) = 0 ⇒ sin(x) = 0 ⇒ x = sin−^1 (0) ⇒ x = π
Now, from second derivative, we conclude that
Table 4: Concave up and concave down from second derivative of function
Intervals f ′′(x) = −2 sin(x) Conclusion
0 < x < π −ve f is concave down on the interval (0, π)
π < x < 2 π +ve f is concave up on the interval (π, 2 π)
The second table shows that there is an inflection point at x 0 = π, since f changes from concave down to concave up at that point. The inflection point is (x 0 , f (x 0 )) = (π, f (π)) = (π, π). All of these conclusions are consistent with the graph of f.
2 Relative maxima and relative minima
If we imagine the graph of a function f to be a two-dimensional mountain range with hills and valleys, then the tops of the hills are called relative maxima, and the bottoms of the valleys are called relative minima as shown in figure.
Figure 3: Relative maxima and relative minima
The relative maxima are the high points in their immediate vicinity, and the relative minima are the low points.
A relative maximum need not be the highest point in the entire mountain range, and a relative minimum need not be the lowest point, they are just high and low points relative to the nearby other points.
Calculus and Analytical Geometry
Example 2.5. Consider the function f (x) = 12 x^4 − 43 x^3 − x^2 + 4x + 1. The graph of the function is given as
From the graph, note that
Figure 7: Relative maxima and relative minima
Example 2.6. Consider the function f (x) = cos(x). The graph of the function is given as
From the graph, note that
Figure 8: Relative maxima and relative minima
3 Critical point and stationary point
A point x 0 at which
is called a critical point.
Stationary point (Particular case of critical point) A point x 0 at which f ′(x 0 ) = 0 is called a stationary point.
In this figure, the critical points are x 1 , x 2 , x 3 , x 4 , and x 5. From these critical points, the stationary points are x 1 , x 2 , and x 5.
Calculus and Analytical Geometry
Figure 9: Critical points and stationary points
Example 3.1. Find all critical points of the graph of the function f (x) = x^3 − 3 x + 1.
Figure 10: Critical points of the graph
Solution: The function f (x) , being a polynomial, is differentiable everywhere, so its critical points are all stationary points.
Step 1: [Find first derivative] Differentiating the given function f (x) w.r.t x, we have
f ′(x) = 3x^2 − 3 f ′(x) = 3(x^2 − 1) f ′(x) = 3(x + 1)(x − 1)
Step 2: [Find critical and stationary points] To find the critical and stationary points, we must solve the equation f ′(x) = 0
Calculus and Analytical Geometry
f ′(x) = 5
x
(^23) −
x
(^13)
f ′(x) = 5
x 23 x 13 − 2 x
(^13)
f ′(x) = 5
(x − 2) x
(^13)
Step 2:[Find critical and stationary points] To find the critical points and stationary points, we have f ′(x) = 0
So we have x − 2 = 0 ⇒ x = 2 and x 13 = 0 ⇒ x = 0
Hence,
Function Critical points Stationary Points
f (x) = 3x
(^53) − 15 x
(^23) x 0 = 0, 2 x 0 = 2
Example 3.3. Identify all critical points and stationary points from the graphs of the following function.
Figure 12: Critical points and stationary points
Figure 13: Critical points and stationary points
Figure 14: Critical points and stationary points
Figure 15: Critical points and stationary points Figure 16: Critical points and stationary points
Calculus and Analytical Geometry
Solution: Since all the given graphs have no sharp edge in the graph, therefore, in this case, all critical points are also stationary points. In all these stationary points, the slope of tangent line is zero. From the above given graphs of functions, we can write the critical and stationary points given in the form of a table as follows:
Functions Critical points Stationary Points
y = x^2 x 0 = 0 x 0 = 0 y = x^3 x 0 = 0 x 0 = 0 y = x^3 − 3 x + 3 x 0 = − 1 , 1 x 0 = − 1 , 1 y = 12 x^4 − 43 x^3 − x^2 + 4x + 1 x 0 = − 1 , 1 , 2 x 0 = − 1 , 1 , 2 y = cos(x) x 0 = − 2 π, −π, 0 , π, 2 π x 0 = − 2 π, −π, 0 , π, 2 π
4 First derivative test [For increasing and decreasing intervals]
Let f (x) be continuous on a closed interval [a, b] and differentiable on the open interval (a, b).
5 First derivative test [For relative maxima and minima]
Suppose f (x) is continuous at a critical point x 0 , then
Example 5.1. Find the intervals on which f (x) = x^2 − 4 x + 3 is increasing and the intervals on which it is decreasing using first derivative test.
Solution: The function f (x) is continuous everywhere.
Step 1: Find first derivative Differentiating the given function f (x) w.r.t x, we have
d dx [f^ (x)] =^
d dx
x^2 − 4 x + 3
f ′(x) = (^) dxd
x^2
− (^) dxd
4 x
f ′(x) = 2x − 4 + 0 f ′(x) = 2x − 4
Calculus and Analytical Geometry
Solution: The function f (x) is continuous everywhere.
Differentiating the given function f (x) w.r.t x, we have
d dx
[f (x)] = d dx
3 x 53 − 15 x 23
f ′(x) =
d dx
3 x
(^53)
d dx
15 x
(^23)
f ′(x) = 3
d dx
x
(^53)
d dx
x
(^23)
f ′(x) = 3.
x
(^53) − 1 − 15.
x
(^23) − 1
f ′(x) = 5x
(^23) − 5 .(2)x−^
(^13)
f ′(x) = 5x
(^23) − 10 x−^
(^13)
f ′(x) = 5
x 23 − 2 x
(^13)
f ′(x) = 5
x 23 x 13 − 2 x
(^13)
f ′(x) = 5
(x − 2) x
(^13)
To find the critical points and stationary points, we have
f ′(x) = 0
So we have x − 2 = 0 ⇒ x = 2 and x
(^13) = 0 ⇒ x = 0
The sign analysis of the first derivatives is shown in the following tables:
Table 6: Relative maxima and minima using first derivative test
Intervals Test point f ′(x) = 5(x x− 13 2) Sign of f ′(x) Increasing/Decreasing
x < 0 − 1 f ′(−1) = 15 +ve f is increasing on interval (−∞, 0]
0 < x < 2 1 f ′(1) = − 5 −ve f is decreasing on interval [0, 2]
x > 2 3 f ′(3) = 3. 4668 +ve f is increasing on interval [2, ∞)
So, from first derivative test, we can conclude that:
Calculus and Analytical Geometry
6 Second derivative test
There is another test for relative extrema that is based on the following geometric observation:
Figure 18: Relative maxima and minima from second derivative test
Theorem 6.1. Second derivative test:
Suppose f (x) is twice differentiable at a the point x 0 , and f ′(x) = 0, then
Example 6.2. Find the relative extrema of the function f (x) = 2x^3 − 15 x^2 + 36x using second derivative test.
Solution:
Step 1: Find first derivative
Differentiating the given function f (x) w.r.t x, we have
d dx
[f (x)] = d dx
2 x^3 − 15 x^2 + 36x
f ′(x) = d dx
2 x^3
− d dx
15 x^2
36 x
f ′(x) = 2 d dx
x^3
− 15 d dx
x^2
x
f ′(x) = 2.(3)x^3 −^1 − 15 .(2)x^2 −^1 + 36(1) f ′(x) = 6x^2 − 30 x + 36
Calculus and Analytical Geometry
Solution: Differentiating the given function f (x) w.r.t x, we have
d dx
[f (x)] = d dx
3 x^5 − 5 x^3
f ′(x) = d dx
3 x^5
− d dx
5 x^3
f ′(x) = 3
d dx
x^5
d dx
x^3
f ′(x) = 3.(5)x^5 −^1 − 5 .(3)x^3 −^1 f ′(x) = 15x^4 − 15 x^2 f ′(x) = 15x^2 (x^2 − 1) f ′(x) = 15x^2 (x − 1)(x + 1)
For critical and stationary points, put f ′(x) = 0, we have
f ′(x) = 0 ⇒ 15 x^2 (x − 1)(x + 1) = 0 ⇒ x^2 (x − 1)(x + 1) = 0
So we have
x^2 = 0 ⇒ x = 0 and x − 1 = 0 ⇒ x = 1 and x + 1 = 0 ⇒ x = − 1
Hence, the critical and stationary points are x = − 1 , 0 , 1.
Now differentiating f ′(x) w.r.t x, we have
d dx
[f ′(x)] = d dx
[15x^2 (x − 1)(x + 1)] d dx [f^
′(x)] = 15 d dx [x
(^2) (x − 1)(x + 1)]
f ′′(x) = 15
x^2 (x − 1) d dx
(x + 1) + x^2 (x + 1) d dx
(x − 1) + (x − 1)(x + 1) d dx
(x^2 )
f ′′(x) = 15
x^2 (x − 1)(1) + x^2 (x + 1)(1) + (x − 1)(x + 1)(2x)
f ′′(x) = 15
x^2 (x − 1) + x^2 (x + 1) + 2x(x^2 − 1)
f ′′(x) = 15
x^3 − x^2 + x^3 + x^2 + 2x^3 − 2 x
f ′′(x) = 15
4 x^3 − 2 x
f ′′(x) = 15.(2x)
2 x^3 − 1
f ′′(x) = 30x(2x^3 − 1)
Calculus and Analytical Geometry
Table 8: Relative maxima and minima using second derivative test
Intervals f ′′(x) = 30x(2x^3 − 1) Sign of f ′′(x) Second derivative test
x = − 1 f ′′(−1) = − 30 +ve f has relative maximum
x = 0 f ′′(0) = 0 −ve inconclusive (test fails)
x = 1 f ′′(1) = 30 +ve f has relative minimum
So, second derivative test is inconclusive at x = 0. We can say that test fails here.
Now we try first derivative test at that point. The sign analysis of the first derivatives is shown in the following tables:
Table 9: Relative maxima and minima using first derivative test
Intervals Test points f ′(x) = 15x^2 (x − 1)(x + 1) Sign of f ′(x)
− 1 < x < 0 − 0. 5 f ′(− 0 .5) = − 2. 8125 −ve
0 < x < 1 0. 5 f ′(0.5) = − 2. 8125 −ve
So, from first derivative test, we can conclude that: