Question
When finding maxima and minima, how do we choose between the first derivative test and the second derivative test?
Solution — Step by Step
For both tests, start by finding where or is undefined. These are the critical points.
Example:
Look at the sign of on either side of the critical point:
- changes from to at local maximum at
- changes from to at local minimum at
- does NOT change sign neither (inflection point)
For : , . Sign changes to : local maximum. For : , . Sign changes to : local minimum.
Compute and evaluate at the critical point:
- local maximum (concave down)
- local minimum (concave up)
- test fails (use first derivative test instead)
For our example: .
- : local maximum at
- : local minimum at
graph TD
A[Found critical point c where f prime c = 0] --> B{Is f double prime easy to compute?}
B -->|Yes| C[Compute f double prime at c]
C --> D{f double prime at c = 0?}
D -->|No, negative| E[Local maximum]
D -->|No, positive| F[Local minimum]
D -->|Yes, equals 0| G[Second derivative test FAILS]
G --> H[Must use first derivative test]
B -->|No, or f prime has factors| I[Use first derivative test directly]
I --> J[Check sign change of f prime around c]
Rule of thumb: Use the second derivative test when is simple to compute. Use the first derivative test when or when is already factored.
Why This Works
The first derivative test looks at the “direction change” — if the function was going up and starts going down, we have a peak. The second derivative test looks at “curvature” — if the curve is concave down at a flat point, it must be a peak.
Both tests give the same answer, but the second derivative test is faster (one computation vs. checking two intervals). Its weakness is that it fails when , which happens at inflection points.
For JEE Main, the second derivative test is usually faster and sufficient. But for functions like at (where ), you must fall back to the first derivative test. Knowing when to switch is the real skill.
Alternative Method
For optimization word problems (maximise area, minimise cost), after finding the critical point, you often do not need to test at all — if there is only one critical point in the valid domain and the function goes to infinity (or zero) at the boundaries, the critical point must be the desired extremum.
Common Mistake
When , students often conclude “no maximum or minimum.” This is wrong. means the test is inconclusive — the point could still be a max, min, or neither. For example, has and , but IS a local minimum (check using first derivative test: changes from to ). Always switch to the first derivative test when the second fails.