01 / 21

Extrema &
Saddle Points

Learn to classify critical points of multivariable functions as local maxima, local minima, or saddle points using the Second Derivative Test.

Calculus 3

What Is a Critical Point?

For a function \( f(x,y) \), a point \( (a,b) \) is a critical point if both first partial derivatives equal zero:

Critical points are the only candidates for local extrema on smooth surfaces. But not every critical point is a max or min: some are saddle points.

Three Types of Critical Points

Local Maximum
The surface curves downward in every direction from the point: a hilltop.
Local Minimum
The surface curves upward in every direction from the point: a valley floor.
Saddle Point
The surface curves up in one direction and down in another: a mountain pass.

Visualizing a Saddle Surface

Consider \( f(x,y) = x^2 - y^2 \). At the origin, \( f_x = 0 \) and \( f_y = 0 \), so \( (0,0) \) is a critical point. Along \( x \) it looks like a minimum; along \( y \) it looks like a maximum.

x f
along \(x\): \(x^2\)
along \(y\): \(-y^2\)
saddle

The Second Partial Derivatives

To classify critical points, we need the four second partial derivatives of \( f(x,y) \):

\( f_{xx} \)
Concavity along the \( x \)-direction
\( f_{yy} \)
Concavity along the \( y \)-direction
\( f_{xy} = f_{yx} \)
Mixed partial: measures cross-directional curvature

The Discriminant \( D \)

The key quantity in the Second Derivative Test is the discriminant (also called the Hessian determinant):

\( D \) tells us whether the surface curves consistently (same direction) or inconsistently (opposite directions) near the critical point.

The Second Derivative Test

Let \( (a,b) \) be a critical point of \( f \), and let \( D = f_{xx}\,f_{yy} - (f_{xy})^2 \) evaluated at \( (a,b) \):

1
If \( D > 0 \) and \( f_{xx} > 0 \): local minimum
2
If \( D > 0 \) and \( f_{xx} < 0 \): local maximum
3
If \( D < 0 \): saddle point
4
If \( D = 0 \): inconclusive (need other methods)

Why Does \( D \) Work?

The discriminant captures the relationship between curvatures in different directions:

\( D > 0 \)
The "pure" curvatures \( f_{xx} \) and \( f_{yy} \) dominate the mixed term. The surface bends consistently: both up or both down.
\( D < 0 \)
The mixed partial \( f_{xy} \) is too large. There exist directions where the surface curves oppositely: a saddle.

Single-Variable vs Multivariable

Calc 1: \( f(x) \) Calc 3: \( f(x,y) \)
Critical Point \( f'(a) = 0 \) \( f_x = 0,\; f_y = 0 \)
Test Uses \( f''(a) \) alone \( f_{xx},\, f_{yy},\, f_{xy} \)
Key Value \( f''(a) \) \( D = f_{xx}f_{yy} - (f_{xy})^2 \)
Saddle Points Not possible Yes, when \( D < 0 \)
Inconclusive \( f'' = 0 \) \( D = 0 \)

Step-by-Step Procedure

1
Find critical points: Solve \( f_x = 0 \) and \( f_y = 0 \) simultaneously.
2
Compute second partials: Find \( f_{xx},\, f_{yy},\, f_{xy} \).
3
Evaluate \( D \): Calculate \( D = f_{xx}\,f_{yy} - (f_{xy})^2 \) at the critical point.
4
Classify: Use the sign of \( D \) (and \( f_{xx} \) when \( D > 0 \)) to determine the type.

Example 1: \( f(x,y) = x^2 + y^2 \)

Step 1: \( f_x = 2x = 0 \) and \( f_y = 2y = 0 \) gives critical point \( (0,0) \).

Step 2: \( f_{xx} = 2 \), \( f_{yy} = 2 \), \( f_{xy} = 0 \).

Step 3: \( D = (2)(2) - (0)^2 = 4 \).

x f local min

Example 2: \( f(x,y) = x^2 - y^2 \)

Step 1: \( f_x = 2x = 0 \) and \( f_y = -2y = 0 \) gives critical point \( (0,0) \).

Step 2: \( f_{xx} = 2 \), \( f_{yy} = -2 \), \( f_{xy} = 0 \).

Step 3: \( D = (2)(-2) - (0)^2 = -4 \).

x,y f saddle
\(x^2\)
\(-y^2\)

Example 3: \( f(x,y) = x^3 + y^3 - 3xy \)

Step 1: Set \( f_x = 3x^2 - 3y = 0 \) and \( f_y = 3y^2 - 3x = 0 \). From the first: \( y = x^2 \). Substituting: \( 3(x^2)^2 - 3x = 0 \) or \( 3x^4 - 3x = 0 \), giving \( x = 0 \) or \( x = 1 \).

Critical points: \( (0,0) \) and \( (1,1) \).

Step 2: \( f_{xx} = 6x \), \( f_{yy} = 6y \), \( f_{xy} = -3 \).

At \( (0,0) \)
\( D = (0)(0) - (-3)^2 = -9 \)
\( D < 0 \): saddle point
At \( (1,1) \)
\( D = (6)(6) - (-3)^2 = 27 \)
\( D > 0, f_{xx} > 0 \): local min

Decision Flowchart

Compute \(D\) at \((a,b)\)
\(D\)?
\(D < 0\)
Saddle Point
\(D = 0\)
Inconclusive
\(D > 0\)
\(f_{xx}\)?
\(f_{xx} > 0\)
Local Minimum
\(f_{xx} < 0\)
Local Maximum

Common Mistakes

✕ Forgetting \( (f_{xy})^2 \)
Students write \( D = f_{xx}\,f_{yy} - f_{xy} \) instead of \( D = f_{xx}\,f_{yy} - (f_{xy})^2 \). The mixed partial must be squared.
✕ Checking \( f_{xx} \) when \( D < 0 \)
If \( D < 0 \), it is a saddle point regardless of \( f_{xx} \). The sign of \( f_{xx} \) only matters when \( D > 0 \).
✕ Missing critical points
Both \( f_x = 0 \) and \( f_y = 0 \) must hold simultaneously. Setting only one to zero finds the wrong points.

Summary Table

Condition \( f_{xx} \) Classification
\( D > 0 \) \( > 0 \) Local Minimum
\( D > 0 \) \( < 0 \) Local Maximum
\( D < 0 \) any Saddle Point
\( D = 0 \) any Inconclusive

Question 1 of 5

For \( f(x,y) = x^2 + 4y^2 \), what type of critical point is \( (0,0) \)?

Question 2 of 5

If \( D = f_{xx}\,f_{yy} - (f_{xy})^2 = -12 \) at a critical point, what can we conclude?

Question 3 of 5

At a critical point, \( f_{xx} = -3 \), \( f_{yy} = -5 \), and \( f_{xy} = 2 \). What is \( D \), and what type of point is it?

Question 4 of 5

For \( g(x,y) = xy \), find the critical point and classify it.

Question 5 of 5

Which formula correctly gives the discriminant \( D \)?