Second order derivatives in matrix form (Hessian)
Summary
- f is a real valued function of m variables x=(x1,…,xm)′ , f:Rm→R .
- The second order derivative of f with respect to the vector x , denoted by ∂2f∂x∂x′ is defined as the m×m matrix
∂2f∂x∂x′=[∂2f∂x21…∂2f∂x1∂xm⋮⋱⋮∂2f∂xm∂x1…∂2f∂x2m]
- This matrix is called the Hessian of f .
- Result: If f(x)=a′x then
∂2f∂x∂x′=0
- 0 on the right hand side is the m×m zero matrix.
- Result: If f(x)=x′Ax and A is symmetric then
∂2f∂x∂x′=2A