logo

What is a Hessian Matrix? 📂Vector Analysis

What is a Hessian Matrix?

Definition

DRnD \subset \mathbb{R}^{n} is defined as the matrix HRn×nH \in \mathbb{R}^{n \times n} for a multivariate scalar function f:DRf : D \to \mathbb{R} is called the Hessian matrix of ff.

H:=[2fx122fx1xn2fxnx12fmxn2] H := \begin{bmatrix} {{\partial^2 f } \over {\partial x_{1}^2 }} & \cdots & {{\partial^2 f } \over { \partial x_{1} \partial x_{n} }} \\ \vdots & \ddots & \vdots \\ {{\partial^2 f } \over {\partial x_{n} \partial x_{1} }} & \cdots & {{\partial^2 f_{m} } \over {\partial x_{n}^2 }} \end{bmatrix}

Description

For the Hessian of ff, the following notations are used.

H,H(f),Hf,H,2f H,\quad H(f),\quad H_{f},\quad \mathbf{H},\quad \nabla^{2}f

Note that 2\nabla^{2} is often used as a notation for the Laplacian.

If the Jacobian matrix corresponds to the high-dimensional derivative of a function, then the Hessian matrix can be seen as the high-dimensional second derivative. It might not appear as frequently as the Jacobian matrix, but it does appear occasionally in unexpected places like mathematical statistics. Also, note that the Hessian matrix is defined only for scalar functions.