Methods from Local extrema
All methods from Local extrema.
Find stationary points
For a function :
- calculate and ;
- solve
- retain the simultaneous solutions in the domain;
- classify each candidate using local geometry or the Hessian test.
For a complete search for interior extrema, also inspect points where is not differentiable; the stationary equations cannot detect those points.
Classify a stationary point
For each stationary point:
- calculate the Hessian entries at the point;
- compute ;
- use the sign of and then the sign of when ;
- if , inspect higher-order terms or compare the function along carefully chosen curves.