Maxima and Minima of Functions of Two Variables

Summary

Local extrema of f(x,y) occur at critical points where f=0 (or where f is not differentiable). The second-derivative (Hessian) test classifies many critical points. On a closed bounded region, also check the boundary.

Prerequisites

Partial Derivatives, Higher-Order Derivatives, Clairaut's Theorem

Procedure

  1. Solve fx=0 , fy=0 for critical points in the open domain.
  2. At each critical point where second partials exist, compute
D=fxxfyy(fxy)2.
  1. Classify:
    • D>0 and fxx>0 : local minimum.
    • D>0 and fxx<0 : local maximum.
    • D<0 : saddle point.
    • D=0 : test inconclusive.
  2. For absolute extrema on a closed bounded region R , also optimize f on R (one-variable calculus or Lagrange constraints).

Conditions / Assumptions

Worked Example

Let f(x,y)=x2+y22x4y+1 .

Critical point: fx=2x2=0 , fy=2y4=0 (1,2) .

Second partials: fxx=2 , fyy=2 , fxy=0 , so D=4>0 and fxx>0 : local minimum. Value f(1,2)=4 .

Common Mistakes

Connections

References

The second-derivative test for functions of two variables is in OpenStax Calculus Volume 3.[1]


  1. OpenStax, Calculus Volume 3, Section 4.7, https://openstax.org/details/books/calculus-volume-3 ↩︎