Source scope: §4.7, PDF pages 29, 30. Numerical examples, experiments, added derivations, and practice are teaching supplements unless identified as source results.
Zero slope is a candidate, not an answer
The origin is stationary for , , , and . Their behavior differs: a minimum, a saddle, a stationary inflection, and a strict maximum. Conditions must distinguish them without reading too much into a zero derivative.
All results below concern unconstrained interior points. Gradients and Hessians are taken in an open neighborhood. A constrained boundary minimum such as at on need not have zero gradient.
First-order necessity
Proposition 13. If is a local minimum and is continuously differentiable near , then .
Source proof. Suppose instead and set . Continuity gives
Thus there is such that for , inside the neighborhood. By Taylor’s mean-value formula, for every sufficiently small there is with
These lower values occur arbitrarily close to , contradicting local minimality. Therefore the gradient vanishes.
This proof explains a descent direction: when , a sufficiently small positive gives . Points with zero gradient are stationary points. They need not be extrema. For the source’s , the origin minimizes the slice and maximizes the slice, so it is neither a local minimum nor a local maximum. It is a saddle point.
Second-order necessity
Proposition 14. If is a local minimum and is twice continuously differentiable near it, then is positive semidefinite.
Source proof. If it were not, there would be a direction with . Continuity gives
Choose so this directional curvature stays negative for within the neighborhood. Proposition 13 gives . For any sufficiently small , second-order Taylor gives a such that
Again this contradicts local minimality. Hence the Hessian is positive semidefinite.
A sufficient neighborhood condition
Proposition 15. Suppose is twice continuously differentiable, is positive semidefinite throughout a neighborhood of , and . Then is a local minimum. If is positive definite, then it is a strict local minimum.
Source proof. Choose an open ball contained in the neighborhood. For , Taylor gives some with
The intermediate point stays in the ball because for , and the case is equality. The Hessian there is positive semidefinite, proving the inequality and local minimality.
If is positive definite, continuity lets us choose a smaller ball where every Hessian is positive definite. The same calculation gives for , proving strict local minimality. Added detail: the smallest eigenvalue at is some ; continuity makes the operator norm of the Hessian change smaller than nearby, so every unit directional curvature remains at least .
Why checking one semidefinite Hessian fails
For , and the one-by-one Hessian is , positive semidefinite. Yet negative inputs give negative values and positive inputs give positive values: zero is no extremum. The source calls this a saddle; in one-variable calculus it is commonly called a stationary inflection point.
For , the gradient and Hessian also vanish at zero, but for all . Zero is a strict local maximum. These are both source counterexamples. Their Hessians, and , fail to remain positive semidefinite in any open neighborhood of zero.
The neighborhood condition in Proposition 15 can be hard to verify computationally. Sometimes one proves the Hessian positive semidefinite for all inputs analytically. Positive definiteness at the point, together with continuity of the Hessian, already ensures a positive definite neighborhood. Strict minima need not have a positive definite Hessian: at zero is an added counterexample to that converse.
Transfer
For , the gradient vanishes at zero and the Hessian there is . Its Hessian is everywhere, so Proposition 15 guarantees a local minimum. Directly, away from zero, proving it is strict even though the Hessian at zero is not positive definite.
Explore the relationship
Test stationary points
Can zero slope and zero curvature distinguish a minimum from a maximum?
Preparing interactive controls…
Check your reasoning
Make a prediction