The matrix of the second partial derivatives of is known as the hessian, and is defined as