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 13.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 13.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 or zero forms make this test inconclusive.
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.
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 13.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 13.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.
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 13.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.
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.
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.
Counterexample mode
A minimum along every line through a point can still be a saddle
When the Hessian is only semidefinite, it is tempting to test straight lines through the stationary point and conclude a minimum if every line shows one. Let
The origin is stationary and , so the Hessian test is inconclusive. Along with , , whose leading term is positive; along , ; along , . So every line through the origin has a strict local minimum there. Yet on the parabola , which lies between the two parabolas where vanishes,
while . The origin is a saddle. The repair is the one used in the worked example “An inconclusive Hessian still permits a proof”: examine the function itself, or curves adapted to its higher-order terms, not only lines.
Concept lensAlgebraic
The D-test is completing the square in the Hessian form
Write the Hessian at a stationary point as with , , , so the quadratic term of Taylor's theorem is a multiple of . If , completing the square gives
The two coefficients are and , and their product is . When they have the same sign as , and vanishes only if and then ; so is positive definite for and negative definite for . When the coefficients have opposite signs: , gives the sign of , while , gives the sign of , so is indefinite. If and , then and changes sign as varies with . This is the whole content of the test, and the case is inconclusive because one square then disappears.
For Practice problem 1 the Hessian gives , with coefficients and ; half of this is the quadratic part of the completed square in its full solution.
Quick check
(Find and classify every stationary point of .)
Solve the two gradient equations by substituting one into the other, then use the discriminant .
Solution · Answer
The equations and give and , so or . The stationary points are and . The Hessian is . At , , a saddle. At , and , a strict local minimum with value .
Quick check
(Find the absolute extrema of on the closed disk .)
Follow the four steps for absolute extrema: existence, interior candidates, boundary, comparison.
Solution · Answer
The disk is compact and is continuous, so both extrema exist. In the interior, gives , with . On the boundary , with , so the boundary values range from at to at . Comparing all candidates, the absolute minimum is at and the absolute maximum is at .
Quick check
(Classify the origin for , and exhibit one direction of each sign.)
Compute , then evaluate on two simple displacements.
Solution · Answer
The origin is stationary and , so and the origin is a saddle. Directly, and for , so the function takes both signs arbitrarily close to the origin.