AP® Calculus BC · Unit 5 · Topic 5.10

Introduction to Optimization Problems

Optimization turns a word problem into a single function of one variable, then uses the derivative to find where that function is largest or smallest.

A quantity like area, volume, or cost changes as some length or rate changes. At the best possible value, the graph of that quantity is at a peak or a valley, and at a smooth peak or valley the tangent line is flat. That is why the maximum or minimum almost always happens where the derivative equals zero, or occasionally at an endpoint of the allowed interval. Optimization problems just ask you to find that flat spot.

The real work is setup. Read the problem and name the quantity you want to optimize, usually area, volume, distance, or cost. Write a formula for it, but it will usually involve two variables, because real shapes have two dimensions. Find a constraint sentence hiding in the problem, like a fixed perimeter or a fixed amount of fencing, and use it to solve for one variable in terms of the other. Substitute that into your formula so you get one function of one variable. Then take the derivative, set it equal to zero, solve, and check that this gives a maximum, not a minimum, using the second derivative test or by checking sign changes.

This topic is where every tool from earlier in the unit comes together: finding critical points, using the first or second derivative test, and checking endpoints on a closed interval. Everything after this is the same process applied to messier shapes, like cylinders, cones, or distances between moving points, so getting comfortable with the four-step setup here, name the quantity, write the constraint, substitute, differentiate, pays off for the rest of the unit.

Key terms

Objective function
The single-variable function representing the quantity you want to maximize or minimize.
Constraint
A fixed relationship between the variables, often given as a total perimeter, length, or amount of material.
Critical point
A point where the derivative of the objective function equals zero or is undefined.
Second derivative test
A check using the sign of the second derivative at a critical point to confirm it is a maximum or minimum.

Watch it explained

  1. How it worksHow do I turn a word problem into one function of one variable that I can optimize?
  2. Worked exampleFind the dimensions of the largest rectangle whose perimeter is 40 meters.
  3. Worked exampleFind the dimensions of the largest rectangular pen enclosed by 60 meters of fencing.

Check yourself

Your turn1 of 2
Find the maximum possible area, in square meters, of a rectangle whose perimeter is 62 meters.

End of topic.