Processing math: 100%

Second order derivatives in matrix form (Hessian)

Summary

  • f is a real valued function of m variables x=(x1,,xm) , f:RmR .
  • The second order derivative of f with respect to the vector x , denoted by 2fxx is defined as the m×m matrix

2fxx=[2fx212fx1xm2fxmx12fx2m]

  • This matrix is called the Hessian of f .
  • Result: If f(x)=ax then

2fxx=0

  • 0 on the right hand side is the m×m zero matrix.
  • Result: If f(x)=xAx and A is symmetric then

2fxx=2A