Skip to main content

Thomas’ Calculus · Chapter 04 · Section 4.6

By Muhammad Abdullah Athar · SymPy Verified

Applied Optimization

❦

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 4.6: Applied Optimization

Applied optimization is the art of finding the best possible solution (maximum volume, minimum cost, least time) subject to practical constraints.


1. Six-Step Optimization Strategy

  1. Understand the Goal: Identify what is to be maximized or minimized.
  2. Assign Variables: Assign letters to all unknown quantities.
  3. Primary Equation: Write a formula for the quantity QQ to be optimized.
  4. Constraint Equation: Use constraints to eliminate all but one variable.
  5. Feasible Domain: Determine the physical limits on the independent variable.
  6. Find Extrema: Locate critical points and test using Closed Interval Method or First/Second Derivative Tests.

Part Two

Key Ideas to Remember

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

Rule #1Sec 4.6

Applied Optimization Protocol

max⁡/min⁡Q(x)subject to g(x)=0 on feasible domain [a,b]\max / \min Q(x) \quad \text{subject to } g(x) = 0 \text{ on feasible domain } [a, b]

To solve an applied optimization problem: (1) Identify primary objective quantity to be maximized or minimized, (2) Sketch diagram and label variables, (3) Write primary equation, (4) Use constraint equations to eliminate extra variables, (5) Determine feasible domain, (6) Apply calculus extrema tests.

Conditions: Feasible domain derived from physical/geometric constraints (e.g. lengths >= 0)

In plain words: Bridges practical real-world problems with mathematical extreme value theorems.

Remember — Express objective function in a single variable over its physical domain.

Part Three

Worked Examples

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

Example 01(Section 4.6, Exercise 1)

Warm-up

Problem. Square corners of side length x are cut from a 12-inch by 12-inch tin sheet, and the flaps are folded up to form an open box. Find the value of x that maximizes the volume.

Step-by-Step Derivation (3 steps)

1

Formulate Volume Function and Feasible Domain

V(x)=x(12−2x)2,Feasible Domain: [0,6]V(x) = x(12 - 2x)^2, \quad \text{Feasible Domain: } [0, 6]

Base is (12 - 2x) by (12 - 2x) and height is x.

Why this works: Geometric formulation.
2

Expand and Differentiate

V(x)=x(144−48x+4x2)=4x3−48x2+144x  ⟹  V′(x)=12x2−96x+144=12(x2−8x+12)=12(x−2)(x−6)V(x) = x(144 - 48x + 4x^2) = 4x^3 - 48x^2 + 144x \implies V'(x) = 12x^2 - 96x + 144 = 12(x^2 - 8x + 12) = 12(x - 2)(x - 6)

Differentiate to find critical points.

Why this works: Critical point search.
3

Evaluate at Critical Points and Endpoints

V(0)=0,V(6)=0,V(2)=2(12−4)2=2(64)=128 in3V(0) = 0, \quad V(6) = 0, \quad V(2) = 2(12 - 4)^2 = 2(64) = 128 \text{ in}^3

x = 2 gives the absolute maximum volume of 128 cubic inches.

Why this works: Closed Interval Method.

Answer: x=2 inches;Vmax⁡=128 in3x = 2 \text{ inches}; \quad V_{\max} = 128 \text{ in}^3

✓ Verified by SymPy CAS

Example 02(Section 4.6, Exercise 2)

Warm-up

Problem. A farmer encloses a rectangular field along a straight river using 1200 meters of fencing (no fence needed along the river). Find the dimensions that maximize the enclosed area.

Step-by-Step Derivation (3 steps)

1

Set up Constraint and Objective Equations

2x+y=1200  ⟹  y=1200−2x;A(x)=xy=x(1200−2x)=1200x−2x22x + y = 1200 \implies y = 1200 - 2x; \quad A(x) = xy = x(1200 - 2x) = 1200x - 2x^2

Two sides of length x perpendicular to river, one side y parallel.

Why this works: Constraint equation elimination.
2

Differentiate and Solve for Critical Point

A′(x)=1200−4x=0  ⟹  4x=1200  ⟹  x=300 mA'(x) = 1200 - 4x = 0 \implies 4x = 1200 \implies x = 300 \text{ m}

Set derivative of area to zero.

Why this works: Critical point.
3

Verify Maximum and State Dimensions

A′′(x)=−4<0  ⟹  Concave Down (Absolute Max);y=1200−2(300)=600 mA''(x) = -4 < 0 \implies \text{Concave Down (Absolute Max)}; \quad y = 1200 - 2(300) = 600 \text{ m}

Area is 300 * 600 = 180,000 square meters.

Why this works: Second derivative test.

Answer: Dimensions: 300 m (perpendicular)×600 m (parallel);Amax⁡=180,000 m2\text{Dimensions: } 300 \text{ m (perpendicular)} \times 600 \text{ m (parallel)}; \quad A_{\max} = 180{,}000 \text{ m}^2

✓ Verified by SymPy CAS

Example 03(Section 4.6, Exercise 3)

Core practice

Problem. A cylindrical can must hold 1000 cm^3 of liquid. Find the radius r and height h that minimize the total surface area.

Step-by-Step Derivation (3 steps)

1

Relate Volume and Surface Area

V=πr2h=1000  ⟹  h=1000πr2;A=2πr2+2πrh=2πr2+2πr(1000πr2)=2πr2+2000rV = \pi r^2 h = 1000 \implies h = \frac{1000}{\pi r^2}; \quad A = 2\pi r^2 + 2\pi rh = 2\pi r^2 + 2\pi r\left(\frac{1000}{\pi r^2}\right) = 2\pi r^2 + \frac{2000}{r}

Substitute h into total surface area (two circular ends plus lateral jacket).

Why this works: Elimination of variable h.
2

Differentiate with Respect to r

A′(r)=4πr−2000r2=0  ⟹  4πr3=2000  ⟹  r3=500π  ⟹  r=500π3A'(r) = 4\pi r - \frac{2000}{r^2} = 0 \implies 4\pi r^3 = 2000 \implies r^3 = \frac{500}{\pi} \implies r = \sqrt[3]{\frac{500}{\pi}}

Set A'(r) = 0 and solve for r.

Why this works: Critical point.
3

Solve for Height h

h=1000πr2=2(500)πr2=2(πr3)πr2=2rh = \frac{1000}{\pi r^2} = \frac{2(500)}{\pi r^2} = \frac{2(\pi r^3)}{\pi r^2} = 2r

Notice the optimal cylindrical can always has height equal to its diameter (h = 2r).

Why this works: Universal geometric optimality condition for cylinders.

Answer: r=500π3≈5.42 cm;h=2r=2500π3≈10.84 cmr = \sqrt[3]{\frac{500}{\pi}} \approx 5.42 \text{ cm}; \quad h = 2r = 2\sqrt[3]{\frac{500}{\pi}} \approx 10.84 \text{ cm}

✓ Verified by SymPy CAS

Example 04(Section 4.6, Exercise 4)

Core practice

Problem. Find the point on the parabola y = x^2 closest to the point (0, 2).

Step-by-Step Derivation (3 steps)

1

Minimize Squared Distance Function

D2=(x−0)2+(y−2)2=x2+(x2−2)2=x2+x4−4x2+4=x4−3x2+4D^2 = (x - 0)^2 + (y - 2)^2 = x^2 + (x^2 - 2)^2 = x^2 + x^4 - 4x^2 + 4 = x^4 - 3x^2 + 4

Minimizing the square of distance D^2 avoids square roots while yielding identical extrema.

Why this works: Squared distance optimization trick.
2

Differentiate with Respect to x

f′(x)=4x3−6x=2x(2x2−3)=0  ⟹  x=0,  x=±32f'(x) = 4x^3 - 6x = 2x(2x^2 - 3) = 0 \implies x = 0, \; x = \pm \sqrt{\frac{3}{2}}

Critical points are x = 0 and x = +-sqrt(3/2).

Why this works: Stationary points.
3

Test and Classify Points

x=0  ⟹  D2=4;x=±3/2  ⟹  D2=9/4−9/2+4=7/4=1.75<4x = 0 \implies D^2 = 4; \quad x = \pm \sqrt{3/2} \implies D^2 = 9/4 - 9/2 + 4 = 7/4 = 1.75 < 4

x = +-sqrt(3/2) gives the global minimum distance. y = (sqrt(3/2))^2 = 3/2.

Why this works: Global minimum verification.

Answer: (−32,32)and(32,32)\left(-\sqrt{\frac{3}{2}}, \frac{3}{2}\right) \quad \text{and} \quad \left(\sqrt{\frac{3}{2}}, \frac{3}{2}\right)

✓ Verified by SymPy CAS

Example 05(Section 4.6, Exercise 5)

Challenge

Problem. A light ray travels from point A(0, a) in medium 1 (speed v1) to point B(d, -b) in medium 2 (speed v2), crossing the interface at (x, 0). Show that minimizing travel time yields Snell's Law: sin(theta1)/v1 = sin(theta2)/v2.

Step-by-Step Derivation (3 steps)

1

Express Total Travel Time T(x)

T(x)=x2+a2v1+(d−x)2+b2v2T(x) = \frac{\sqrt{x^2 + a^2}}{v_1} + \frac{\sqrt{(d - x)^2 + b^2}}{v_2}

Travel time equals distance divided by speed for each medium.

Why this works: Physics travel time formula.
2

Differentiate with Respect to Crossing Coordinate x

T′(x)=xv1x2+a2−d−xv2(d−x)2+b2=0T'(x) = \frac{x}{v_1 \sqrt{x^2 + a^2}} - \frac{d - x}{v_2 \sqrt{(d - x)^2 + b^2}} = 0

Apply chain rule to both radical terms.

Why this works: Condition for minimum time.
3

Identify Trigonometric Sines of Angles

sin⁡θ1=xx2+a2,sin⁡θ2=d−x(d−x)2+b2  ⟹  sin⁡θ1v1=sin⁡θ2v2\sin \theta_1 = \frac{x}{\sqrt{x^2 + a^2}}, \quad \sin \theta_2 = \frac{d - x}{\sqrt{(d - x)^2 + b^2}} \implies \frac{\sin \theta_1}{v_1} = \frac{\sin \theta_2}{v_2}

Substitute geometric sines of angles with the surface normal.

Why this works: Snell's Law of Refraction.

Answer: sin⁡θ1v1=sin⁡θ2v2\frac{\sin \theta_1}{v_1} = \frac{\sin \theta_2}{v_2}

✓ Verified by SymPy CAS