Euler Hall — free maths guides

The second-derivative test

A plain-language explanation of the second derivative test in two variables. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus III guides.

Two signs decide

At a critical point, compute

D=fxxfyy−fxy2.D = f_{xx}f_{yy} - f_{xy}^2.

Then:

  • -D>0D > 0 andfxx>0f_{xx} > 0: local minimum (curves up both ways);
  • -D>0D > 0 andfxx<0f_{xx} < 0: local maximum (curves down both ways);
  • -D<0D < 0: saddle (curves up one way, down the other);
  • -D=0D = 0: the test says nothing.

A worked case.f=x2+y2f=x^2+y^2:fxx=2f_{xx}=2,fyy=2f_{yy}=2,fxy=0f_{xy}=0, soD=4>0D=4>0 andfxx>0f_{xx}>0 — a minimum. Forf=x2−y2f=x^2-y^2:fxx=2f_{xx}=2,fyy=−2f_{yy}=-2, soD=−4<0D=-4<0 — a saddle.

WhyDD is the right quantity. It measures whether the two directional curvatures agree. If they do (positive product), the point is an extremum; if they disagree, it is a saddle. Thefxy2f_{xy}^2 subtraction is what makes that statement exact when the directions are not the coordinate axes.

Whyfxy2f_{xy}^2 is subtracted

If the surface's principal directions were the axes,fxyf_{xy} would be zero andDD would just be the product of the two curvatures. A twist fxy≠0f_{xy}\ne0) mixes the directions, and the mixture always REDUCES the agreement — which is why the square is subtracted, not added.

That is also whyDD can flip sign when the twist is large: a strong twist turns a would-be extremum into a saddle.

A discriminant

Question, in the shape the practice takes.f=2x2+3y2f=2x^2+3y^2.

Work it through.fxx=4f_{xx}=4,fyy=6f_{yy}=6,fxy=0f_{xy}=0, soD=24>0D=24>0 andfxx>0f_{xx}>0: a minimum.

By the end you can
  • Compute the discriminantDD
  • Classify a critical point fromDD and
  • State the rule including the inconclusive case
Check yourself

f=x2+y2+xyf=x^2+y^2+xy: what isDD at the origin, and what kind of point is it?

Answers

fxx=2f_{xx}=2,fyy=2f_{yy}=2,fxy=1f_{xy}=1, soD=4−1=3>0D=4-1=3>0 withfxx>0f_{xx}>0: a minimum.

Work out where to start — free, no accountAnswer six real questions — free, no account