The Hessian matrix of a scalar function of several variables f:Rn→R describes the local curvature of that function. By taking the determinant of the Hessian matrix at a critical point we can test whether that point is a local maximum, minimum, or saddle point. The Hessian matrix is defined as:
fx is one way to write the partial derivative of the function f with respect to x. It means the same thing as ∂x∂f.
Interpreting the Hessian determinant in two variables
The determinant of the Hessian matrix of a function f at a critical point p can tell us whether p is a local minimum, maximum, or saddle point. Let the Hessian determinant at a point x1,y1 be H=Det(Hessian(f)∣(x1,y1)):
If H>0 and both fx(x1,y1)>0 and fy(x1,y1)>0, then (x1,y1) is a local minimum.
If H>0 and both fx(x1,y1)<0 and fy(x1,y1)<0, then (x1,y1) is a local maximum.