Second derivative test for a function of two variables
Statement
Suppose is a function of two variables . Suppose is a point in the domain of such that both the first-order partial derivatives at the point are zero, i.e., . Suppose that all the second-order partial derivatives (pure and mixed) for exist and are continuous at and around . Note that by Clairaut's theorem on equality of mixed partials, this implies that .
The second derivative test helps us determine whether has a local maximum at , a local minimum at , or a saddle point at .
First, consider the Hessian determinant of at , which we define as:
Note that this is the determinant of the Hessian matrix:
We now have the following:
| Case | Local maximum, local minimum, saddle point, or none of these? |
|---|---|
| Saddle point | |
| and (note that these together also force ) | Local minimum (reasoning similar to the single-variable second derivative test) |
| and (note that these together also force ) | Local maximum (reasoning similar to the single-variable second derivative test) |
| and one or both of and is positive (note that if one of them is positive, the other one is either positive or zero) | Inconclusive, but we can rule out the possibility of being a local maximum |
| and one or both of and is negative (note that if one of them is negative, the other one is either negative or zero) | Inconclusive, but we can rule out the possibility of being a local minimum |
| All entries of the Hessian matrix are zero, i.e., are all zero | Inconclusive. No possibility can be ruled out. |