- 1. How fast is it changing? The derivative as a rate
- 2. Related rates: when two things change together
- 3. A sliding ladder, an oil spill and a growing shadow
- 4. When is a function going up? Increasing and decreasing functions
- 5. Sign charts: where does a function rise and fall?
- 6. Hills and valleys: maxima and minima
- 7. The first derivative test: watch the sign of the slope
- 8. The second derivative test: cup or cap?
- 9. The greatest and least value on a closed interval
- 10. Optimisation: the biggest box from a sheet
- 11. Optimisation: the cheapest can, the shortest fence, the nearest point
- Review
8 of 11·NCERT §6.4·5 min
The second derivative test: cup or cap?
The big ideaAt a point where f′(c) = 0, the sign of the second derivative tells you the shape: f″(c) < 0 is a cap (local maximum), f″(c) > 0 is a cup (local minimum), and f″(c) = 0 means the test cannot decide.
In simple words
A bowl that holds water is shaped like a cup. Its lowest point is in the middle. Turn the bowl upside down and it is a cap, with its highest point in the middle. The second derivative tells you whether the curve is bent like a cup or like a cap at the flat spot. Cup means bottom. Cap means top.
The second derivative test
Theorem 4 (second derivative test)
- Let f be defined on an interval I, c in I, and f twice differentiable at c (f″(c) exists).
- If \( f'(c) = 0 \) and \( f''(c) < 0 \), c is a point of local maxima; f(c) is the local maximum value.
- If \( f'(c) = 0 \) and \( f''(c) > 0 \), c is a point of local minima; f(c) is the local minimum value.
- If \( f'(c) = 0 \) and \( f''(c) = 0 \), the test fails: go back to the first derivative test.
Why it works. f″ is the rate of change of the slope f′. If \( f''(c) < 0 \), the slope is decreasing as you pass c. It is 0 at c, so it must be positive just before and negative just after: plus to minus, a hilltop. If \( f''(c) > 0 \), the slope goes from negative to positive: a valley.
Worked example 1
\( f(x) = x^4 - 8x^2 + 3 \). Then \( f'(x) = 4x^3 - 16x = 4x(x - 2)(x + 2) \), zero at 0, 2, −2, and \( f''(x) = 12x^2 - 16 \).
| c | f″(c) | Shape | Verdict | f(c) |
|---|---|---|---|---|
| 0 | −16 < 0 | cap | local maximum | 3 |
| 2 | 32 > 0 | cup | local minimum | −13 |
| −2 | 32 > 0 | cup | local minimum | −13 |
Check one: f(2) = 16 − 32 + 3 = −13.
Worked example 2: a trigonometric function
\( f(x) = x + 2\cos x \) on (0, 2π). Then \( f'(x) = 1 - 2\sin x \), zero when \( \sin x = \frac{1}{2} \): \( x = \frac{\pi}{6} \) or \( \frac{5\pi}{6} \). And \( f''(x) = -2\cos x \).
- At \( \frac{\pi}{6} \): \( f'' = -2 \cdot \frac{\sqrt{3}}{2} = -\sqrt{3} < 0 \). Local maximum, value \( \frac{\pi}{6} + \sqrt{3} \approx 2.26 \).
- At \( \frac{5\pi}{6} \): \( f'' = +\sqrt{3} > 0 \). Local minimum, value \( \frac{5\pi}{6} - \sqrt{3} \approx 0.89 \).
Guess first: if f″(c) = 0, is it a point of inflexion?
Look at three functions, each with f′(0) = 0 and f″(0) = 0: \( x^3 \), \( x^4 \) and \( -x^4 \). Guess: are all three points of inflexion at 0?
Answer, then change the power and the sign and watch the sign tape.
See what happens
Worked example 3: when the test fails
\( f(x) = x^3 - 3x^2 + 3x + 2 \) (from Concept 7). \( f'(x) = 3(x - 1)^2 \) and \( f''(x) = 6(x - 1) \). At x = 1 both are 0, so the second derivative test fails. Back to the first derivative test: f′ > 0 on both sides, so x = 1 is a point of inflexion.
Which test should I use?
| Situation | Better test |
|---|---|
| f″ is easy to find and not zero at c | second derivative test (quick) |
| f″(c) = 0 | first derivative test |
| f not differentiable at c (a corner, like |x|) | first derivative test |
| f″ is long and messy | first derivative test |
Try it. Use the second derivative test on \( f(x) = 2x^3 - 3x^2 - 36x + 10 \).
Answer
- Second derivative
- f″(x), the derivative of f′(x): how fast the slope is changing.
- Twice differentiable at c
- f″(c) exists.
- Second derivative test
- At f′(c) = 0: f″(c) < 0 gives a maximum, f″(c) > 0 a minimum.
- Test fails
- f″(c) = 0: the test cannot decide, so use the first derivative test.
Words to know
f′(4) = 0 and f″(4) = −5. What happens at x = 4?
- A local maximum
- A local minimum
- The test fails
For \( f(x) = x^4 \), f′(0) = 0 and f″(0) = 0. What is x = 0?
- A point of inflexion
- A local minimum
- A local maximum
For \( f(x) = 3 + |x| \), why can't you use the second derivative test at x = 0?
- Because f″ is zero there
- Because f is not differentiable at 0
- Because f is not continuous at 0
Picture and video credits