Define and, elsewhere,All first and second partial derivatives exist at the origin: and . Thus its Hessian matrix there is the positive-definite matrix . Nevertheless and for , so the origin is a saddle point of a scalar function. A valid second-derivative test needs a second-order Taylor expansion with a remainder ; continuous second partial derivatives in a neighborhood are a sufficient hypothesis. Existence of those derivatives at the point alone does not supply this hypothesis.
Hessian matrix Created 2026-09-24 Updated 2026-10-14
The Hessian matrix describes how the slope of a function changes in different directions. For a real-valued function with continuous second partial derivatives on an open subset of , it isThe symmetry of second derivatives makes a symmetric matrix under these hypotheses. It is also the Jacobian matrix of the gradient: near , a small displacement changes by . Thus the gradient measures the current slope, while the Hessian measures its local variation. [ref]
For example, take the quadratic formIts gradient and Hessian matrix areThe only critical point is the origin. Completing the square gives , so the origin is a strict global minimum. The eigenvalues and are both positive, recovering the same conclusion from the positive definiteness of the Hessian. Its eigenvectors identify the rotated directions in which the quadratic form has its smallest and largest bending.
For a fixed vector , restriction to a straight line gives the directional interpretationThis is the quadratic form associated with the Hessian matrix. For a unit eigenvector , it equals the corresponding eigenvalue. Opposite signs therefore mean that some directions bend upwards and others downwards. The second-derivative test turns this information into a classification when the gradient vanishes.
The same object is useful for computation. Newton's method in optimization chooses a displacement by solving when the Hessian matrix is an invertible matrix; this makes the gradient of the local quadratic model vanish. For the displayed , the equation gives , so one exact step reaches the minimum from any starting point. For a general function, a Hessian with opposite-sign eigenvalues or a large condition number need not give a useful minimizing step, and the local minimum need not be a global minimum.
The name honors Otto Hesse. [ref]
https://web.mit.edu/course/other/wwmath/vectorc/minmax/hessian.html. MIT World Web Math: the Hessian and its namesake
An older geometric use is the Hessian criterion for flexes of a plane cubic, connecting a determinant of second partial derivatives with inflection points of an algebraic curve. Hesse's 1844 paper Über die Wendepuncte der Curven dritter Ordnung is an early source on that geometric problem. [ref]https://www.degruyterbrill.com/document/doi/10.1515/crll.1844.28.97/html. Hesse (1844), Journal für die reine und angewandte Mathematik 28, pp. 97–107: publisher's bibliographic record
Past exam of the mathematics course of the University of Cambridge 2005 ia Paper 3 11A Solution Created 2026-09-24 Updated 2026-10-14
At a critical point of a twice continuously differentiable real function, and the Taylor expansion isThe real symmetric Hessian matrix has an orthonormal eigenbasis, so writing gives . If every eigenvalue is positive, this quadratic form is at least , and the remainder cannot change its sign for sufficiently small nonzero . Thus is a strict local minimum. If every eigenvalue is negative, the analogous argument gives a strict local maximum. If positive and negative eigenvalues both occur, displacement along the corresponding eigenvectors gives values above and below , so is a saddle point of a scalar function.
The second-derivative test can be inconclusive when the Hessian matrix is singular and semidefinite: higher-order terms along directions in the kernel of a linear map matter. For example and have the same Hessian at zero, but the first has a strict minimum and the second a saddle point of a scalar function. A zero eigenvalue does not prevent a saddle conclusion if other eigenvalues already have both signs.
For the given function write . Its first derivatives areThe origin is a critical point for every real , withIts eigenvalues are , so it is always a saddle point of a scalar function. If one coordinate at a critical point is zero, the other must also be zero. If both are nonzero, the derivative equations force , possible only for . Hence for the origin is the only critical point.
For there are four additional critical points,At such a point,Thus the two equal-sign points are strict maxima, and the two opposite-sign points are strict minima. They are global: implieswhere the last maximum occurs at and equality also requires .
As , the four nonzero critical points have distance from the origin and escape to infinity, rather than merging with the origin. Their values diverge as . As from below there are no extra critical points, while the origin stays a saddle throughout. This is critical points escaping to infinity in a Gaussian-weighted bilinear function.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 313 2 b Solution Created 2026-09-28 Updated 2026-10-03
Suppose were positive somewhere. Since it tends to zero at infinity and to at its vortex zero, it would attain a positive interior maximum away from the origin. At such a maximum the second-derivative test gives , whereas the smooth Taubes equation givesThis contradiction with the maximum principle for subharmonic functions provesConsequently the Higgs magnitude of a vortex satisfies everywhere.
At the origin the Hessian matrix isThus the second-derivative test gives a saddle point. Its opposite signs can also be checked without a test formula: for , whereas for . Both types of values occur arbitrarily close to the zero value at the origin, excluding either a local maximum or a local minimum.
The gradient equations factor asFor they give . Otherwise , which gives and the matching . Thus there are exactly four stationary points.
The Hessian matrix isAt it is , and at it is . At and its determinant is . The second-derivative test therefore yieldsThe extrema are local: along the cubic is unbounded both above and below.
The second derivative is , so . By the second-derivative test, the stationary point is a strict local minimum, at . It is not a global minimum, since this cubic is unbounded below toward negative infinity.
The first partial derivatives factor asIf either coordinate vanishes, the other equation forces the other coordinate to vanish as well. If both are nonzero, subtracting the two bracket equations gives , and then . Thus the complete list of stationary points is and the four points .
The Hessian matrix isAt the origin it is , which is a positive-definite matrix. At the four other points its eigenvalues are and , independently of the signs. The second-derivative test therefore givesThere are no local maxima. The minimum at the origin is not global, since as .
Write , , at the stationary point, and let . Under the usual second-order Taylor expansion hypothesis, the second-derivative test givesIndeed the quadratic term is . For , completing its square gives . The two coefficients have the same positive sign, the same negative sign, or opposite signs in the respective cases. A negative also forces the two Hessian eigenvalues to have opposite signs, including the case .
There is a qualification to the printed assumptions: existence of second partial derivatives only at the point does not ensure the needed quadratic approximation. Continuous second partial derivatives in a neighborhood are sufficient. The existence of second partial derivatives does not justify the Hessian test: for example, the function away from the origin, extended by , has Hessian at the origin but and . Thus the classification above uses the standard additional regularity assumption, which the smooth function in part (b) satisfies.
For a stationary point, the two factors from part (a) must vanish. If , the second equation gives ; if , the first gives . Thus the axis points are .
If both coordinates are nonzero, solve and , giving . These four points complete the list of nine stationary points.
For classification, the Hessian matrix isAt its eigenvalues are , and at the four unit-axis points they are . These five points are saddle points of a scalar function, all with value zero.
At and the eigenvalues are one and two, so both are strict local minima of value . At and they are minus one and minus two, so both are strict local maxima of value . This follows from the second-derivative test. These extrema are local: the polynomial is unbounded above and below on the full plane.
The Hessian matrix is diagonal:Its eigenvalues are and . Hence the second-derivative test gives a strict local minimum if , a strict local maximum if , and a saddle point of a scalar function if . No degenerate case occurs because both are nonzero.
The local minimum is the unique global minimum, since both separated summands are strictly convex functions and tend to at either end of the real line. Similarly, when both signs are negative there is a unique global maximum.
The Hessian matrix isAt each nonzero stationary point, its diagonal entries are and the off-diagonal entries are . Its eigenvalues are and , both positive. Thus the Hessian matrix is positive definite, and the second-derivative test proves thatTheir common value is . In fact they are global minima: with , the arithmetic-geometric mean inequality gives , soThe last one-variable polynomial attains its minimum at , and equality in the first bound requires , precisely the four points above.
Along either coordinate axis, the restriction is , which is positive for . Along either diagonal it iswhich is negative for sufficiently small nonzero . Therefore every neighbourhood of the origin contains both positive and negative values, whereas . ConsequentlyThe Hessian matrix vanishes there, so the ordinary second-derivative test is inconclusive; the restrictions settle the question.

