All courses › Multivariable Calculus › The second derivative test

The second derivative test

At a critical point where ∇f=0⃗\nabla f=\vec 0, the second derivative test decides whether it is a local minimum, maximum or a saddle point, using a discriminant DD built from the second partial derivatives.

D=fxxfyy−fxy2D = f_{xx}f_{yy} - f_{xy}^2the test value
D>0, fxx>0: minimumD>0,\ f_{xx}>0:\ \text{minimum}local minimum
D<0: saddle pointD<0:\ \text{saddle point}saddle point

Symbols

DDdiscriminant for the second derivative test
fxx, fyy, fxyf_{xx},\,f_{yy},\,f_{xy}second partial derivatives

Example

f=3x2+2y2f=3x^2+2y^2 at the origin: fxx=6, fyy=4, fxy=0f_{xx}=6,\,f_{yy}=4,\,f_{xy}=0, D=24>0D=24>0 and fxx>0f_{xx}>0 - local minimum.

D<0D<0 always gives a saddle point, whatever the sign of fxxf_{xx}.
Practise partial derivatives for free →

← Partial derivative and gradient · Lagrange multipliers →

Part of Multivariable Calculus: Partial derivatives.