Skip to content

Mathematics · Ch 6 — Application of Derivatives

Simple Optimization Problems

6

Simple Optimization Problems

From "find the extrema of ff" to "find the best real-world outcome." Many practical situations -- maximizing the area enclosed by a fixed length of fence, minimizing the material used to build a container of a given capacity, maximizing profit or minimizing cost -- reduce to exactly the maxima/minima problem of Sections 4 and 5, once the quantity to be optimized is written as a function of a single variable using whatever constraint the problem supplies.

General method for an optimization word problem.

  1. Identify the quantity QQ to be maximized or minimized, and the variable(s) it depends on.
  2. Identify the constraint relating the variables (a fixed perimeter, a fixed volume, a fixed sum, etc.), and use it to eliminate all but one variable, so QQ becomes a function of a single variable, Q=Q(x)Q = Q(x).
  3. Determine the interval of values xx may take (often x>0x > 0, or a bounded interval from the physical setup, e.g. 0<x<90 < x < 9 for a box cut from an 18 cm18\ \text{cm} square, Exercise Q5).
  4. Differentiate: solve Q′(x)=0Q'(x) = 0 for critical points within that interval.
  5. Classify each critical point using the second derivative test (Section 5) or the first derivative test (Section 4) -- whichever is more convenient.
  6. If the domain is a closed interval [a,b][a,b], also compare QQ at the endpoints a,ba, b with QQ at the interior critical point(s); the overall maximum/minimum is the largest/smallest of all these values, since an endpoint can beat an interior local extremum.
  7. Answer the question in the problem's own terms -- state the dimensions, or the numbers, or the optimal value, not just the abstract critical xx.

Worked pattern: maximizing area under a fixed perimeter. For a rectangle of perimeter PP, writing the two adjacent sides as xx and (P2−x)\left(\tfrac{P}{2}-x\right), the area A(x)=x(P2−x)A(x) = x\left(\tfrac{P}{2}-x\right) is a downward-opening parabola in xx, maximized at its unique critical point x=P/4x = P/4 -- giving equal sides, i.e. the maximizing rectangle is always a square (Exercise: Maxima and Minima, Q4, with P=40 mP = 40\ \text{m}, giving a 10 m×10 m10\ \text{m}\times10\ \text{m} square).

Worked pattern: maximizing volume of a folded box. Cutting a square of side xx from each corner of a flat sheet of side aa and folding up the flaps gives an open box of base side (a−2x)(a - 2x) and height xx, so V(x)=x(a−2x)2V(x) = x(a-2x)^2; differentiating and solving V′(x)=0V'(x)=0 locates the optimal cut size (Exercise Q5, a=18 cma = 18\ \text{cm}, giving x=3 cmx = 3\ \text{cm} -- note x=a/2=9x = a/2 = 9 is also a root of V′V', but it lies at the domain's edge, where the box collapses to zero volume, so it is rejected in favour of the interior critical point). …