Okay, let's break down the Second Derivative Test for a two-variable function f(x,y). This test helps us classify critical points as local maxima, local minima, or saddle points.
What are Critical Points?
Critical points are points (a,b) in the domain of f where the function might have a local maximum, local minimum, or saddle point. These occur where the tangent plane to the surface z = f(x,y) is horizontal, or where the gradient is undefined.
Steps to Find and Classify Critical Points using the Second Derivative Test:
Step 1: Find the Critical Points
-
Calculate the first-order partial derivatives:
f_x(x,y) = ∂f/∂x (derivative of f with respect to x, treating y as a constant)
f_y(x,y) = ∂f/∂y (derivative of f with respect to y, treating x as a constant)
-
Set the partial derivatives equal to zero and solve the system of equations:
f_x(x,y) = 0
f_y(x,y) = 0
The solutions (x,y) to this system are your critical points.
- (Also, technically, critical points exist where
f_x or f_y are undefined. However, for most polynomial/rational/exponential/logarithmic/trigonometric functions you encounter, you'll focus on where the derivatives are zero.)
Step 2: Calculate the Second-Order Partial Derivatives
You'll need these to apply the Second Derivative Test:
f_xx(x,y) = ∂²f/∂x² (differentiate f_x with respect to x)
f_yy(x,y) = ∂²f/∂y² (differentiate f_y with respect to y)
f_xy(x,y) = ∂²f/∂y∂x (differentiate f_x with respect to y)
- Note: By Clairaut's Theorem, if
f_xy and f_yx (differentiating f_y with respect to x) are continuous, then f_xy = f_yx. We usually assume this continuity.
Step 3: Calculate the Discriminant (or Hessian Determinant)
The discriminant, often denoted as D, is defined as:
D(x,y) = f_xx(x,y) * f_yy(x,y) - [f_xy(x,y)]²
Step 4: Apply the Second Derivative Test to Classify Each Critical Point
For each critical point (a,b) found in Step 1:
-
Evaluate D(a,b) and f_xx(a,b) at that specific point.
-
Use the following conditions to classify the critical point (a,b):
-
If D(a,b) > 0 AND f_xx(a,b) > 0:
Then f has a local minimum at (a,b).
(Think: D > 0 means it's either a "bowl" up or a "cap" down. f_xx > 0 means it's concave up in the x-direction, so it's a bowl up.)
-
If D(a,b) > 0 AND f_xx(a,b) < 0:
Then f has a local maximum at (a,b).
(Think: D > 0 means it's either a "bowl" up or a "cap" down. f_xx < 0 means it's concave down in the x-direction, so it's a cap down.)
-
If D(a,b) < 0:
Then f has a saddle point at (a,b).
(The surface curves up in one direction and down in another, like a horse's saddle.)
-
If D(a,b) = 0:
The test is inconclusive. The point (a,b) could be a local maximum, local minimum, saddle point, or none of these. You would need to use other methods to classify it (e.g., examining the function's behavior in the neighborhood of the point, or looking at level curves).
Summary Table for Classification at a Critical Point (a,b):
D(a,b) | f_xx(a,b) | Classification of (a,b) |
|---|
> 0 | > 0 | Local Minimum |
> 0 | < 0 | Local Maximum |
< 0 | (Any sign) | Saddle Point |
= 0 | (Any sign) | Test Inconclusive |
Important Considerations:
- Continuity: The Second Derivative Test relies on the second partial derivatives being continuous in a neighborhood of the critical point.
- Local vs. Global: This test only identifies local extrema. To find global extrema on a closed and bounded domain, you would also need to check the function's values on the boundary of the domain and compare them with the values at the local extrema found by this test.
- Why
f_xx? If D > 0, then f_xx and f_yy must have the same sign. So, checking f_xx is sufficient. You could equivalently check f_yy.
This comprehensive set of steps allows you to systematically find and classify the interesting points where a multivariable function's behavior changes.