AP® CALCULUS AB & BC · UNIT 5
Solving Optimization Problems
Find the best cut size, the closest point, or the lowest cost. Use derivatives to justify the optimum and explain what the result means in the original situation.

1. Interpret the optimum in context
Topic 5.11 asks you to interpret the maximum or minimum you calculate in an applied problem. Connect the input that achieves the optimum to the quantity being optimized. A cut size, a box’s dimensions, and its maximum volume answer different parts of the same question.
Optimal input
The allowed choice that achieves the optimum, such as a cut length, a point on a curve, or a weekly production quantity.
Optimal value
The objective evaluated at that input, such as a maximum volume, a minimum distance, or a weekly profit.
Use the original constraint to recover any other dimensions. Include units and state the physical or practical meaning of the result.
2. Build and justify a solution
- Translate the question. Define variables with units and identify the objective. Sketch the geometry when it helps write the constraint.
- Use the constraint. Write one variable in terms of another, then substitute. A symmetry claim needs a reason the symmetric choice improves or preserves the objective.
- Set the feasible domain. Decide whether boundary values and fractional inputs are permitted.
- Find candidates. Solve for the one-variable objective . Include interior inputs where is defined and is undefined.
- Prove the result is absolute. For a continuous objective on a closed bounded interval, compare interior critical values and included endpoints. For open or unbounded intervals, use signs across the domain, boundary limits, or a global inequality.
- Interpret and check. Recover the other dimensions, evaluate the optimum, and check that the final answer satisfies the original constraint.
Distances are nonnegative, so minimizing locates the same points as minimizing . Take the square root of the minimum squared distance when reporting the distance itself.
3. Read a cut pattern and its volume graph
Cutting a square of side from each corner of a -inch sheet produces a base of side and height . The first diagram shows the cut pattern at the optimum. The second shows how the volume changes with the cut size.
Cut pattern at the optimum
Volume on the feasible interval
4. Five worked examples
Maximize the volume of an open-top box
Cut equal squares from the corners of a -inch by -inch sheet and fold up the sides. Find the cut size that maximizes the box’s volume.
1 · Write the objective on its feasible domain
Let be the side of each cut square in inches. The base side is , and the height is . These dimensions are positive when .
2 · Find the best feasible cut size
The only interior zero is . The derivative is positive on and negative on , so this cut gives the absolute maximum. The extension to the two limiting cuts gives zero volume.
| Cut (in) | Volume () | Role |
|---|---|---|
| Excluded boundary | ||
| Feasible maximum | ||
| Excluded boundary |
3 · Translate the cut into a box
Cut -inch squares. The folded box has an by base and a height of .
Find both closest points on a parabola
Find the point or points on closest to . Also give the minimum distance.
1 · Set up squared distance
A point on the parabola has coordinates . Every real is allowed.
2 · Identify and classify the candidates
The derivative is zero at and at . Since , the second derivative is negative at zero and positive at the other two candidates.
| Input | Squared distance | Local behavior |
|---|---|---|
| Minima | ||
| Maximum |
3 · Prove that both minima are absolute
The square is nonnegative for every real input. It equals zero at both inputs with , so both attain the least squared distance.
4 · Recover the coordinates and the actual distance
Both points have height . The shortest distance from to either point is coordinate units.
Two equally close points
Squared distance near the minima
Maximize the area of a Norman window
A Norman window consists of a rectangle topped by a semicircle. Its outer perimeter is feet. Find the dimensions that maximize the area.
1 · Set the perimeter and area equations
Let be the semicircle’s radius and the rectangle’s height, in feet. The bottom is , the vertical sides total , and the arc is . The shared seam lies inside the window.
2 · Express area using the radius
Positive radius and rectangle height require .
3 · Find the maximum on that interval
This value lies in the feasible interval. The derivative is positive before it and negative afterward throughout the interval, giving the absolute maximum.
4 · Report the width, heights, and area
The perimeter equation gives . The rectangle’s height and the arc’s radius are each about . The full width and the total height both equal , about .
The window at the maximum area
Find the most profitable weekly output
A company can sell items per week at dollars per item. The weekly cost is dollars. Find the production level that maximizes weekly profit.
1 · Build a profit function and set its domain
Revenue is quantity times price. Subtract weekly cost to get
Nonnegative price and quantity restrict the model to integers from through .
2 · Find the peak and check that it is feasible
The continuous profit model rises up to and falls afterward on . Since is a feasible integer, it also maximizes profit among the allowed production levels.
3 · State the quantity, price, and profit
Produce and sell items per week at dollars each. Weekly revenue is dollars and weekly cost is dollars. The difference is a maximum profit of dollars per week.
The continuous profit model
Minimize cost with two material prices
An open-top rectangular container must hold . Base material costs dollars per square meter and side material costs dollars per square meter. Find the least-cost dimensions and the minimum cost.
1 · Express cost using the dimensions
Let the base sides be and , and the height be , in meters. The volume constraint is .
2 · Justify using a square base
Fix the base area . Then and the base cost are fixed. Minimizing the side cost amounts to minimizing .
This follows from because both sides are positive. Equality occurs at , so for every base area the square gives the least cost.
3 · Optimize the square-base model
Let be the common base side. Then .
The derivative is zero at . Its sign comes from , negative before that input and positive after it. This establishes the absolute minimum.
4 · Recover the height and total cost
The base is about by , and the height is about . At the optimum , so .
The minimum cost is about dollars.
Cost for square-base containers
5. Recognize common optimization models
| Situation | Modeling move |
|---|---|
| Fence against a wall | Write the fence equation using the three sides that need fencing. Then maximize the area. |
| Closed can | Use fixed volume to express height using radius. Equal surface costs give at the minimum. Different material rates change that ratio. |
| Inscribed shape | Use an equation for the boundary to express height in terms of width. |
| Poster with margins | Keep the printed area fixed. Add both margins in each direction before forming the total area. |
| Light intensity | For an inverse-square model use with . Use the geometry to determine the feasible distances. |
| Travel time | For two legs at fixed speeds use . Express both distances using the route constraint. |
| Cone in a sphere | Use a right triangle in the spherical cross-section to relate the cone’s base radius and height. |
6. Five practice questions
1. Largest rectangle in a circle
Find the dimensions of the maximum-area rectangle inscribed in a circle of radius .
Show solution 1
1 · Relate half-width and half-height
Let and be the half-width and half-height. Then , and the area is . On , the area is positive.
Here is squared area, so its maximum occurs at the same rectangle as the maximum area.
2 · Find the optimal dimensions
The derivative changes from positive to negative at . The constraint gives the same value for . Both full sides are , and the maximum area is square units.
2. Closed can with a higher-priced lid
A closed can must hold . The base and curved side have the same positive cost per square centimeter. The lid costs twice that rate. Find the least-cost radius and height.
Show solution 2
1 · Weight the areas by their costs
Divide the total cost by the common positive rate. The base and lid contribute in this scaled objective. Use for the side.
2 · Use the derivative and recover the height
On , the derivative changes from negative to positive at this radius. The critical equation gives , so the least-cost height is . Both dimensions are measured in centimeters.
3. Largest rectangle on the base of a triangle
An isosceles triangle has base and height . The rectangle’s lower edge lies on the base and its upper corners lie on the sloping sides. Find the largest-area dimensions.
Show solution 3
1 · Use similar triangles
At height , the triangle above the rectangle has height and base equal to the rectangle’s width. The feasible heights satisfy .
2 · Interpret the maximizing height
The derivative is positive before and negative afterward. At that height the width is , giving maximum area square units.
4. Related-rates review with a moving shadow
A -foot person walks away from a -foot light pole at feet per second. How fast does the tip of the shadow move away from the pole?
Show solution 4
1 · Use the similar triangles
This Unit 4 review asks for a rate. Let be the person’s distance from the pole and the shadow’s length, both in feet. The tip is feet from the pole.
2 · Differentiate the tip’s position
The tip moves away from the pole at feet per second.
5. Fence a field with one divider
A farmer has feet of fencing for a rectangle and a single straight divider parallel to one side. Find the dimensions that maximize total area.
Show solution 5
1 · Count the three parallel fence segments
Let be the length parallel to the divider and the perpendicular length, in feet. Then and .
2 · Find the maximum and report the orientation
The derivative changes from positive to negative at . The constraint gives .
The side parallel to the divider is feet, and the perpendicular side is feet. The maximum area is square feet.
7. Write an AP-style justification
Write the reason the candidate gives an absolute result, then interpret it in a complete sentence. Include every quantity the prompt asks for and give its units.
From a derivative to a design decision
Justify the candidate
For the open-top box, is positive on and negative on . Thus attains its absolute maximum at on the feasible interval.
Say what the numbers mean
Cut -inch squares from the corners. The base side is inches and the height is inches, giving a maximum volume of cubic inches.
- Use the objective when comparing candidates. Check the constraint again after finding the dimensions.
- Keep exact values through the calculation. Round the final quantities with their units.
- If several feasible inputs attain the same optimum, report every input the question asks for.
8. Frequently asked questions
Can two different choices be equally optimal?
Yes. In the parabola example, two different points have the same minimum squared distance, , so both are closest.
When can I use a square base?
Use the square base when the problem requires it or when you can prove it gives the best value. In the storage example, fixing the base area fixes the height, and equal sides minimize the side cost for that base area.
What if a production quantity must be a whole number?
Check that the continuous optimum is feasible. If the model rises to a single peak and then falls, compare the closest feasible integers on either side when the peak itself is fractional.
How do I explain the optimum in context?
State the choice and the outcome with their units. For example, items per week is the production quantity, and dollars per week is the maximum profit.
9. Continue studying calculus
Review the introductory optimization method and the Candidates Test. Then continue to slopes and extrema of implicitly defined curves.