Study Guide

Solving Optimization Problems

AP Calculus BCΒ· AP Calculus BC CED β€” Analytical Applications of DifferentiationΒ· 14 min read

1. What is Optimization?β˜…β˜…β˜†β˜†β˜†β± 2 min

Solving optimization problems uses differentiation to find the maximum or minimum possible value of a target quantity, subject to fixed constraints in contextual or abstract problems. This topic contributes 2-4% of total AP Calculus BC exam points, appearing in both multiple-choice and free-response sections.

πŸ“˜ Definition

Optimization

The process of finding the absolute (global) maximum or minimum value of a target function over a contextually defined domain.

Example:

Maximizing the area of a rectangle with fixed perimeter, or minimizing the production cost of a good.

AP exam questions use phrasing like "find the maximum possible value", "determine the minimum dimensions", "maximize profit", or "minimize cost" to indicate optimization problems, all requiring the same core problem-solving process.

2. The 4-Step General Optimization Frameworkβ˜…β˜…β˜†β˜†β˜†β± 4 min

All optimization problems have two core components: a target function (the quantity you want to maximize or minimize) and a constraint (a fixed relationship between variables that lets you reduce the problem to a single variable). This 4-step framework aligns with AP exam grading rubrics.

  1. Label all unknown quantities, explicitly name your target quantity, and write the constraint as an equation relating variables.

  2. Use the constraint to eliminate all but one independent variable, resulting in a single-variable target function . Critical: Define the domain of based on problem context, not just the mathematical domain of . Most problems have a closed interval domain , where the Extreme Value Theorem guarantees an absolute extremum exists.

  3. Find all critical points of on by computing , setting it equal to zero, and solving for . Remember that critical points also include points where is undefined.

  4. Evaluate at every interior critical point and at both endpoints; the largest value is the absolute maximum, the smallest is the absolute minimum. Always answer the original question in context.

πŸ“ Worked Example

A rectangle has a perimeter of 120 cm. Find the dimensions that maximize the area of the rectangle.

  1. 1

    Define variables and constraint: Let = length of one side, = length of the adjacent side, = area (target to maximize). Constraint: .

  2. 2

    Eliminate and write target function with domain: Solve constraint for to get . Substitute into area to get:

  3. 3
    A(x)=x(60βˆ’x)=60xβˆ’x2A(x) = x(60 - x) = 60x - x^2
  4. 4

    Both sides are non-negative, so domain is .

  5. 5

    Find critical points:

  6. 6
    Aβ€²(x)=60βˆ’2x60βˆ’2x=0β€…β€ŠβŸΉβ€…β€Šx=30A'(x) = 60 - 2x \\ 60 - 2x = 0 \implies x = 30
  7. 7

    Evaluate and conclude: , , . The maximum area occurs at , so . The optimal dimensions are 30 cm by 30 cm (a square).

Exam tip:

Following this explicit order earns you partial credit even if your final answer is incorrect

3. Classifying Absolute Extrema on Open Intervalsβ˜…β˜…β˜…β˜†β˜†β± 3 min

Many optimization problems have open domains (e.g., with no upper bound from context), so the Extreme Value Theorem does not guarantee an extremum exists. If you find only one critical point on the domain, you can use the first or second derivative test to confirm that the local extremum is also the global (absolute) extremum, which is accepted for full justification on AP FRQ.

πŸ“ Worked Example

Find the positive number that minimizes the sum for .

  1. 1

    Define target and domain: We need to minimize , with domain (open interval, no other constraints).

  2. 2

    Find critical points:

  3. 3
    Sβ€²(x)=1βˆ’64x31βˆ’64x3=0β€…β€ŠβŸΉβ€…β€Šx3=64β€…β€ŠβŸΉβ€…β€Šx=4S'(x) = 1 - \frac{64}{x^3} \\ 1 - \frac{64}{x^3} = 0 \implies x^3 = 64 \implies x = 4
  4. 4

    There is only one critical point at in the domain. Classify with the second derivative test:

  5. 5
    Sβ€²β€²(x)=192x3S''(x) = \frac{192}{x^3}
  6. 6

    is always positive for all , so , meaning is a local minimum.

  7. 7

    Conclude: Since there is only one critical point on the open domain, is the absolute minimum.

4. Contextual Applied Optimizationβ˜…β˜…β˜…β˜†β˜†β± 5 min

βœ“ Calculator OK

The AP exam heavily prioritizes applied optimization problems in real-world contexts, with common scenarios including geometry (maximizing volume/minimizing surface area), economics (maximizing profit/minimizing cost), and engineering (minimizing material or travel cost). The biggest challenge for most students is correctly translating the verbal description into a valid target function and constraint.

πŸ“ Worked Example

A small business produces custom backpacks per week. The total weekly cost in dollars is given by . Revenue is . Find the number of backpacks the business should produce to maximize weekly profit.

  1. 1

    Define target: Weekly profit is the quantity to maximize, domain .

  2. 2

    Write the target function:

  3. 3
    P(x)=80xβˆ’(5000+20x+0.01x2)=βˆ’0.01x2+60xβˆ’5000P(x) = 80x - (5000 + 20x + 0.01x^2) = -0.01x^2 + 60x - 5000
  4. 4

    Domain is , the range of non-negative profit.

  5. 5

    Find critical points:

  6. 6
    Pβ€²(x)=βˆ’0.02x+60βˆ’0.02x+60=0β€…β€ŠβŸΉβ€…β€Šx=3000P'(x) = -0.02x + 60 \\ -0.02x + 60 = 0 \implies x = 3000
  7. 7

    is inside the domain. Classify: for all , so is a local maximum, which is the absolute maximum.

  8. 8

    Conclude: Maximum weekly profit is , so the business should produce 3000 backpacks per week.

πŸ“ Worked Example

An open-top box is made by cutting equal-sized squares from each corner of a 10 inch by 15 inch rectangular sheet of cardboard, then folding up the sides. Find the maximum possible volume of the box.

  1. 1

    Write volume function and domain: After cutting out squares of side , base dimensions are and , height is .

  2. 2
    V(x)=x(10βˆ’2x)(15βˆ’2x)=4x3βˆ’50x2+150xV(x) = x(10-2x)(15-2x) = 4x^3 - 50x^2 + 150x
  3. 3

    All sides must be positive, so domain is .

  4. 4

    Find critical points:

  5. 5
    Vβ€²(x)=12x2βˆ’100x+150=06x2βˆ’50x+75=0V'(x) = 12x^2 - 100x + 150 = 0 \\ 6x^2 - 50x + 75 = 0
  6. 6

    Solving with the quadratic formula gives only one critical point inside the domain: .

  7. 7

    Evaluate candidates: , , cubic inches. The maximum volume is approximately .

βœ“ Quick check

Test your understanding with this AP-style multiple choice question:

  1. Which of the following gives the radius that minimizes the surface area of a closed right circular cylinder with fixed volume ? (Surface area , volume )

    Reveal answer
    1 β€”

    Correct! Use the volume constraint to substitute into , take the derivative, and solve for to get this result.

5. Common Pitfalls

Wrong move:

Stopping after finding critical point , and reporting when the problem asks for the maximum value of the target function (or vice versa).

Why:

Students rush after finding the critical point and forget to check what the question actually asks for.

Correct move:

After finding all extrema, re-read the question stem to confirm which quantity you need to report, then explicitly compute that quantity.

Wrong move:

Using the mathematical domain of the target function instead of the context-imposed domain, leading to invalid negative lengths or impossible production levels.

Why:

Students often skip writing down the domain entirely, resulting in extraneous critical points outside the valid range.

Correct move:

Always write the domain of the target function explicitly after defining it, using context to set bounds on the independent variable.

Wrong move:

Forgetting to check endpoint values when the domain is closed, assuming the extremum must be at an interior critical point.

Why:

Students are used to finding extrema at critical points and forget endpoints can give absolute extrema.

Correct move:

For any closed interval domain, always evaluate the target function at both endpoints and all interior critical points before selecting the absolute maximum/minimum.

Wrong move:

On an open domain with one critical point, failing to justify that the critical point is an absolute extremum.

Why:

Students assume finding a critical point is enough, but AP grading requires explicit justification that it is a global extremum.

Correct move:

Apply the first or second derivative test to show the critical point is a local extremum, then note that since it is the only critical point it must be the global extremum.

Wrong move:

Making algebraic errors when rearranging the constraint to eliminate a variable, leading to an incorrect target function.

Why:

Students rush the algebra step to get to differentiation, and small sign or coefficient errors change the entire problem.

Correct move:

After writing the target function, plug in a test value to check that it satisfies the original constraint to catch errors before differentiating.

6. Quick Reference Cheatsheet

Category

Process / Formula

Notes

General 4-Step Framework

  1. Define variables β†’ 2. Write target + domain β†’ 3. Find critical points β†’ 4. Evaluate for absolute extremum

Aligns with AP grading rubrics for full process points

Absolute Extrema on Closed

Evaluate at all interior critical points and endpoints

Guaranteed to exist for continuous by Extreme Value Theorem

Absolute Extrema on Open Domain (1 critical point)

If β†’ absolute max at ; if β†’ absolute min at

Must include this justification for full AP credit

Profit Maximization

, max at

= marginal revenue, = marginal cost

Closed Cylinder

,

Subtract for open-top cylinder

Open-Top Cut-Out Box

Domain:

Mixed Path Cost Minimization

Always check endpoints in addition to critical point

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2023 Β· Multiple Choice

    Minimize surface area of cylinder

  • 2022 Β· Free Response

    Minimize construction cost

Going deeper

What's Next

Solving optimization problems is a capstone skill for Unit 5: Analytical Applications of Differentiation, and it builds directly into the next core topic of related rates. Both topics require you to translate verbal, contextual descriptions into mathematical equations with multiple variables, then simplify to a single variable to apply differentiation techniques. Mastering the variable definition, constraint writing, and domain restriction skills you learned here will make solving related rates problems much more straightforward. Optimization also appears frequently in multi-concept FRQ questions, often paired with integration or curve sketching, so it is important to practice the 4-step framework until it becomes automatic.