Course contentsShow
← Mathematics
Lesson 1867 of 3,12140. Multivariable OptimizationFree lesson

Applying the Second Derivative Test

Work through complete examples: find critical points, compute D and f_xx, and classify each point.

Applying the Second Derivative Test

What you'll learn: How to work through complete examples finding critical points, computing the discriminant and second derivatives, and classifying each point as a local maximum, local minimum, or saddle point.

The Process Step-by-Step

Now that you understand the Second Derivative Test in theory, let's apply it systematically to real functions. The procedure follows these steps:

  1. Find critical points by setting both partial derivatives equal to zero: f_x = 0 and f_y = 0
  2. Compute the discriminant D = f_xx · f_yy - (f_xy)²
  3. Evaluate f_xx at each critical point
  4. Classify using the test conditions

Complete Example

Let f(x, y) = x² + y² - 4x + 6y + 5

Step 1: Find critical points

  • f_x = 2x - 4 = 0 → x = 2
  • f_y = 2y + 6 = 0 → y = -3
  • Critical point: (2, -3)

Step 2: Compute second derivatives

  • f_xx = 2
  • f_yy = 2
  • f_xy = 0

Step 3: Calculate discriminant

  • D = (2)(2) - (0)² = 4 > 0

Step 4: Classify

  • Since D > 0 and f_xx = 2 > 0, the point (2, -3) is a local minimum

Think of it like checking the curvature: D tells you whether the surface curves consistently in all directions (like a bowl or dome) or has a saddle shape. Then f_xx tells you whether that bowl opens upward or downward.

Another Quick Example

For f(x, y) = x² - y², the critical point (0, 0) has D = (2)(-2) - 0² = -4 < 0, immediately classifying it as a saddle point without needing to check f_xx.

Key Takeaway: The Second Derivative Test requires computing D and f_xx at each critical point; D > 0 with f_xx > 0 means local min, D > 0 with f_xx < 0 means local max, and D < 0 means saddle point.