Hessian matrix

Matrix of second partial derivatives of a scalar function
Hessian matrix

A Hessian matrix of a function f:URf:U\to \mathbb{R} (with URnU\subseteq \mathbb{R}^n) at a point aUa\in U is the n×nn\times n matrix

Hf(a)=(2fxixj(a))1i,jn, Hf(a)=\left(\frac{\partial^2 f}{\partial x_i\,\partial x_j}(a)\right)_{1\le i,j\le n},

provided these second-order partial derivatives exist.

The off-diagonal entries are . Under the hypotheses of the , the Hessian is symmetric. The Hessian is used in for classifying .

Examples:

  • For f(x,y)=x2+xy+y2f(x,y)=x^2+xy+y^2, one has

    Hf(x,y)=(2112). Hf(x,y)=\begin{pmatrix}2&1\\[2pt]1&2\end{pmatrix}.
  • For f(x,y,z)=x2+y2+z2f(x,y,z)=x^2+y^2+z^2, one has Hf(x,y,z)=2I3Hf(x,y,z)=2I_3.