Lesson 11 of 18
Second Derivative Test
Critical Points and the Second Derivative Test
For a function , critical points occur where (both partial derivatives are zero).
The Discriminant
At a critical point , classify it using:
Where:
- (mixed partial)
Classification Rules
| Type | ||
|---|---|---|
| Local minimum | ||
| Local maximum | ||
| — | Saddle point | |
| — | Test inconclusive |
Examples
at :
- , ,
- , → local minimum ✓
at :
- , ,
- → saddle point ✓
at :
- , ,
- , → local maximum ✓
Computing Numerically
Your Task
Implement double discriminant_2d(double (*f)(double, double), double x, double y, double h) that computes .
TCC compiler loading...
Loading...
Click "Run" to execute your code.