Hessian Matrix Calculator
Type a function of x, y (and z), and optionally a point, to find its Hessian.
Use x, y and z. Type powers with ^ and functions with brackets: sin(xy), e^(x + y), ln(x), sqrt(x).
Optional: a point such as (1, 0) to evaluate the Hessian there and classify a critical point.
Result
You entered
At the point
Determinant
Determinant at the point
Show the work
Hessian matrix
The Hessian collects every second partial derivative: row i, column j is f differentiated by the i-th and then the j-th variable. It describes how the surface bends in every direction.
Using
Second partial derivatives
Differentiate each first partial again with respect to each variable. The mixed partials agree (, Clairaut's theorem), so the matrix is symmetric.
Determinant of the Hessian
For two variables this is the D of the second derivative test.
Using
Hessian at the point
Substitute .
Leading principal minors (Sylvester's criterion)
All leading minors positive: positive definite. Alternating −, +, −: negative definite. Otherwise, with a nonzero determinant: indefinite.
What the Hessian says
At a critical point, an indefinite Hessian (directions curving both ways) means a saddle point.
Result
The Hessian at the point.