Hexa Scholar

Critical points: bowl, peak, or saddle?

A clay hiker stands on a grassy pass between two rounded peaks, above a small lake in a bowl-shaped valley.
Peaks, a pass and a valley bowl: three kinds of flat spot in one landscape.

The question

Both partial derivatives are zero. What can the second derivatives tell you about the surface nearby?

Choose a classification before the page reveals the Hessian eigenvalues.

  1. 1 SeeClassify four stationary points.
  2. 2 TryTest a new surface and build examples.
  3. 3 ProveExplain why curvature controls local shape.
  4. 4 ApplySolve five problems.
Before you start · 3 quick checks on partial derivatives, eigenvalues, and a Taylor coefficient

Two ideas before you start

2 ideas

A critical point has no first-order tilt

The slice s(t) = t² and its tangent at the selected location.

Move the tangent along the slice. For a surface, both coordinate slopes must vanish at a smooth critical point.

Exact definition

Throughout this lesson, a critical point means an interior stationary point of a differentiable function: a point \(p\) where \(\nabla f(p)=(f_x(p),f_y(p))=0\). Some texts also call points where a derivative fails to exist critical; those are outside this lesson.

The partial derivatives lesson explains the tangent plane. At a stationary point it is horizontal. This tells you the first-order change, but does not yet compare the height at nearby points with the height at \(p\).

The Hessian records how slopes change

The slices s(t) = t² and s(t) = 3t² have different second derivatives.

The second derivative measures how quickly the slope changes. A surface needs entries for changes along and across the coordinate directions.

Exact definition

Assume \(f\) has continuous second partial derivatives on an open neighborhood of \(p\), written \(f\in C^2\). Its Hessian at \(p\) is

\[H=\begin{pmatrix}f_{xx}&f_{xy}\\f_{yx}&f_{yy}\end{pmatrix}(p).\]

The mixed partials agree under this assumption, so \(H\) is symmetric. For a unit direction \(v\), the slice \(t\mapsto f(p+tv)\) has second derivative \(v^{\mathsf T}Hv\) at the center. The entries refer to derivatives at one point, not to the whole surface.

Refresher: eigenvectors, quadratic forms, and local comparisons

An eigenvector satisfies \(Hv=\lambda v\) with \(v\ne0\). A real symmetric Hessian has perpendicular unit eigenvectors that form coordinates for the plane. If \(h=u_1v_1+u_2v_2\), then

\[h^{\mathsf T}Hh=\lambda_1u_1^2+\lambda_2u_2^2.\]

This expression is a quadratic form. Multiplying out the matrix gives \(ah_x^2+2bh_xh_y+ch_y^2\) for entries \(a,b,b,c\). The mixed term appears twice. The spectral fact just used is supplied here; no earlier lesson on positive definite matrices is required.

A strict local minimum has a smaller value than every other point in some open disk around it. A strict local maximum has a larger value. At a saddle, every sufficiently small disk contains points of both higher and lower value. These are local statements. They do not compare distant points or check a constraint boundary.

1 See

Classify before opening the calculation

The wire mesh is the exact formula sampled on a square; the cross marks the origin. Perspective changes apparent slopes.

Which conclusion does the second-order test justify here?

2 Try

Look beyond the quadratic terms

The next question asks about the actual function, including terms that the Hessian cannot see.

3 Prove

Why a definite Hessian decides the sign

Second derivative test

Let \(f\in C^2\) on an open neighborhood of an interior point \(p\), and suppose \(\nabla f(p)=0\). Write \(H=\nabla^2f(p)\). If both eigenvalues of \(H\) are positive, \(p\) is a strict local minimum. If both are negative, it is a strict local maximum. If they have opposite signs, it is a saddle. If either is zero, this test gives no conclusion.

Here is the bridge from Taylor polynomials to surfaces. At a stationary point, the second-order expansion is

\[\begin{aligned} f(p+h)-f(p)&=\tfrac12 h^{\mathsf T}Hh+R(h),\\ \frac{R(h)}{\|h\|^2}&\longrightarrow0.\end{aligned}\]

The remainder limit holds as the nonzero vector \(h\) approaches zero from any direction. Continuous second partials give this expansion by applying the one-variable Taylor formula along the segment from \(p\) to \(p+h\). Continuity of the Hessian bounds the remainder uniformly over directions.

Build the minimum case. Assume both eigenvalues are positive, set \(m=\min(\lambda_1,\lambda_2)\), and take a nonzero displacement \(h\). For the final two lines, take \(h\) small enough that \(|R(h)|\le m\|h\|^2/4\). Each option refers to these conditions.

The maximum and saddle cases

For a negative definite Hessian, apply the minimum argument to \(-f\). For opposite signs, choose a unit eigenvector for each sign. Along either eigenvector the leading change is \(\lambda t^2/2\). The remainder divided by \(t^2\) tends to zero, so it cannot reverse either nonzero sign when \(t\) is small enough. Thus arbitrarily close points lie both above and below \(f(p)\).

A local extremum at an interior differentiable point must be stationary: restricting to either coordinate line gives a one-variable interior extremum, whose derivative is zero. This necessary condition is why you solve for stationary points first. It is not itself a classification.

A shortcut using the determinant

For \(H=\begin{pmatrix}a&b\\b&c\end{pmatrix}\), define \(D=ac-b^2\). This determinant is the product of the two real eigenvalues. At a stationary point, \(D\lt0\) gives a saddle. If \(D\gt0\), use \(a\gt0\) for a minimum or \(a\lt0\) for a maximum. If \(D=0\), the test is inconclusive.

When \(D\gt0\), completing the square gives \(h^{\mathsf T}Hh=a(h_x+bh_y/a)^2+(D/a)h_y^2\). Here \(a\) cannot vanish, and both coefficients have its sign. This explains the shortcut without computing eigenvectors.

4 Apply

Find the point, then justify its type

Each problem has hints and a worked solution. Enter one number. The accepted absolute error is shown beside each answer box. A small numerical tolerance checks arithmetic; the mathematical classifications use exact signs.

Key point Solve the gradient equations, evaluate the Hessian at each solution, then classify. When the determinant vanishes, return to the function. For a constrained problem, check the boundary separately; an interior test cannot replace that step.
Level Intro (multivariable calculus)Prerequisites Partial derivatives, eigenvectors, and Taylor polynomials; symmetric quadratic forms refreshed aboveTime About half an hour

Further reading