6m left·0%
Reading Time: 6 min
Last Updated: March 5, 2026
Main Ideas: 5
Reading Time: 6 min
Last Updated: March 5, 2026
Main Ideas: 5

Topic 5.11 Notes – Solving Optimization Problems

Verified for 2027 AP® Calculus AB Exam
Read aloud
Optimization problems use derivatives to find the maximum or minimum value of a quantity in a real-world situation. You build a function from the context, use calculus to locate critical points, and then interpret what that extreme value actually means in terms of dimensions, cost, profit, or another applied quantity.

What an Optimization Problem Is

An optimization problem asks you to maximize or minimize something meaningful in context. That “something” is always modeled by a function.

Quick grounding from earlier topics:

  • Critical points occur where f′(x)=0 f'(x) = 0 or is undefined.
  • The First or Second Derivative Test helps classify them.
  • On a closed interval, absolute extrema can happen at critical points or endpoints.

In optimization, you are usually looking for an absolute maximum or minimum, not just local behavior. And the number you find must be interpreted in context, not left as a bare critical value.

The Core Structure of Every Optimization Problem

Almost every AP problem of this type fits this structure:

a. Objective Function

This is what you’re trying to optimize.

  • Area
  • Volume
  • Surface area
  • Cost
  • Revenue or profit
  • Distance

You must write it as a function of one variable before differentiating.

If your function still has two variables when you take the derivative, something is missing.

b. Constraint Equation

This limits the situation.

Examples:

  • Fixed perimeter
  • Fixed volume
  • Limited material
  • Budget restriction

You use the constraint to eliminate one variable.

For example, if x x and y y represent dimensions and you know

2x+2y=40, 2x + 2y = 40,

you can solve for one variable, such as

y=20−x, y = 20 - x,

and substitute into the objective function.

That substitution step is where students lose points most often.

c. Feasible Domain

Not every mathematical solution makes sense physically.

  • Lengths, radii, time → must be positive.
  • Sometimes the problem gives an actual interval.

If the domain is closed, check endpoints. If it’s open (like x>0 x > 0 ), you focus on critical points.

d. Critical Points and Endpoints

Now calculus comes in.

  1. Differentiate the one-variable objective function.
  2. Solve f′(x)=0 f'(x) = 0 .
  3. Classify using derivative tests.
  4. Compare with endpoints if required.

You are looking for the absolute extreme value.

The Optimization Process in Action

Here’s the full sequence laid out visually. This is the mental checklist you want on test day.

Optimization problem-solving flowchart

Under pressure, think through that sequence mentally.

One small example (different from your textbook ones):

Suppose a rectangle has area 48 m2 48 \text{ m}^2 and you want to minimize its perimeter.

  • Let width be x x , length be y y .
  • Constraint: xy=48⇒y=48x xy = 48 \Rightarrow y = \frac{48}{x} .
  • Perimeter (objective):
    P(x)=2x+2(48x). P(x) = 2x + 2\left(\frac{48}{x}\right).
  • Differentiate:
    P′(x)=2−96x2. P'(x) = 2 - \frac{96}{x^2}.
  • Set equal to zero:
    2−96x2=0. 2 - \frac{96}{x^2} = 0.

Solving gives x2=48 x^2 = 48 , so x=48 x = \sqrt{48} . That produces a square, which gives the minimum perimeter.

Notice we optimized perimeter, not area. Students often mix up which function they’re supposed to differentiate.

Interpreting the Answer

This is where points are earned or lost.

If the question asks:

  • “What dimensions maximize the area?” → give the dimensions.
  • “What is the maximum area?” → give the function value.
  • “When is profit maximized?” → give the input value (units produced) and possibly the profit amount.

Your final statement should:

  • Use a complete sentence.
  • Include units.
  • Refer to the actual context.

For example:
“The maximum profit is 12,400 dollars when 350 units are produced.”

On FRQs, leaving off units or failing to state what the number represents can cost the final point even if the calculus is perfect.

Patterns You Should Recognize Fast

Certain setups repeat constantly:

  • Fixed perimeter → maximize area usually leads to a square.
  • Fixed volume cylinder → minimize surface area often leads to a height related to the radius in a simple ratio.
  • Profit problems use P(x)=R(x)−C(x) P(x) = R(x) - C(x) .

If you recognize the structure early, you’ll move faster and make fewer algebra mistakes.

Key Takeaways

Always reduce the objective to one variable before differentiating.
Critical points come from solving f′(x)=0 f'(x) = 0 , but absolute extrema may also occur at endpoints.
The derivative finds the input value; the problem may ask for the output value.
Domain restrictions matter because negative dimensions are not valid.
A correct numerical answer without units or context can lose interpretation points on free-response.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining