Second derivative test is used to find the points of local maximum and local minimum in those cases where the first derivative test fails or otherwise as well. It involves differentiating the function twice and then calculating its value on the critical points. Thus it must be noted that the second derivative test holds true for functions that can be differentiated twice.
Consider a real-valued function f(x) which is defined on a closed or bounded interval [a, b]. Let k be a point in this interval.
In order to conduct the second derivative test on a function f(x), the following steps are followed:
- Differentiate the function f(x) with respect to x to get f'(x).
- Now further differentiate f'(x) with respect to x to get f''(x) i.e. the second derivative of f(x).
- Equate the value of f'(x) to 0 to get the values of x at which f'(x) becomes zero.
- Now calculate the value of f''(x) at points obtained.
On calculating the value of f''(k), we can arrive at the following three conditions:
Case 1: Local Minima
If f'(x) = 0 and k is the required point, then if f''(k) > 0, the point k is said to be the point of local minima.
Case 2: Local Maxima
If f'(x) = 0 and k is the required point, then if f''(k) < 0, the point k is said to be the point of local maxima.
Case 3: Point of Inflection
If f'(k) = 0 and k is the required point, then if f''(x) = 0, the point k is said to be the point of inflection and the function is said to have no point of local maxima and minima.
Learn more about Inflection Point.
Example of Second Derivative Test
Let us understand how to find local maxima and minima using second derivative test using the below example:
Example: Find local maxima or local minima of the function f(x) = x3 - 6x.
Solution:
Given f(x) = x3-6x
In order to calculate the local maxima and local minima, differentiate f(x) w.r.t x
f'(x) = 3x2 - 6
Equate f'(x) to 0
3x2 - 6 = 0
â 3x2 = 6
â x = â2 or -â2
Now calculate f''(x)
f''(x) = 6x
At x = â2, f''(â2) = 6â2 > 0. This means that x = â2 is the point of local minima.
At x = -â2, f''(-â2) = -6â2 < 0. This means that x = -â2 is the point of local maxima.
Multivariable Second Derivative Test
Multivariable second derivative test is used in case when the given function has two variable (say x and y). This method makes use of partial differentiation to find the local maxima and local minima. According to this test:
- Let f be a function with two variables x and y.
- Take partial derivatives of function f with respect to each variable and set them equal to 0. Solve the equations obtained to get the values of x and y.
Let: D (x, y) = \frac{\partial ^ 2f}{\partial x^2} - \frac{\partial ^ 2f}{\partial y^2} - (\frac{\partial ^ 2f}{\partial x \partial y})^2
- If D(x, y) < 0 then f has a saddle point at x and y
- If D(x, y) = 0 then the test fails
- If D(x, y) > 0 then,
- If \frac{\partial ^ 2}{\partial x^2} \left(f(x, y)\right) > 0
, then (x, y) is the point of local minima
- If \frac{\partial ^ 2}{\partial x^2}\left(f(x, y)\right)< 0
, then (x, y) is the point of local maxima
First vs Second Derivative Test
The first derivative test and second derivative test both are used to find local maxima and minima but there is certain difference between the two. The following table lists the key differences between both the tests.
| Test | First Derivative Test | Second Derivative Test |
|---|
| Critical Point | Where f'(x) = 0 or f'(x) is undefined | Where f'(x) = 0 or f'(x) is undefined |
| Local Minima | f'(x) changes from negative to positive | f''(x) > 0 at the critical point |
| Local Maxima | f'(x) changes from positive to negative | f''(x) < 0 at the critical point |
| Neither Minima nor Maxima | f'(x) fails to exit. | f''(x) = 0 (inconclusive) |
Limitations of the Second Derivative Test
Second Derivative Test is a useful method for classifying critical points of a function, but it has certain limitations:
- Indeterminate Results (Zero Second Derivative): If fâēâē(c) = 0 at a critical point c, the test is inconclusive. It does not provide information on whether the critical point is a maximum, minimum, or saddle point. In such cases, other methods are required.
- Requires Continuity: The test assumes that the second derivative fâēâē(x) exists and is continuous around the critical point. If the second derivative is discontinuous or does not exist, the test cannot be applied.
- Only Applies to Local Extrema: The Second Derivative Test is useful only for determining whether a critical point is a local maximum or minimum. It does not help in determining the global behavior of the function or identifying inflection points.
- Limited to Twice-Differentiable Functions: The test is only applicable to functions that are twice differentiable at the critical point. For functions with discontinuities, cusps, or corners, the test cannot be used.
Also, Check
Solved Examples of Second Derivative Test
Example 1: Find the point of local maxima and local minima of the function x3 - 12x using second derivative test.
Solution:
Given f(x) = x3-12x
In order to calculate the local maxima and local minima, differentiate f(x) w.r.t x
f'(x) = 3x2 - 12
Equate f'(x) to 0
3x2 - 12 = 0
â 3x2 = 12
â x = 2 or -2
Now calculate f''(x)
f''(x) = 6x
At x = 2, f''(2) = 12 > 0. This means that x = 2 is the point of local minima.
At x = -2, f''(-2) = -12 < 0. This means that x = -2 is the point of local maxima.
Example 2: Find the point of local maxima and local minima of the function x3 - x2 - 5x using second derivative test.
Solution:
Given f(x) = x3-x2- 5x
In order to calculate the local maxima and local minima, differentiate f(x) w.r.t x
f'(x) = 3x2 - 2x - 5
Equate f'(x) to 0
3x2 - 2x - 5 = 0
â x = \frac{2\pm \sqrt{4-4(3)(-5)}}{2(3)}\\\implies x = \frac{2\pm \sqrt{64}}{6}\\\implies x = \frac{5}{3}~or~-1
Now calculate f''(x)
f''(x) = 6x - 2
At x = 5/3, f''(5/3) = 8 > 0. This means that x = 5/3 is the point of local minima.
At x = -1, f''(-1) = -8 < 0. This means that x = -1 is the point of local maxima.
Example 3: Find the point of local maxima and local minima of the function x4- x2 using second derivative test.
Solution:
Given f(x) = x4-x2
In order to calculate the local maxima and local minima, differentiate f(x) w.r.t x
f'(x) = 4x3 - 2x
Equate f'(x) to 0
4x3 - 2x = 0
â 4x3 = 2x
â 2x2 = 1
x = 1/â2 or -1â2
Now calculate f''(x)
f''(x) = 12x2 - 2
At x = 1/â2, f''(1/â2) = 4 > 0. This means that x = 1/â2 is the point of local minima.
At x = -1/â2, f''(-1/â2) = -8 < 0. This means that x = -1/â2 is the point of local maxima.
Example 4: A bus is moving along the curve 2y = 2x2+10. A man standing at point (3,5) wants to find the nearest distance between him and bus. Calculate the nearest distance.
Solution:
Given 2y = 2x2 + 10
â y = x2 + 10
f(x) = x2 + 5
We need to calculate the nearest distance which means minimum distance. Let the distance be minimum when bus is at a point (x, y)
Distance of point (3, 5) from the point (x, y) = D = â(x-3)2+(y-5)2
D2 = (x-3)2 + (y-5)2
Substituting the value of y = x2 + 5
D2 = (x-3)2 + (x2)2 . . . (1)
D is minimum when D2 is minimum. Thus we will calculate D'
D' = 2(x-3) + 4x3
â D' = 2x - 6 + 4x3
â D' = (xâ1)(4x2+4x+6) = 2(xâ1)(2x2+2x+3)
Equating D' = 0
x - 1 = 0 or 2x2 + 2x + 3 = 0
âx = 1 OR
x = \frac{-2\pm \sqrt{4-4(2)(3)}}{2(2)}
\implies x = \frac{-2\pm \sqrt{-20}}{4}
This is not possible as x does not assume real value
Thus x = 1
Now D'' = 2+12x2
At x =1, D'' = 14 > 0. Thus x = 1 is the point of local minima.
Thus minimum distance is at x = 1 which is calculated by substituting x = 1 in equation (1)
D2 = 4 + 1 = 5
â D = â5
Thus the minimum distance is â5
Example 5: Calculate the maximum height of a cricket ball if its height is given by the function h(x) = 2x3-12x2+1 using second derivative test.
Solution:
Given h(x) = 2x3- 12x2+1
We need to calculate the maximum height.
In order to calculate the maximum height, differentiate h(x) w.r.t x
h'(x) = 6x2- 24x
Equate h'(x) to 0
6x2- 24x = 0
â 6x(x-4) = 0
â x = 0 or 4
Now calculate f''(x)
h''(x) = 12x - 24
At x = 0, h''(0) = -24 < 0. This means that x = 1/â2 is the point of local maxima.
At x = 4, h''(4) = 24 > 0. This means that x = -1/â2 is the point of local minima.
Thus the height is maximum at a x = 0.
Maximum height = h(0) = 2(0)3-12(0) + 1 = 1 unit
Example 6: Find the point of local maxima and local minima of the function x4 - 12x3 using second derivative test.
Solution:
Given f(x) = x4 - 12x3
In order to calculate the local maxima and local minima, differentiate f(x) w.r.t x
f'(x) = 4x3 - 36x2
Equate f'(x) to 0
4x3 - 36x2 = 0
â 4x2(x-9) = 0
â x = 0 or 9
Now calculate f''(x)
f''(x) = 12x2 - 72x
At x = 0, f''(0) = 0 > 0. This means that x = 0 is the point of inflection.
At x = 9, f''(9) = 12(9)2-72(9) = 324 > 0. This means that x = 9 is the point of local minima.
Example 7: Find the point of local maxima or local minima of the function x2 - 1 using second derivative test.
Solution:
Given f(x) = x2 - 1
In order to calculate the local maxima and local minima, differentiate f(x) w.r.t x
f'(x) = 2x
Equate f'(x) to 0
2x = 0
â x = 0
Now calculate f''(x)
f''(x) = 2
At x = 0, f''(0) = 2 > 0. This means that x = 0 is the point of local minima.
Example 8: Find the point of local maxima and local minima of the function 2x2 - 3x using second derivative test.
Solution:
Given f(x) = 2x2 - 3x
In order to calculate the local maxima and local minima, differentiate f(x) w.r.t x
f'(x) = 4x - 3
Equate f'(x) to 0
4x - 3 = 0
â x = 3/4
Now calculate f''(x)
f''(x) = 4
At x = 3/4, f''(3/4) = 4 > 0. This means that x = 3/4 is the point of local minima.
Example 9 : Find and classify the critical points of f(x) = x^3 - 12x using the Second Derivative Test.
Solution :
First derivative: f'(x) = 3x^2 - 12
Critical points: Set f'(x) = 0
â 3x2 - 12 = 0
â x2 = 4
â x = Âą2
Second derivative: f''(x) = 6x
Evaluate f''(x) at critical points:
f''(2) = 12 > 0, so x = 2 is a local minimum
f''(-2) = -12 < 0, so x = -2 is a local maximum
Example 10 : Use the Second Derivative Test to determine the nature of the critical point of f(x) = x^2 e^(-x).
Solution :
First derivative: f'(x) = 2xe^(-x) - x^2e^(-x) = xe^(-x)(2 - x)
Critical points: x = 0 or x = 2
Second derivative: f''(x) = e^(-x)(2 - x) - xe^(-x)(2 - x) - xe^(-x) = e^(-x)(2 - 4x + x^2)
Evaluate f''(x) at critical points:
f''(0) = 2 > 0, so x = 0 is a local minimum
f''(2) = -2e^(-2) < 0, so x = 2 is a local maximum
Practice Problems on Second Derivative Test
1. Use the Second Derivative Test to find and classify the critical points of f(x) = x3 - 3x2 - 9x + 5.
2. Determine the nature of the critical points for the function f(x) = x4 - 8x2 + 16.
3. Apply the Second Derivative Test to classify the critical points of f(x) = x1/3 (x - 3)2
4. Find and classify the critical points of f(x) = xe-x2 using the Second Derivative Test.
5. Use the Second Derivative Test to analyze the critical points of f(x) = ln(x2 + 1) + 2x.
6. Determine the nature of the critical points for the function f(x) = x3 - 6x2 + 12x - 8.
7. Apply the Second Derivative Test to the function f(x) = x2 / (x2 + 1) and classify its critical points.
8. Find and classify the critical points of f(x) = x5 - 5x4 + 5x using the Second Derivative Test.
9. Use the Second Derivative Test to analyze the critical points of f(x) = sin(x) + cos(x) on the interval [0, 2Ï].
10. Determine the nature of the critical points for the function f(x) = x2/3 - 2x1/3.
Explore
Maths
4 min read
Basic Arithmetic
Algebra
Geometry
Trigonometry & Vector Algebra
Calculus
Probability and Statistics
Practice