How to Approach Optimization Problems
Optimization problems ask you to find the largest or smallest possible value of some quantity. The calculus is usually only one part of the problem. The harder part is often translating the verbal description into a mathematical function that can actually be differentiated.
A strong AP Calculus solution should make the objective function explicit, identify the relevant domain, find the critical point or points, and explain why the resulting value is the desired maximum or minimum.
- Identify what is being optimized. Is the problem asking for maximum area, minimum cost, shortest distance, maximum volume, or something similar?
- Define variables. Give the dimensions or quantities mathematical names.
- Write the constraint. Use the information in the problem to connect the variables.
- Write the objective function. Express the quantity being optimized in terms of one variable whenever possible.
- Determine the domain. Physical dimensions and other restrictions matter.
- Differentiate and find critical points. Solve \(f'(x)=0\) and check where \(f'(x)\) is undefined if relevant.
- Test candidates. Use the First Derivative Test, Second Derivative Test, or absolute-extrema reasoning.
- Answer the actual question. State the requested dimension, quantity, or value with appropriate units.
The Core Optimization Idea
Suppose the quantity you want to optimize is represented by \(Q(x)\) on a closed interval \([a,b]\). An absolute maximum or minimum can occur at a critical point in the interior or at an endpoint.
Critical points occur where the derivative is zero or does not exist.
In an optimization problem, solving \(Q'(x)=0\) is not automatically enough. You still have to determine whether the critical point produces the desired maximum or minimum and whether it is physically meaningful.
Worked Examples
A farmer has 200 meters of fencing and wants to build a rectangular enclosure. What dimensions maximize the area?
An open-top box must have a square base and a volume of \(32\text{ ft}^3\). Find the dimensions that minimize the amount of material used.
Find the point on the parabola \(y=x^2\) that is closest to the point \((0,3)\).
A company wants to build a rectangular storage area with an area of \(600\text{ ft}^2\). The two longer sides cost \$8 per foot to construct, while the two shorter sides cost \$12 per foot. Find the dimensions that minimize the total construction cost.
Common Optimization Mistakes
The derivative must be taken of the quantity the question actually asks you to maximize or minimize. If the problem asks for maximum area, your objective function should be area—not a constraint such as perimeter.
The constraint is usually there so that you can rewrite the objective function using one variable. If your objective still contains both \(x\) and \(y\), look for a way to substitute using the constraint.
A critical point is only useful if it makes sense in the original problem. A negative length, a dimension of zero, or a value outside the permitted interval is not a valid physical solution.
Finding a critical point does not automatically prove that it is the requested maximum or minimum. Use the Second Derivative Test, First Derivative Test, or compare all relevant candidates.
AP free-response questions often award points for defining variables, writing the objective function, showing the derivative equation, and interpreting the answer. A correct number without the supporting work may not receive full credit.
Practice Problems
A rectangular garden is built against a straight river, so no fencing is needed along the river. A farmer has 240 meters of fencing for the other three sides. What dimensions maximize the area of the garden?
Show answer
A closed cylindrical container must hold \(500\pi\text{ cm}^3\). Find the radius and height that minimize the surface area.
Show answer
Find the point on the curve \(y=x^2+1\) that is closest to the point \((2,0)\).
Show answer
A rectangle has one side along the \(x\)-axis and its upper corners lie on the parabola \(y=12-x^2\). Find the dimensions of the rectangle with maximum area.
Show answer
A company needs a rectangular enclosure with area \(1000\text{ ft}^2\). The cost of fencing one pair of opposite sides is \$5 per foot, while the other pair costs \$10 per foot. Find the dimensions that minimize the total fencing cost.
Show answer
AP Exam Strategy
On an AP Calculus free-response question, optimization is rarely just a derivative computation. The scoring points are often distributed across the setup, derivative, critical-point equation, and interpretation.
- Define the variable clearly.
- Write the constraint equation.
- Use the constraint to obtain a one-variable objective function.
- State the relevant domain.
- Differentiate.
- Set the derivative equal to zero and solve for the critical point.
- Explain why the critical point gives the requested maximum or minimum.
- State the final answer in context and include units when appropriate.
A particularly useful shortcut is to optimize a simpler equivalent quantity when possible. For example, when minimizing a distance \[ D=\sqrt{F(x)}, \] you can minimize \(F(x)=D^2\) instead because the square-root function is increasing.
Test yourself: AP Calculus practice exams
Ready to check what you know? Work an AP-style practice exam, then open the full solutions.
Want all 1,114 practice problems?
This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.
Get the Calc Pass App
Scan to download and practice on the go, with instant scoring.
Vol. 1: 1,114 Questions
The complete practice question bank, organized by AB & BC topic.
View on Amazon