Second Derivative Test
& Hessian Matrix
Learn to classify critical points of multivariable functions using second-order partial derivatives and the Hessian determinant.
What is a Critical Point?
For a function \( f(x,y) \), a critical point occurs at \( (a,b) \) where both first partial derivatives equal zero:
Three Types of Critical Points
Visualizing Min, Max, & Saddle
The Hessian Matrix
The Hessian matrix collects all second-order partial derivatives of \( f(x,y) \) into one matrix:
The Discriminant \( D \)
The key quantity in the second derivative test is the determinant of the Hessian, often called the discriminant:
The Second Derivative Test
At a critical point \( (a,b) \) where \( f_x = 0 \) and \( f_y = 0 \), compute \( D = f_{xx}f_{yy} - (f_{xy})^2 \). Then:
Why \( D > 0 \) Splits Into Min & Max
When \( D > 0 \), the eigenvalues of the Hessian have the same sign. The sign of \( f_{xx} \) tells us which:
\( D < 0 \) vs. \( D = 0 \): Key Distinction
How to Apply the Test
Example 1: \( f(x,y) = x^2 + y^2 \)
Example 2: \( f(x,y) = x^2 - y^2 \)
Example 3: \( f(x,y) = x^3 - 3xy + y^3 \)
Step 1: Find critical points.
\( f_x = 3x^2 - 3y = 0 \implies y = x^2 \)
\( f_y = -3x + 3y^2 = 0 \implies x = y^2 \)
Substituting: \( x = (x^2)^2 = x^4 \), so \( x^4 - x = 0 \), giving \( x(x^3 - 1) = 0 \).
Critical points: \( (0,0) \) and \( (1,1) \).
Step 2: Second partials.
\( f_{xx} = 6x \), \( f_{yy} = 6y \), \( f_{xy} = -3 \).
Saddle point
Local minimum
Example 3: Contour View
Common Mistakes to Avoid
Classification Summary Table
| Condition | \( f_{xx} \) Sign | Classification |
|---|---|---|
| \( D > 0 \) | \( f_{xx} > 0 \) | Local Minimum |
| \( D > 0 \) | \( f_{xx} < 0 \) | Local Maximum |
| \( D < 0 \) | Any sign | Saddle Point |
| \( D = 0 \) | Any sign | Inconclusive |
Question 1 of 5
For \( f(x,y) = x^2 + 4y^2 \), what is the discriminant \( D \) at the critical point \( (0,0) \)?
Question 2 of 5
At a critical point, you find \( D > 0 \) and \( f_{xx} < 0 \). What type of critical point is it?
Question 3 of 5
For \( g(x,y) = xy \), the only critical point is \( (0,0) \). What is the classification?
Question 4 of 5
If \( f_{xx} = 3 \), \( f_{yy} = 5 \), and \( f_{xy} = 4 \) at a critical point, what is \( D \)?
Question 5 of 5
For \( h(x,y) = -x^2 - y^2 + 4x + 6y \), classify the critical point \( (2,3) \).