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

Topic 5.10 Notes – Introduction to Optimization Problems

Verified for 2027 AP® Calculus BC Exam
Read aloud
You take everything you know about critical points and apply it to real situations where you want the largest or smallest possible value. The heart of it is turning a word problem into a function, then using calculus to find its maximum or minimum.

What an Optimization Problem Is

An optimization problem asks you to maximize or minimize a quantity such as area, volume, cost, distance, or surface area.

Calculus enters because:

  • A maximum or minimum occurs at a critical point where f′(x)=0 f'(x)=0 or is undefined.
  • On a closed interval, you must also check endpoints.
  • You justify max/min using the First Derivative Test or Second Derivative Test.

In applied settings, you almost always:

  1. Build a function from the situation.
  2. Rewrite it in terms of one variable.
  3. Use derivatives to find and verify the extreme value.

That middle step is where most mistakes happen.

The Optimization Strategy

Think of this as a consistent pattern. The structure rarely changes.

Step 1: Define Variables and Sketch

Assign variables to the changing quantities.

If geometry is involved, draw a quick labeled sketch. For example, a rectangle with fixed perimeter:

Study guide illustration

Rectangle with labeled width and height

Seeing the width and height labeled makes the algebra much cleaner.

Be clear about:

  • What are you optimizing?
  • What equation connects the variables? (This is the constraint.)

Step 2: Write the Constraint Equation

The constraint is the relationship that ties variables together.

Examples:

  • Fixed perimeter: 2x+2y=40 2x + 2y = 40
  • Fixed volume: V=πr2h V = \pi r^2 h
  • Given product: xy=50 xy = 50

This equation is what allows you to eliminate a variable.

Step 3: Reduce to One Variable

Solve the constraint for one variable and substitute.

Example:
If 2x+2y=40 2x + 2y = 40 , then y=20−x y = 20 - x .

If area is A=xy A = xy , substitute:

A(x)=x(20−x) A(x) = x(20 - x)

Now it’s a single-variable function. Only now are you ready to differentiate.

If two variables are still present, you’re not finished setting it up.

Step 4: Differentiate and Find Critical Points

Take the derivative.

For the example:
A(x)=20x−x2 A(x) = 20x - x^2
A′(x)=20−2x A'(x) = 20 - 2x

Set equal to zero:
20−2x=0⇒x=10 20 - 2x = 0 \Rightarrow x = 10

Always consider domain restrictions. Lengths must be positive.

Step 5: Verify Max or Min

Use one of these:

  • First Derivative Test
    Check if A′(x) A'(x) changes from positive to negative (max) or negative to positive (min).
  • Second Derivative Test
    If f′′(c)>0 f''(c) > 0 , local minimum.
    If f′′(c)<0 f''(c) < 0 , local maximum.

On AP free-response, you must justify your conclusion. Just finding x x is not enough.

Step 6: Answer What Was Asked

Common trap: solving for x x but the question asks for area, volume, or another variable.

Go back and compute the actual quantity being optimized. Include units.

Common Optimization Types

Most problems fall into these patterns:

Area Problems

  • Rectangles with fixed perimeter
  • Fencing problems
  • Paper with margins

You’re usually maximizing area under a perimeter constraint.

Volume Problems

  • Open-top boxes
  • Cylinders with fixed surface area

Be careful with missing faces. An open-top box does not include the top in surface area.

Surface Area Problems

  • Minimize material cost
  • Compare closed vs open containers

Always write the full surface area formula before substituting.

Algebraic Constraints

If given something like xy=72 xy = 72 :

y=72x y = \frac{72}{x}

Then you’ll often optimize expressions like:
x+72x x + \frac{72}{x}

These almost always produce one critical point that gives the extremum.

First vs Second Derivative Test

  • The First Derivative Test always works and is great when sign changes are easy to see.
  • The Second Derivative Test is faster when f′′(x) f''(x) is simple.
  • If f′′(c)=0 f''(c)=0 , it tells you nothing.

On AP problems, either method earns credit if justified clearly.

Common Mistakes

  • Differentiating before eliminating a variable.
  • Forgetting to check endpoints on a closed interval.
  • Ignoring domain restrictions (negative lengths).
  • Dropping a squared term when substituting.
  • Stopping at the critical point without stating max/min.

Optimization is mostly algebra discipline. The calculus part is often the easy step.

Key Takeaways

Always reduce to a single-variable function before taking f′(x) f'(x) .
Critical points occur where f′(x)=0 f'(x)=0 or undefined, but not all are maxima or minima.
On closed intervals, compare critical values and endpoints.
Justify max/min using either a sign change in f′(x) f'(x) or the sign of f′′(x) f''(x) .
Answer the actual quantity requested, not just the variable you solved for.

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