Lably
Skip to content

Hessian matrix

Matrix of second derivatives

  • 8 min read
  • 3 chapters

Related on Lably

Through Mathematics, Square matrix and Function (mathematics)

Definitions and properties

Suppose f:Rn→R is a function taking as input a vector x∈Rn and outputting a scalar f(x)∈R. If all second-order partial derivatives of f exist, then the Hessian matrix H of f is a square n×n matrix, usually defined and arranged as Hf=[∂2f∂x12∂2f∂x1∂x2⋯∂2f∂x1∂xn∂2f∂x2∂x1∂2f∂x22⋯∂2f∂x2∂xn⋮⋮⋱⋮∂2f∂xn∂x1∂2f∂xn∂x2⋯∂2f∂xn2]. That is, the entry of the ith row and the jth column is (Hf)i,j=∂2f∂xi∂xj.

If furthermore the second partial derivatives are all continuous, the Hessian matrix is a symmetric matrix by the symmetry of second derivatives.

The determinant of the Hessian matrix is called the Hessian determinant.

The Hessian matrix of a function f is the transpose of the Jacobian matrix of the gradient of the function f; that is: H(f(x))=J(∇f(x))T.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Calculus and analysis