Definition

Let be a twice-differentiable scalar function.

The Hessian matrix of is the matrix of second partial derivatives:

If is twice continuously differentiable, the Hessian is symmetric (by Schwarz’s theorem).

Example

Let

First, compute the gradient:

Then compute second derivatives:

Note that the Hessian is constant (independent of ) and symmetric.

The Hessian’s eigenvalues determine whether has a local minimum, maximum, or saddle point:

  • If is positive definite: local minimum
  • If is negative definite: local maximum
  • If is indefinite: saddle point