Second derivative test for a function of two variables

From Calculus
Revision as of 21:02, 7 March 2013 by Vipul (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This article describes an analogue for functions of multiple variables of the following term/fact/notion for functions of one variable: second derivative test

This article describes a test that can be used to determine whether a point in the domain of a function gives a point of local, endpoint, or absolute (global) maximum or minimum of the function, and/or to narrow down the possibilities for points where such maxima or minima occur.
View a complete list of such tests

Statement

Suppose f is a function of two variables x,y. Suppose (x0,y0) is a point in the domain of f such that both the first-order partial derivatives at the point are zero, i.e., fx(x0,y0)=fy(x0,y0)=0.

Suppose that all the second-order partial derivatives (pure and mixed) for f exist and are continuous at and around (x0,y0). Note that by Clairaut's theorem on equality of mixed partials, this implies that fxy(x0,y0)=fyx(x0,y0).

The second derivative test helps us determine whether f has a local maximum at (x0,y0), a local minimum at (x0,y0), or a saddle point at (x0,y0).

First, consider the Hessian determinant of f at (x0,y0), which we define as:

D=fxx(x0,y0)fyy(x0,y0)(fxy(x0,y0))2

Note that this is the determinant of the Hessian matrix:

H(f)(x0,y0)=(fxx(x0,y0)fxy(x0,y0)fyx(x0,y0)fyy(x0,y0))

We now have the following:

Case Local maximum, local minimum, saddle point, or none of these? Interpretation in terms of second derivative test for a function of multiple variables
D<0 Saddle point The Hessian matrix is neither positive semidefinite nor negative semidefinite.
D>0 and fxx(x0,y0)>0 (note that these together also force fyy(x0,y0)>0) Local minimum (reasoning similar to the single-variable second derivative test) The Hessian matrix is positive definite.
D>0 and fxx(x0,y0)<0 (note that these together also force fyy(x0,y0)<0) Local maximum (reasoning similar to the single-variable second derivative test) The Hessian matrix is negative definite.
D=0 and one or both of fxx(x0,y0) and fyy(x0,y0) 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. The Hessian matrix is positive semidefinite but not positive definite.
D=0 and one or both of fxx(x0,y0) and fyy(x0,y0) 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 The Hessian matrix is negative semidefinite but not negative definite.
All entries of the Hessian matrix are zero, i.e., fxx(x0,y0),fyy(x0,y0),fxy(x0,y0) are all zero Inconclusive. No possibility can be ruled out. The Hessian matrix is both positive semidefinite and negative semidefinite. Basically, we can't say anything.
{{#widget:YouTube|id=UIc_z7KoIdI}}

Relation with other tests

Changing the number of variables