The questions are different
A local minimum compares to nearby values in the domain; an absolute minimum compares it to every value in the domain. Replace by away from for a strict minimum. Maxima are defined by reversing the inequalities. Neither local extremum need be absolute, and an absolute extremum may fail to exist. On a nonempty closed bounded set, continuity guarantees both absolute extrema, but locating them still requires checking all relevant candidates.
Theorem 4.2.1
(First-order necessary condition)
If is differentiable on an open neighbourhood of an interior point and has a local extremum at , then .
Proof
(Restrict to coordinate lines)
For every coordinate direction , the one-variable function has an interior local extremum at . Its derivative there is zero. Hence all entries of vanish.
This is necessary, not sufficient: has zero gradient at the origin but takes both positive and negative values arbitrarily close. If differentiability fails, a local extremum can occur where the gradient does not exist, as for at zero. Boundary points need not satisfy the interior condition.
The second derivative test
Theorem 4.2.2
(Hessian classification)
Let be near a stationary point . If for every nonzero , then is a strict local minimum. If the quadratic form is negative for every nonzero , it is a strict local maximum. If it takes both signs, is a saddle point, hence neither local minimum nor maximum. Semidefinite forms that are not definite, including the zero form, make this test inconclusive. A form taking both signs still yields a saddle even when it also has zero eigenvalues.
Proof
(Why the signs persist)
Taylor's theorem gives . If the Hessian is positive definite, its continuous quadratic form has a positive minimum on the compact unit sphere. Thus the quadratic term is at least , which dominates the little- remainder for small nonzero . The negative case is analogous. For an indefinite form, choose one fixed direction of each sign; the quadratic term dominates along each sufficiently short ray.
Proof X-ray
Where compactness turns a pointwise sign into a uniform bound
Positive definiteness alone says only that each direction gives a positive value; it gives no single margin. The real move is restricting the form to the unit sphere, which is compact, so its minimum is attained and therefore positive. Homogeneity then scales this margin to for every displacement at once, and only a uniform margin can beat a remainder that is merely . In the indefinite case no uniformity is needed: one direction of each sign suffices.
For a symmetric Hessian at a stationary point, set . If and there is a strict minimum; if and a strict maximum; if a saddle. If the test is inconclusive. These are facts about a stationary point, not a license to classify an arbitrary point.
Worked example 4.2.3
(Classifying two stationary points)
Let . The equations and give and . The Hessian is . At it is positive definite, so this point is a strict local minimum with value . At it is indefinite, so this is a saddle with value . Neither statement alone decides global extrema; in fact the function is unbounded above and below as .
Worked example 4.2.4
(An inconclusive Hessian still permits a proof)
At the origin, and both have zero Hessian. Nevertheless away from zero, so it has a strict minimum. The function has positive values along the -axis and negative values along the -axis, so the origin is a saddle. Higher-order terms resolve what the second-order test cannot.
Quick check
(Find and classify the stationary points of . Is the local minimum an absolute minimum?)
Solve by substituting one equation into the other, then use .
Solution · Answer
The equations and give and , so or among real numbers. The stationary points are and . The Hessian is . At , , so the origin is a saddle. At , and , so it is a strict local minimum with value . It is not absolute: as .
Quick check
(For , show that the discriminant test is inconclusive at the origin, and then decide the nature of the origin.)
Compute , then look for a perfect square.
Solution · Answer
The gradient vanishes at the origin, and the Hessian has , so the test is inconclusive. But everywhere, so the origin is a local, indeed absolute, minimum. It is not strict: at every point of the line , which passes through the origin.
Absolute extrema on a region
- Establish existence where possible: continuity on a nonempty compact region guarantees extrema.
- Find interior stationary points and nondifferentiable points in the region.
- Optimize on every boundary piece, including endpoints, corners and singularities. Parametrize the boundary or use the multiplier method when its hypotheses hold.
- Evaluate at every candidate and compare the actual values. A boundary test can be necessary even when an interior point is a strict local extremum.
Worked example 4.2.5
(Interior and boundary compete)
On the closed disk , take . Continuity and compactness guarantee extrema. Interior stationarity requires , giving , which is on the boundary, not in the interior. On the boundary , , so its minimum is at and maximum is at . Both are absolute by the preceding existence and candidate analysis.
Quick check
(Find the absolute extrema of on the closed disk . Why does the first-order condition not locate them?)
Check the interior first, then parametrize the boundary circle.
Solution · Answer
The disk is compact and is continuous, so both extrema exist. The gradient never vanishes, so there is no interior candidate and both extrema lie on the boundary, where the interior necessary condition does not apply. On , . The maximum occurs at , the point , and the minimum at , the point .
Method comparison
Use first derivatives to generate candidates, not to certify their type. Use a definite Hessian to obtain a strict local conclusion efficiently; use signs along curves or higher-order terms when the Hessian is inconclusive. For absolute extrema, local classification is optional but a complete boundary and value comparison is essential. On an open or unbounded domain, examine limiting behavior and possible nonattainment; compactness cannot be assumed.
Straight lines can miss a saddle
Counterexample mode
Every line looks positive, yet the point is a saddle
Consider . At the origin, and . The Hessian there is , so the second-derivative test is inconclusive.
Take any fixed line through the origin, , with . If , then
for all sufficiently small nonzero , because the bracket tends to . If , then and . The size of the neighbourhood can depend on the chosen line; this does not give one common neighbourhood on which is nonnegative.
Indeed, along the curved path ,
Along the values are positive. Both kinds of points approach the origin, so it is a saddle. Testing all straight lines separately cannot certify a local minimum: a curved path can lie between them while approaching the point.
With the roles of and exchanged, the function above is , the case , of the family in the explorer below. Every member has Hessian at the origin; the explorer probes lines and parabolas and compares them with the completed square.
Practice
- Classify every stationary point of .
- Find the absolute extrema of on .
- Determine the nature of the origin for and ; explain why the Hessian test alone does not answer.
- Give a continuous function on a noncompact domain with no absolute maximum and explain why the compactness theorem does not apply.
Full solutions
- The equations , yield . The Hessian has and , so this is a strict local minimum. Completing the square gives , proving it is the unique absolute minimum, value .
- Since and , . The minimum is at and the maximum is at .
- Both Hessians vanish at zero, so the test is inconclusive. For the first function the value is positive off the origin, giving a strict minimum. For the second, gives and gives for nonzero , giving a saddle.
- on is continuous but unbounded above; is not compact. Alternatively, on is bounded but does not attain its supremum.
Synthesis
Stationarity is the bridge from local optimality to equations. The Hessian examines second-order behavior but can be inconclusive. A global problem additionally needs existence and a complete accounting of boundary and exceptional points.