Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Multivariable Calculus / Partial derivatives

Critical Points & the Hessian

In two dimensions, a flat tangent plane may sit at a hilltop, a valley, or a saddle. Second derivatives help distinguish them.

3 min read · 4 sections · 0 checks

Contents 4 sections
  1. §1Start with the gradient
  2. §2The two-variable second derivative test
  3. §3Classify a shifted bowl
  4. §4Know when the test stops helping

By the end you can

  • Find interior stationary points
  • Use the two-variable second derivative test
  • Handle inconclusive tests and boundaries

Helps to know: Partial Derivatives, The Gradient, Optimization

§1Start with the gradient

At an interior local extremum of a differentiable function, every directional derivative is zero. In particular, fₓ=0 and fᵧ=0. Solve these equations together to find stationary points. A zero gradient is necessary under these assumptions, but it does not by itself establish a maximum or minimum.

For f(x,y)=x²−y², the origin is stationary. Moving along the x axis increases f; moving along the y axis decreases it. This is a saddle, and looking along only one direction would give the wrong impression.

§2The two-variable second derivative test

D=fxxfγγ−(fγ)2D = f_{xx} fᵧᵧ - (f_{x}ᵧ)^{2}
  • D>0 and fₓₓ>0: a strict local minimum.
  • D>0 and fₓₓ<0: a strict local maximum.
  • D<0: a saddle point.
  • D=0: this test is inconclusive.

Evaluate all derivatives at the stationary point and assume the second partial derivatives are continuous nearby. The matrix of second derivatives is the Hessian. Its quadratic form describes the leading curvature near the point.

§3Classify a shifted bowl

Example 1f(x,y)=x²+xy+y²−3x

  1. fx=2x+y−3=0,fγ=x+2y=0f_{x}=2x+y-3=0, fᵧ=x+2y=0

§4Know when the test stops helping

For x⁴+y⁴ at the origin, D=0, yet the origin is clearly a minimum because both terms are nonnegative. For x⁴−y⁴, D is also zero but the origin is a saddle. When the test is inconclusive, examine signs, paths, or higher-order terms.

For absolute extrema on a closed bounded region, examine the boundary as well as interior candidates. A continuous function attains extrema there, but the winning point may lie on an edge or corner. Constraints such as a circle lead naturally to Lagrange multipliers.