Question
Find the local maxima and minima of using both the first and second derivative tests. When should we prefer one test over the other?
(CBSE 12 + JEE Main pattern)
Solution — Step by Step
Critical points: and .
At : → Local maximum
At : → Local minimum
(local max value)
(local min value)
Check sign changes of :
| Interval | Behaviour | |
|---|---|---|
| Increasing | ||
| Decreasing | ||
| Increasing |
At : changes from to → Local maximum ✓
At : changes from to → Local minimum ✓
flowchart TD
A["Find f'(x) = 0 → critical points"] --> B{"Which test to use?"}
B -->|"Second derivative test"| C["Compute f''(x) at critical point"]
C --> D{"f''(c) < 0?"}
D -->|"Yes"| E["Local Maximum"]
D -->|"No, f''(c) > 0"| F["Local Minimum"]
D -->|"f''(c) = 0"| G["Test FAILS — use first derivative test"]
B -->|"First derivative test"| H["Check sign change of f'(x)"]
H --> I{"+ to - change?"}
I -->|"Yes"| E
I -->|"No, - to +"| F
I -->|"No sign change"| J["Neither max nor min (inflection point)"]
Why This Works
The second derivative test uses concavity. If , the curve is concave downward at — like the top of a hill — so it is a local maximum. If , the curve is concave upward — like the bottom of a valley — so it is a local minimum.
The first derivative test uses the sign change of . If goes from positive to negative at , the function was rising and then started falling — is a peak. If goes from negative to positive, it was falling and then started rising — is a valley.
When to prefer which: Use the second derivative test when is easy to compute. Use the first derivative test when (second derivative test fails) or when is messy to calculate.
Alternative Method — Higher Derivative Test
When , we go to higher derivatives. Find the first non-zero derivative at . If the -th derivative is the first non-zero one:
- If is even and → local minimum
- If is even and → local maximum
- If is odd → inflection point (neither max nor min)
For JEE optimization word problems (“find the maximum area,” “minimize the cost”), always check endpoints too, not just critical points. A function on a closed interval attains its absolute maximum and minimum at either a critical point or an endpoint. Students who only check critical points miss the actual answer when it occurs at a boundary.
Common Mistake
When , students conclude “neither max nor min.” That is not always true — simply means the second derivative test is inconclusive. The point COULD still be a max or min; you need to check using the first derivative test or higher-order derivatives. For example, has , but IS a local minimum (confirmed by ).