Skip to main content

Thomas’ Calculus · Chapter 14 · Section 14.7

By Muhammad Abdullah Athar · SymPy Verified

Extreme Values and Saddle Points

❦

Read this page the way you would a book: first the notes, then the key ideas, then every worked example in order — each step explains not only what to do, but why it works.

Part One

Section Notes

❧

Section 14.7: Extreme Values and Saddle Points

Optimization of multivariable functions involves identifying critical points and classifying their geometric behavior.


1. The Second Derivative Test

Let (a,b)(a, b) be a critical point (fx=0,fy=0f_x = 0, f_y = 0). Evaluate the discriminant (Hessian determinant): D=fxxfyy−(fxy)2D = f_{xx} f_{yy} - (f_{xy})^2

  1. Local Minimum: D>0D > 0 and fxx>0f_{xx} > 0 (or fyy>0f_{yy} > 0)
  2. Local Maximum: D>0D > 0 and fxx<0f_{xx} < 0 (or fyy<0f_{yy} < 0)
  3. Saddle Point: D<0D < 0
  4. Inconclusive: D=0D = 0

2. Absolute Extrema on Closed Bounded Regions

To find absolute extrema on a closed, bounded set RR:

  1. Find all critical points in the interior of RR and evaluate ff.
  2. Find the extreme values of ff on the boundary of RR.
  3. The largest and smallest values from steps 1 and 2 are the absolute maximum and minimum.

Part Two

Key Ideas to Remember

2 essential statements for this section, each with a plain-words explanation.

Definition #1Sec 14.7

Critical Points and Local Extrema

∇f(x0,y0)=0  ⟺  fx(x0,y0)=0andfy(x0,y0)=0\nabla f(x_0, y_0) = \mathbf{0} \iff f_x(x_0, y_0) = 0 \quad \text{and} \quad f_y(x_0, y_0) = 0

A point (x_0, y_0) in the domain of f is a critical point if either both first partial derivatives vanish or at least one partial derivative fails to exist. Local extrema occur only at critical points or boundary points.

Conditions: Point belongs to interior of domain

In plain words: Horizontal tangent plane z = z_0 occurs at stationary critical points.

Remember — Necessary condition for interior local extrema of differentiable functions.

Test #2Sec 14.7

Second Derivative Test for Functions of Two Variables

D=fxx(a,b)fyy(a,b)−[fxy(a,b)]2D = f_{xx}(a, b) f_{yy}(a, b) - [f_{xy}(a, b)]^2

Let (a, b) be a critical point with continuous second partials. If D > 0 and f_{xx} < 0, f has a local maximum; if D > 0 and f_{xx} > 0, f has a local minimum; if D < 0, f has a saddle point; if D = 0, the test is inconclusive.

Conditions: f_x(a, b) = f_y(a, b) = 0; Second partials are continuous

In plain words: D is the determinant of the Hessian matrix. Positive D guarantees consistent curvature in all directions, while negative D indicates opposite curvatures (saddle).

Remember — Classifies stationary points into local maxima, local minima, and saddle points.

Part Three

Worked Examples

5 exercises, solved in full. Every answer has been checked symbolically with SymPy before printing.

Example 01(Section 14.7, Exercise 1)

Core practice

Problem. Find and classify all critical points of f(x, y) = x^3 + y^3 - 3xy.

Step-by-Step Derivation (4 steps)

1

Find Critical Points by Setting First Partials to Zero

fx=3x2−3y=0  ⟹  y=x2;fy=3y2−3x=0  ⟹  x=y2f_x = 3x^2 - 3y = 0 \implies y = x^2; \quad f_y = 3y^2 - 3x = 0 \implies x = y^2

Substitute y = x^2 into x = y^2 to obtain x = x^4, so x(x^3 - 1) = 0.

Why this works: Locating stationary points.
2

Identify Real Critical Points

x=0  ⟹  y=0  (0,0);x=1  ⟹  y=1  (1,1)x = 0 \implies y = 0 \; (0, 0); \quad x = 1 \implies y = 1 \; (1, 1)

There are two real critical points: (0, 0) and (1, 1).

Why this works: Extracting critical coordinates.
3

Compute Second Partials and Discriminant

fxx=6x,  fyy=6y,  fxy=−3  ⟹  D=(6x)(6y)−(−3)2=36xy−9f_{xx} = 6x, \; f_{yy} = 6y, \; f_{xy} = -3 \implies D = (6x)(6y) - (-3)^2 = 36xy - 9

Formulate discriminant D = f_{xx} f_{yy} - (f_{xy})^2.

Why this works: Setting up Hessian determinant.
4

Classify Each Point

At (0,0):D=−9<0  ⟹  Saddle;At (1,1):D=36−9=27>0,  fxx=6>0  ⟹  Local Min\text{At } (0, 0): D = -9 < 0 \implies \text{Saddle}; \quad \text{At } (1, 1): D = 36 - 9 = 27 > 0, \; f_{xx} = 6 > 0 \implies \text{Local Min}

Apply Second Derivative Test rules.

Why this works: Classifying critical point topologies.

Answer: (0,0) is a saddle point;(1,1) is a local minimum with f(1,1)=−1(0, 0) \text{ is a saddle point}; \quad (1, 1) \text{ is a local minimum with } f(1, 1) = -1

✓ Verified by SymPy CAS

Example 02(Section 14.7, Exercise 2)

Warm-up

Problem. Verify that the critical point of f(x, y) = x^2 - y^2 is a saddle point.

Step-by-Step Derivation (2 steps)

1

Find Critical Point

fx=2x=0  ⟹  x=0;fy=−2y=0  ⟹  y=0f_x = 2x = 0 \implies x = 0; \quad f_y = -2y = 0 \implies y = 0

The unique critical point is (0, 0).

Why this works: Locating critical point.
2

Evaluate Discriminant

fxx=2,fyy=−2,fxy=0  ⟹  D=(2)(−2)−02=−4<0f_{xx} = 2, \quad f_{yy} = -2, \quad f_{xy} = 0 \implies D = (2)(-2) - 0^2 = -4 < 0

Since D is strictly negative, the origin is a saddle point.

Why this works: Applying Second Derivative Test.

Answer: Critical point at (0,0) has D=−4<0  ⟹  Saddle point\text{Critical point at } (0, 0) \text{ has } D = -4 < 0 \implies \text{Saddle point}

✓ Verified by SymPy CAS

Example 03(Section 14.7, Exercise 3)

Warm-up

Problem. Find and classify the critical point of f(x, y) = 10 - x^2 - y^2 + 2x - 4y.

Step-by-Step Derivation (3 steps)

1

Solve First Partials

fx=−2x+2=0  ⟹  x=1;fy=−2y−4=0  ⟹  y=−2f_x = -2x + 2 = 0 \implies x = 1; \quad f_y = -2y - 4 = 0 \implies y = -2

Find the unique stationary point (1, -2).

Why this works: Finding critical coordinates.
2

Evaluate Second Partials and Classify

fxx=−2,  fyy=−2,  fxy=0  ⟹  D=(−2)(−2)−0=4>0,  fxx=−2<0f_{xx} = -2, \; f_{yy} = -2, \; f_{xy} = 0 \implies D = (-2)(-2) - 0 = 4 > 0, \; f_{xx} = -2 < 0

D > 0 and f_{xx} < 0 confirms a local maximum.

Why this works: Confirming concavity.
3

Compute Maximum Value

f(1,−2)=10−1−4+2(1)−4(−2)=10−5+2+8=15f(1, -2) = 10 - 1 - 4 + 2(1) - 4(-2) = 10 - 5 + 2 + 8 = 15

Substitute coordinates into f.

Why this works: Evaluating maximum function value.

Answer: Local maximum at (1,−2) with value 15\text{Local maximum at } (1, -2) \text{ with value } 15

✓ Verified by SymPy CAS

Example 04(Section 14.7, Exercise 4)

Core practice

Problem. Find the absolute maximum of f(x, y) = 2 + 2x + 2y - x^2 - y^2 on the closed triangular region bounded by x = 0, y = 0, and y = 9 - x.

Step-by-Step Derivation (3 steps)

1

Find Interior Critical Points

fx=2−2x=0  ⟹  x=1;fy=2−2y=0  ⟹  y=1f_x = 2 - 2x = 0 \implies x = 1; \quad f_y = 2 - 2y = 0 \implies y = 1

The point (1, 1) lies strictly inside the triangle because 1 + 1 = 2 < 9.

Why this works: Finding interior stationary candidate.
2

Evaluate at Interior Critical Point

f(1,1)=2+2(1)+2(1)−12−12=2+2+2−2=4f(1, 1) = 2 + 2(1) + 2(1) - 1^2 - 1^2 = 2 + 2 + 2 - 2 = 4

Compute function value at interior peak.

Why this works: Evaluating peak candidate.
3

Inspect Boundary Behavior

On x=0:g(y)=2+2y−y2≤3;On y=0:h(x)≤3;On x+y=9:f<0\text{On } x = 0: g(y) = 2 + 2y - y^2 \le 3; \quad \text{On } y = 0: h(x) \le 3; \quad \text{On } x+y=9: f < 0

All boundary values are strictly less than 4.

Why this works: Ruling out boundary for maximum.

Answer: Absolute maximum value is 4 at (1,1)\text{Absolute maximum value is } 4 \text{ at } (1, 1)

✓ Verified by SymPy CAS

Example 05(Section 14.7, Exercise 5)

Core practice

Problem. An open-top rectangular box has fixed volume V = 32000 cm^3. Find the dimensions x, y, z that minimize the total surface area, and compute that minimum area.

Step-by-Step Derivation (3 steps)

1

Formulate Two-Variable Objective Function

V=xyz=32000  ⟹  z=32000xy;S(x,y)=xy+2xz+2yz=xy+64000y+64000xV = xyz = 32000 \implies z = \frac{32000}{xy}; \quad S(x, y) = xy + 2xz + 2yz = xy + \frac{64000}{y} + \frac{64000}{x}

Substitute z from volume constraint into surface area formula.

Why this works: Formulating objective function.
2

Find Critical Dimensions

Sx=y−64000x2=0,  Sy=x−64000y2=0  ⟹  x2y=y2x  ⟹  x=y;x3=64000  ⟹  x=y=40S_x = y - \frac{64000}{x^2} = 0, \; S_y = x - \frac{64000}{y^2} = 0 \implies x^2 y = y^2 x \implies x = y; \quad x^3 = 64000 \implies x = y = 40

Set partial derivatives to zero and solve.

Why this works: Finding optimal base dimensions.
3

Compute Height and Minimum Surface Area

z=3200040×40=20;S=(40)(40)+2(40)(20)+2(40)(20)=1600+1600+1600=4800 cm2z = \frac{32000}{40 \times 40} = 20; \quad S = (40)(40) + 2(40)(20) + 2(40)(20) = 1600 + 1600 + 1600 = 4800 \text{ cm}^2

Substitute optimal dimensions to find minimum area.

Why this works: Evaluating minimum material requirement.

Answer: x=40 cm,  y=40 cm,  z=20 cm;Min Area=4800 cm2x = 40 \text{ cm}, \; y = 40 \text{ cm}, \; z = 20 \text{ cm}; \quad \text{Min Area} = 4800 \text{ cm}^2

✓ Verified by SymPy CAS