Hessian matrix

The Hessian matrix of a twice-differentiable function f(x,y) is the matrix of its second-order partial derivatives. It generalizes the second derivative test from single-variable calculus to multiple dimensions. The Hessian, denoted as Hf, is given by:

Hf(x,y)=(fxx(x,y)fxy(x,y)fyx(x,y)fyy(x,y))

where fxx=2fx2, fxy=2fyx, and so on. By Clairaut's theorem, if the second partial derivatives are continuous, then fxy=fyx, making the Hessian a symmetric matrix.

Second Derivative Test Criterion

To classify a critical point (a,b) (where f(a,b)=0), we evaluate the determinant of the Hessian, D, at that point.

D(a,b)=det(Hf(a,b))=fxx(a,b)fyy(a,b)[fxy(a,b)]2

The classification is as follows:

  1. Local Minimum: If D(a,b)>0 and fxx(a,b)>0. The surface is shaped like a bowl opening upwards.
  2. Local Maximum: If D(a,b)>0 and fxx(a,b)<0. The surface is shaped like a dome.
  3. Saddle Point: If D(a,b)<0. The surface curves up in one direction and down in another, like a horse's saddle or a Pringles chip.
  4. Inconclusive: If D(a,b)=0, the test fails, and further analysis is needed.

Relation to the shape operator

The Hessian matrix provides a powerful link between calculus and differential geometry, specifically through its connection to the curvature of the surface z=f(x,y).

At a critical point (a,b), the tangent plane to the surface is horizontal. At this specific point, the Hessian matrix is a representation of the shape operator (or Weingarten map). The shape operator describes how the surface curves away from its tangent plane.

Relation to normal curvature

Moreover, for a direction v in the domain (x,y), vTHv is the normal curvature in disguise.

For the actual normal curvature κn(v) we need to make two corrections, to account for the chosen "bad parametrization" of the surface:

κn(v)=vTHv1+|u|2correction 1vIcorrection 2

Where:

If you:

  1. Reescale time so you're moving at unit speed on the surface (removes correction 2)
  2. Rotates the normal direction properly (removes correction 1)

Then vTHv steps forward and reveals itself as the normal curvature.