Unit 5 · Topic 5.11 Beta

Solving Optimization Problems

Solve an optimization problem in a fixed order: draw and label, write the objective function, use the constraint to reduce it to one variable, find the domain, find the critical points, justify the absolute extremum with candidates or one-critical-point reasoning, and answer in context with units.

Practice 1: Implementing Mathematical ProcessesPractice 3: Justification

Question set for this topic

Part 1 · Hook

Why this matters

Packaging engineers squeeze the most volume out of a sheet of cardboard; utility planners route cable to spend the least money. Both run the same five-step routine: draw it, name the quantity, use the constraint, differentiate, and prove the answer is the best one.

Part 2 · Before you start

What this builds on

Part 3 · Prerequisite check

Quick check before you start

1. The objective function in an optimization problem is

  1. the quantity to maximize or minimize, in one variable
  2. the derivative set equal to zero
  3. the domain of the problem
  4. the second derivative
Show the answer

You optimize that function.

  • Correct: the quantity to maximize or minimize, in one variable:
  • the derivative set equal to zero:
  • the domain of the problem:
  • the second derivative:

2. ddxx2+4=\frac{d}{dx}\sqrt{x^2 + 4} =

  1. xx2+4\frac{x}{\sqrt{x^2 + 4}}
  2. 12x2+4\frac{1}{2\sqrt{x^2 + 4}}
  3. 2xx2+42x\sqrt{x^2 + 4}
  4. 2xx2+4\frac{2x}{\sqrt{x^2 + 4}}
Show the answer

Chain rule: 12x2+4⋅2x\frac{1}{2\sqrt{x^2 + 4}} \cdot 2x.

  • Correct: xx2+4\frac{x}{\sqrt{x^2 + 4}}:
  • 12x2+4\frac{1}{2\sqrt{x^2 + 4}}:
  • 2xx2+42x\sqrt{x^2 + 4}:
  • 2xx2+4\frac{2x}{\sqrt{x^2 + 4}}:

Part 4 · See it

See it first

Left: a 12-inch square sheet with a square of side x at each corner and dashed fold lines; folding gives an open box of height x and base 12 - 2x by 12 - 2x. Right: the graph of V(x) = x(12 - 2x) squared for 0 ≤ x ≤ 6, zero at both ends, highest at (2, 128).
Cutting squares of side xx from a 12-inch square sheet: V(x)=x(12−2x)2V(x) = x(12 - 2x)^2 on [0,6][0, 6], largest at x=2x = 2, 128 cubic inches. LevlPrep original diagram.

Part 5 · Step by step

How it works, step by step

  1. Draw the situation and label the variablesyou can see which quantities are fixed and which change
  2. Write the objective function and the constraintthe constraint lets you eliminate a variable: the objective becomes a function of one variable
  3. Find the domain from the physical limitsyou know the endpoints and which critical points count
  4. Differentiate, solve, and compare candidates (or use one-critical-point reasoning)the absolute extremum, justified, stated in context with units

Part 6 · Key ideas

Key ideas

  • Constraint: a fixed condition (a perimeter, a volume, a budget) that links the variables. Use it to write the objective in one variable.
  • Steps: draw, label, objective, constraint, one variable, domain, critical points, justify, answer in context.
  • Reject critical points outside the domain (the cut x=203x = \frac{20}{3} inches on a 10-inch side).
  • Calculator problems: solve C′(x)=0C'(x) = 0 with the solver or a graph, store the value, and compare candidates.

Part 7 · Misconception

A common mistake

The wrong idea: The objective function and the constraint are the same equation.

What actually happens: The constraint is the fixed fact (volume =32= 32); the objective is what you optimize (surface area). Using the constraint as if it were the objective, or forgetting to substitute it, is the most common setup error.

Part 8 · Check yourself

Check yourself

Exam-style questions. Anything you miss goes into your review queue.

Diagram

An open box from a 16 by 10 sheet

A sheet of cardboard is 16 inches by 10 inches. A square of side xx inches is cut from each corner, and the sides are folded up to make an open box.
A sheet 16 inches wide and 10 inches tall with a square of side x cut from each corner; the sides fold up along dashed lines into an open box of height x and base 16 - 2x by 10 - 2x inches.
LevlPrep original diagram.

1. Write the volume VV of the box, in cubic inches, as a function of xx.

Type an expression for V(x)=V(x) =.

Show the answer

Height xx, base (16−2x)(16 - 2x) by (10−2x)(10 - 2x): V(x)V(x)=x(16−2x)(10−2x)= x(16 - 2x)(10 - 2x)=4x3−52x2= 4x^3 - 52x^2+160x+ 160x.

  • Answer: V(x)=V(x) = x(16−2x)(10−2x)x(16 - 2x) (10 - 2x)

2. Which domain for xx makes sense?

  1. 0≤x≤80 \le x \le 8
  2. 0≤x≤100 \le x \le 10
  3. 0≤x≤50 \le x \le 5
  4. x≥0x \ge 0
Show the answer

Each dimension must be at least 0: x≥0x \ge 0 and 10−2x≥010 - 2x \ge 0, so 0≤x≤50 \le x \le 5. (The ends give zero volume.)

  • 0≤x≤80 \le x \le 8: At x=6x = 6, the side 10−2x10 - 2x is negative.
  • 0≤x≤100 \le x \le 10: Both sides would be negative long before x=10x = 10.
  • Correct: 0≤x≤50 \le x \le 5: The short side 10−2x10 - 2x must not be negative.
  • x≥0x \ge 0: A cut larger than half the short side is impossible.

3. How large a square should be cut from each corner to make the box's volume as large as possible? Include units.

No calculator. Type the exact value (a fraction, π, e or a root is fine), then its unit.

Show the answer

V′(x)V'(x)=12x2−104x= 12x^2 - 104x+160+ 160=4(3x−20)(x−2)= 4(3x - 20)(x - 2)=0= 0 at x=2x = 2 or x=203x = \frac{20}{3}. Only x=2x = 2 inches is in [0,5][0, 5].

  • Answer: 2 inches

4. Find the largest possible volume of the box. Include units.

No calculator. Type the exact value (a fraction, π, e or a root is fine), then its unit.

Show the answer

V(2)=2⋅12⋅6=144V(2) = 2 \cdot 12 \cdot 6 = 144 cubic inches.

  • Answer: 144 cubic inches

5. Which justification shows that x=2x = 2 gives the absolute maximum on [0,5][0, 5]?

  1. V′(2)=0V'(2) = 0, so V(2)V(2) is the largest volume
  2. x=2x = 2 is the smaller solution of V′(x)=0V'(x) = 0
  3. V(2)=144V(2) = 144 is a positive volume
  4. VV is continuous on [0,5][0, 5]; V(0)=0V(0) = 0, V(2)=144V(2) = 144, V(5)=0V(5) = 0, so the largest candidate is V(2)V(2)
Show the answer

On the closed interval [0,5][0, 5], compare the candidates V(0)=0V(0) = 0, V(2)=144V(2) = 144 and V(5)=0V(5) = 0. The absolute maximum is 144 cubic inches at x=2x = 2.

  • V′(2)=0V'(2) = 0, so V(2)V(2) is the largest volume: A critical point is only a candidate.
  • x=2x = 2 is the smaller solution of V′(x)=0V'(x) = 0: Being the smaller root proves nothing about size.
  • V(2)=144V(2) = 144 is a positive volume: Positive does not mean largest.
  • Correct: VV is continuous on [0,5][0, 5]; V(0)=0V(0) = 0, V(2)=144V(2) = 144, V(5)=0V(5) = 0, so the largest candidate is V(2)V(2): The Candidates Test: endpoints and the critical point in the domain.

6. An open box with a square base of side xx and height hh must hold 32 cubic feet. You want to use the least material. Which is the constraint?

  1. S=x2+4xhS = x^2 + 4xh
  2. x2+4xh=32x^2 + 4xh = 32
  3. 4x+h=324x + h = 32
  4. x2h=32x^2 h = 32
Show the answer

The constraint is the fixed fact, the volume x2h=32x^2 h = 32; it lets you write h=32x2h = \frac{32}{x^2} and the objective S=x2+4xhS = x^2 + 4xh in one variable.

  • S=x2+4xhS = x^2 + 4xh: That is the objective function, the amount of material to minimize.
  • x2+4xh=32x^2 + 4xh = 32: 32 is a volume, not a surface area.
  • 4x+h=324x + h = 32: That mixes lengths; 32 is a volume.
  • Correct: x2h=32x^2 h = 32: The fixed volume links xx and hh.

Part 9 · Summary

Summary

Solve an optimization problem in a fixed order: draw and label, write the objective function, use the constraint to reduce it to one variable, find the domain, find the critical points, justify the absolute extremum with candidates or one-critical-point reasoning, and answer in context with units.

Part 10 · Up next

What comes next

Part 11 · Connections

Connections