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

Topic 5.10 Notes – Introduction to Optimization Problems

Verified for 2027 AP® Calculus AB Exam
Read aloud
Instead of just analyzing a given function, you build the function yourself from context, then use critical points and extrema tools to answer a practical question.

What an Optimization Problem Is

An optimization problem asks you to make something as large or as small as possible.

In calculus terms, you are finding an absolute maximum or minimum value of a function, usually within a realistic domain like x>0 x > 0 .

The derivative helps because:

  • Critical points occur where f′(x)=0 f'(x)=0 or undefined.
  • Maximums and minimums happen at critical points or endpoints.
  • The derivative tells you where the function increases or decreases.

So optimization is just this idea in disguise:

Build a function from the situation, then use derivatives to find its absolute extreme value.

The Optimization Strategy

These problems feel messy at first because they involve words, not just formulas. The structure is always the same.

  1. Define variables clearly
    • Say what each variable represents.
    • Include units (feet, dollars, inches, etc.).
    • If dimensions are involved, remember they must be positive.
  2. Write the objective function
    • This is what you’re maximizing or minimizing.
    • Area? Surface area? Volume? Cost? Profit?
    • Write it symbolically.
  3. Use the constraint
    • There’s always a relationship tying variables together.
    • Fixed perimeter, fixed volume, fixed area, revenue relationship, etc.
    • Solve this for one variable.
  4. Substitute
    • Replace into the objective function.
    • You must end up with one variable only.
    • If you still have two variables, you can’t differentiate yet.
  5. Differentiate and find critical points
    • Compute f′(x) f'(x) .
    • Set f′(x)=0 f'(x)=0 .
    • Solve carefully.
  6. Justify maximum or minimum
    • Second Derivative Test
    • First Derivative Test
    • Or compare values if the domain is closed
  7. Answer the actual question
    • Plug back to find missing dimensions if needed.
    • Include units.
    • State what is being maximized or minimized.

On FRQs, skipping the justification step costs points even if your number is correct.

Common Optimization Setups

These repeat constantly in quizzes and on the AP exam.

Area and Perimeter

Rectangles show up all the time.

  • Perimeter constraint like P=2l+2w P = 2l + 2w
  • Area function A=lw A = lw

Sometimes:

  • One side is against a wall → remove one term
  • “Three sides fenced” problems → perimeter expression changes

Surface Area and Volume

Boxes and cylinders are very common.

You must know:

V=lwh V = lwh

V=πr2h V = \pi r^2 h

Surface area changes depending on whether a top is included.

For a typical open-top box with a square base of side length xx and height hh:

If the box has no lid, the surface area is:

SA=x2+4xh SA = x^2 + 4xh

Students often forget to remove the top.

Revenue, Cost, and Profit

In business models:

  • Revenue R(x)=x⋅p(x) R(x) = x \cdot p(x)
  • Profit P(x)=R(x)−C(x) P(x) = R(x) - C(x)

The most common mistake is maximizing revenue when the problem asks for profit.

Also, price usually depends on quantity. Don’t treat price as constant unless stated.

Geometric Relationships

Distance and right triangle relationships show up a lot.

Many optimization problems use the distance formula between two points as the key constraint.

Study guide illustration

Distance formula from the Pythagorean Theorem

You may need: x2+y2=r2 x^2 + y^2 = r^2

Or similar triangles to relate variables.

This is usually the “constraint” part of the problem.

Absolute Maximum vs Local

Optimization problems almost always want an absolute extreme.

If the domain is restricted:

  • Length cannot be negative.
  • Quantity produced cannot be negative.
  • Sometimes an interval is given explicitly.

To justify:

  • If f′′(c)>0 f''(c) > 0 , you have a minimum.
  • If f′′(c)<0 f''(c) < 0 , you have a maximum.
  • If on a closed interval, evaluate endpoints too.

On multiple choice, they often include negative dimensions as trap answers. Eliminate those immediately.

Key Takeaways

Optimization means finding an absolute max or min using f′(x)=0 f'(x)=0 .
You must reduce the problem to one variable before differentiating.
Always use the constraint to eliminate a variable.
Justifying the max or min is required for full credit.
Reject impossible solutions like negative lengths.
Surface area problems depend on whether the top is included.
Profit is P(x)=R(x)−C(x) P(x)=R(x)-C(x) , not just revenue.

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