TLDR
Optimization problems ask you to find the largest or smallest value of a quantity, like the most volume or the least surface area. You set up an objective function, use a constraint to reduce it to one variable, then use derivatives to find and confirm the minimum or maximum. This is the AP Calculus skill of using the derivative to locate extreme values in real contexts.

Why This Matters for the AP Calculus Exam
Optimization pulls together everything from earlier in Unit 5: critical points, the First Derivative Test, the Second Derivative Test, and checking endpoints. On the AP Calculus exam, you may see optimization in both multiple-choice and free-response settings, where you have to set up a function, find where its derivative is zero or undefined, and justify that you found a true maximum or minimum. Clear setup and justification matter for full, readable work, so naming your variables, stating the constraint, and confirming the type of extremum all help.
Key Takeaways
- Optimization means finding a minimum or maximum value of a quantity using the derivative.
- Write the quantity you want to optimize as an objective function, often with two variables at first.
- Use the constraint equation to rewrite one variable in terms of the other so you have a single-variable function.
- Find critical points where the derivative equals zero or does not exist.
- Confirm whether each critical point is a minimum or maximum using the First or Second Derivative Test, and check endpoints when the interval is closed.
- Answer the actual question asked, including the value or dimensions, not just the x value of the critical point.
What Optimization Problems Are
Optimization problems involve finding the best possible solution, usually the largest or smallest value of some quantity. "Optimizing" means maximizing or minimizing.
Calculus handles this because you already know how to find the minimum or maximum of a function: take its derivative and apply either the First Derivative Test or the Second Derivative Test.
The tricky part is that these problems usually start with two variables. The fix is one extra step: find a relationship (a constraint) between the two variables, then substitute so you can "get rid of" one. That leaves a single-variable function you already know how to differentiate.
Worked Example
Let . If , what and values minimize ?
There are two variables, and , and you can only differentiate with respect to one. Rewrite one variable in terms of the other.
Because , you can rewrite as .
So you have:
Note: becomes because the function is now written in terms of .
Now find the minimum of this function using the Second Derivative Test.
First, find the critical points where :
Next, check the concavity of at these points to verify they are minimums.
Since the power of is even, is positive for any . So is concave up at both and .
Therefore, both and minimize . If , then . If , then .
The final solution is and .
How to Use This on the AP Calculus Exam
Problem Solving
A reliable order of steps:
- Identify the quantity to optimize and write it as an objective function.
- Find the constraint equation that links your variables.
- Substitute so the objective function depends on one variable.
- Find critical points where the derivative equals zero or is undefined.
- Confirm minimum or maximum using the First or Second Derivative Test, and check endpoints if the interval is closed.
- Return to the original question and report the value or dimensions asked for.
Free Response
When you justify, refer to the actual function by name and state your reasoning. For example, "since , is concave up, so this critical point gives a minimum." Vague statements like "it goes up" do not show calculus reasoning.
Common Trap
Stopping after you find the critical value. The question often wants the minimum surface area, the dimensions, or a pair, so plug back in and answer what was asked.
Practice Problems
Question 1
An open-topped play area with a square base is designed to hold 32 cubic feet of sand. What is the minimum exterior surface area of the play area?
Question 2
121 square inches of text is to be printed on a card. If there are to be exactly one-inch margins around all four sides of the text, what is the width and height of the smallest card that can be used?
Answers and Solutions
Question 1
The answer is 48 square feet. Here's why:
Let the side length of the square base be and the height be .
The volume can be expressed as:
Since the volume is 32 cubic feet:
Rewrite in terms of :
You want to minimize the surface area of the open-topped play area:
This simplifies to:
Find the critical points:
Check the concavity to verify a minimum:
Since , is concave up at .
By the Second Derivative Test, minimizes .
The minimum surface area is:
Question 2
The answer is 13 inches by 13 inches. Here's the work:
Let be the width of the printed text and the height. Since the area of the printed text is 121 square inches:
Using the one-inch margins on all four sides, the width of the card is:
And the height of the card is:
The area of the card is:
Expanded and simplified:
Find the critical points where :
Take the positive solution because width cannot be negative.
Verify is a minimum by checking concavity:
is concave up at .
By the Second Derivative Test, minimizes .
The width of the printed area is 11 inches and the height is 11 inches.
Adding the margins, the dimensions of the card are 13 inches by 13 inches.
Common Misconceptions
- Thinking the critical value is the final answer. You usually need a value, an area, or full dimensions, so substitute back in.
- Skipping the verification step. A critical point is not automatically a minimum or maximum, so use the First or Second Derivative Test to confirm.
- Forgetting the constraint. Without using the constraint to remove a variable, you cannot reduce the problem to a single-variable function you can differentiate.
- Ignoring the domain. Negative or zero values often do not make sense for lengths, areas, or volumes, so reject solutions that break the physical setup.
- Forgetting to check endpoints on a closed interval. An absolute extremum can occur at an endpoint, not just at a critical point.
- Using vague language like "it goes up" in justifications. Refer to , , or by name and state the calculus reason.
Related AP Calculus Guides
- Unit 5 Overview: Analytical Applications of Differentiation
- 5.1 Using the Mean Value Theorem
- 5.2 Extreme Value Theorem, Global vs Local Extrema, and Critical Points
- 5.3 Determining Intervals on Which a Function is Increasing or Decreasing
- 5.4 Using the First Derivative Test to Determine Relative (Local) Extrema
- 5.11 Solving Optimization Problems
Vocabulary
The following words are mentioned explicitly in the College Board Course and Exam Description for this topic.Term | Definition |
|---|---|
derivative | The instantaneous rate of change of a function at a specific point, representing the slope of the tangent line to the function at that point. |
maximum value | The largest output value that a function attains on a given interval. |
minimum value | The smallest output value that a function attains on a given interval. |
optimization | The process of finding the minimum or maximum value of a function on a given interval. |
Frequently Asked Questions
How do I solve AP Calculus optimization problems?
Identify the quantity to maximize or minimize, write an objective function, use a constraint to make it one variable, take the derivative, find critical points, and verify the maximum or minimum with a derivative test or endpoint check.
What is an objective function in optimization?
The objective function is the quantity you want to optimize, such as area, volume, distance, or cost. It often starts with two variables, then a constraint lets you rewrite it as one-variable function.
What is a constraint in an optimization problem?
A constraint is the relationship that links the variables in the situation, such as fixed volume, fixed perimeter, or a geometry formula. You use it to substitute one variable in terms of another.
How do derivatives help with optimization?
Derivatives locate critical points where a function can have a maximum or minimum. After finding where f' is zero or undefined, you still need to confirm the extremum and answer the original question.
Do I need to check endpoints in optimization?
Yes, if the feasible domain is a closed interval. The Extreme Value Theorem says absolute extrema on a closed interval can occur at critical points or endpoints, so check both when endpoints are included.
What is the most common optimization mistake?
The most common mistake is stopping at the critical x-value. Many problems ask for dimensions, a maximum value, a minimum cost, or an ordered pair, so substitute back and answer the question in context.