Recommended resources
The freely available resources this lesson will direct you to.
Hello! In the previous lesson, you built a quadratic approximation from the gradient and Hessian. At a stationary point, the gradient vanishes, so the quadratic term becomes the first term that can reveal the function’s local shape. Today you will use that term to distinguish local minima, local maxima, and saddle points.
This matters when a function represents potential energy: a stationary configuration need not sit at the bottom of a potential well. It may instead have directions in which the energy rises and others in which it falls.
What the Hessian must decide
Let be an interior point where a smooth function has zero gradient. For a small displacement , last lesson’s Taylor approximation becomes
The question is not merely whether an individual Hessian entry is positive or negative. It is whether the quadratic form has the same sign for every nonzero displacement.
Watch How the Hessian Finds Minima, Maxima, and Saddle Points? from Practical stats for a visual introduction. In particular, notice why checking curvature along just the coordinate axes can miss a saddle.
How the Hessian Finds Minima, Maxima, and Saddle Points?
This short video connects stationary points, directional curvature, and the two-variable Hessian test.
Watch the explanation from the opening landscape example through the final discussion of eigenvalues. Focus on the determinant test beginning around 03:47, and on why the test first requires a zero gradient.
There are three decisive sign patterns:
- If in every nonzero direction, is positive definite and the stationary point is a strict local minimum.
- If it is negative in every nonzero direction, is negative definite and the point is a strict local maximum.
- If it is positive in some directions and negative in others, is indefinite and the point is a saddle.
“Local” means the comparison holds for all sufficiently nearby points; it says nothing by itself about the entire domain. The higher-order remainder cannot overturn a definite quadratic form sufficiently close to . When the quadratic form takes both signs, moving a small distance in the corresponding directions gives values both above and below .
A stationary point is nondegenerate when its Hessian has no zero eigenvalues—or, equivalently, when its Hessian determinant is nonzero. For such a point, the three sign patterns above give a classification.
A practical test in two variables
For , evaluate the Hessian at a stationary point and write
Its determinant is
The complete two-variable test is:
| Hessian test | Classification at the stationary point |
|---|---|
| and | Strict local minimum |
| and | Strict local maximum |
| Saddle point | |
| Second-derivative test inconclusive |
Why does the mixed derivative enter as ? For a displacement , the quadratic form is
When , cannot be zero. Completing the square gives
Both terms have the sign of , proving the minimum and maximum cases. When , the symmetric Hessian has one positive and one negative eigenvalue, so there are both uphill and downhill directions. Thus alone does not establish a minimum: it checks bending along only one line.
Classifying stationary points step by step
Consider a potential-like function with a coupling between coordinates:
First locate its stationary points; the Hessian test must not be applied before this step.
Setting both derivatives to zero gives and , hence the sole stationary point is . Next compute
Since and , is a strict local minimum. Here the function itself is quadratic, so its Taylor approximation is exact. With and ,
The final expression makes the result visible without a test: every nonzero displacement raises . For this particular quadratic, the minimum is also global; the Hessian test alone ordinarily establishes only a local result.
For a maximum, take . Its gradient vanishes at , and its Hessian is
Here but , so is a strict local maximum.
Finally, consider . The gradient vanishes at the origin, while
The origin is a saddle despite both coordinate-axis second derivatives being positive. Along , ; along , . The downhill direction lies between the coordinate axes.
The following simpler saddle has its opposing directions aligned with those axes.

What nondegeneracy rules out
Read the subsection “Minima, maxima, and saddle points” in MIT OpenCourseWare’s Second Derivatives, Bilinear Maps, and Hessian Matrices. It puts the directional-sign test into general matrix language. Its notation for a second derivative evaluated on two displacements corresponds here to the Hessian quadratic form .
Second Derivatives, Bilinear Maps, and Hessian Matrices
Read the classification discussion from MIT OpenCourseWare to connect the two-variable determinant rule to Hessian eigenvalues in any number of variables.
Find Section 12.4.3, “Minima, maxima, and saddle points,” around pp. 93–94, after the discussion of approximating Hessians. Begin where the author returns to the quadratic approximation and read the classification through the end of the subsection. Focus on the signs of the Hessian eigenvalues; you can skip the preceding material on computational methods.
In any number of variables, a symmetric Hessian has real eigenvalues. All positive means a strict local minimum, all negative a strict local maximum, and a mixture of positive and negative a saddle. The convenient -and- table is specific to two variables: in higher dimensions, a determinant alone does not tell you all the eigenvalue signs.
A zero eigenvalue makes a stationary point degenerate, and the second-order test may leave out the decisive behavior. For example,
have the same Hessian at the origin,
Yet the origin is a minimum of and a saddle of . The fourth-order term, invisible to the Hessian there, decides what happens along the -axis. Thus means inconclusive, not “saddle” or “no extremum.”
Looking ahead
To classify a nondegenerate stationary point, first solve , then evaluate the Hessian there and determine the signs of its quadratic form. In two variables, its determinant and provide a compact test; the mixed derivative is essential because important directions need not align with the axes. The result describes local, unconstrained behavior.
Next, you will study constrained extrema. When motion is restricted to a curve or surface, only displacements that respect that constraint are allowed, so the unconstrained stationary-point test is no longer the whole story.