Study Guide

Introduction to Optimization Problems

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

1. Core Concepts of Optimizationβ˜…β˜…β˜†β˜†β˜†β± 3 min

Optimization problems are applied extreme value problems where you find the input that maximizes or minimizes a desired output quantity (e.g., minimize production cost, maximize enclosed area, maximize business profit) given one or more constraints on available inputs. On the AP Calculus BC exam, this topic makes up 8-10% of total exam weight, appearing on both multiple-choice and free-response sections, and often integrates other topics like volume or implicit differentiation.

πŸ“˜ Definition

Optimization Problem

An applied extreme value problem requiring identification of the input that produces the maximum or minimum value of a target output, subject to fixed constraints on input values.

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

All AP optimization problems follow a standardized 4-step framework that reduces errors and ensures you earn all method points on FRQs. The framework is:

  1. Define all variables, identify the objective function (quantity to optimize) and the constraint relating variables.

  2. Use the constraint to rewrite the objective as a single-variable function, then write the feasible domain based on physical/contextual constraints.

  3. Find all critical points of the objective function on its domain by differentiating and setting the first derivative equal to zero.

  4. Classify the critical point as an absolute maximum or minimum, then calculate the quantity the original question asks for.

πŸ“ Worked Example

A rectangular garden is to be fenced off along a straight river, so no fence is needed along the river. We have 120 meters of fencing total. Find the dimensions that maximize the area of the garden.

  1. 1
    1. Define variables: Let = length of the side perpendicular to the river, = length parallel to the river. Objective: Maximize area . Constraint: Total fencing = .
  2. 2
    1. Rewrite objective as a single-variable function: Solve constraint for , substitute into area:
  3. 3
    A(x)=x(120βˆ’2x)=120xβˆ’2x2A(x) = x(120 - 2x) = 120x - 2x^2
  4. 4

    Find domain: Lengths are positive, so and .

  5. 5
    1. Find critical points: Differentiate and set equal to zero:
  6. 6
    Aβ€²(x)=120βˆ’4x=0β€…β€ŠβŸΉβ€…β€Šx=30A'(x) = 120 - 4x = 0 \implies x = 30
  7. 7
    1. Classify and answer: First derivative test shows for and for , so is an absolute maximum. Substitute back to find .
  8. 8

    The dimensions that maximize area are 30 m (perpendicular to river) and 60 m (parallel to river).

Exam tip:

Always re-read the question after finding your critical point: many students lose points for answering with just the input variable when the question asks for the output quantity (like total area or cost).

3. Domain Constraints and the Closed Interval Methodβ˜…β˜…β˜…β˜†β˜†β± 4 min

When the feasible domain of the objective function is a closed, bounded interval (includes endpoints, due to hard minimum/maximum bounds on the input), you must use the Closed Interval Method from the Extreme Value Theorem to find the absolute extremum.

The Extreme Value Theorem guarantees a continuous function on a closed bounded interval attains both absolute maximum and minimum, which can occur at interior critical points or at endpoints. Skipping endpoint evaluations is one of the most common AP exam errors.

πŸ“ Worked Example

A 10 inch long piece of wire is cut into two pieces. One piece is bent into a square, the other into an equilateral triangle. The total combined area must be at least 3 square inches. Find the minimum possible combined area.

  1. 1
    1. Define variables: Let = length of wire used for the square, so = length for the triangle. Hard bounds on give a closed domain . Objective function: Minimize total area:
  2. 2
    A(x)=(x4)2+34(10βˆ’x3)2A(x) = \left(\frac{x}{4}\right)^2 + \frac{\sqrt{3}}{4}\left(\frac{10 - x}{3}\right)^2
  3. 3
    1. Find critical points by differentiating and setting equal to zero:
  4. 4
    Aβ€²(x)=x8βˆ’3(10βˆ’x)54=0β€…β€ŠβŸΉβ€…β€Šxβ‰ˆ2.04A'(x) = \frac{x}{8} - \frac{\sqrt{3}(10 - x)}{54} = 0 \implies x \approx 2.04
  5. 5
    1. Evaluate area at all candidates: inΒ², inΒ², inΒ². The problem requires , so the interior critical point is not feasible.
  6. 6
    1. The feasible domain boundaries occur where , which solves to and , both with . The minimum feasible combined area is 3 square inches.

Exam tip:

AP exam graders actively deduct points for skipping endpoint evaluations when the domain is closed. Always evaluate endpoints for closed intervals.

4. Implicit Differentiation for Complex Optimizationβ˜…β˜…β˜…β˜…β˜†β± 4 min

For optimization problems with non-linear constraints or 3D shapes, it can be difficult or impossible to rearrange the objective into an explicit single-variable function. In these cases, we use implicit differentiation to find the derivative without solving for the dependent variable explicitly, while still following the core 4-step framework.

πŸ“ Worked Example

Find the dimensions of a right circular cylinder with total surface area cmΒ² that maximizes the volume of the cylinder.

  1. 1
    1. Define variables: = radius, = height. Objective: Maximize volume . Constraint: Total surface area = , which simplifies to .
  2. 2
    1. Differentiate the constraint implicitly with respect to :
  3. 3
    2r+h+rdhdr=0β€…β€ŠβŸΉβ€…β€Šdhdr=βˆ’2r+hr2r + h + r \frac{dh}{dr} = 0 \implies \frac{dh}{dr} = -\frac{2r + h}{r}
  4. 4
    1. Differentiate the volume implicitly and set the derivative equal to zero (required at extrema):
  5. 5
    dVdr=2Ο€rh+Ο€r2dhdr=0\frac{dV}{dr} = 2\pi r h + \pi r^2 \frac{dh}{dr} = 0
  6. 6

    Divide by (since , this is valid):

  7. 7
    2h+rdhdr=02h + r \frac{dh}{dr} = 0
  8. 8
    1. Substitute from the constraint and solve:
  9. 9
    2h+r(βˆ’2r+hr)=0β€…β€ŠβŸΉβ€…β€Šh=2r2h + r\left(-\frac{2r + h}{r}\right) = 0 \implies h = 2r
  10. 10
    1. Substitute back into the original constraint to find dimensions:
  11. 11
    r2+r(2r)=50β€…β€ŠβŸΉβ€…β€Šr=503β‰ˆ4.08 cm,hβ‰ˆ8.16 cmr^2 + r(2r) = 50 \implies r = \sqrt{\frac{50}{3}} \approx 4.08 \text{ cm}, \quad h \approx 8.16 \text{ cm}
  12. 12

    This critical point gives the maximum volume of the cylinder.

Exam tip:

Don't accidentally set the derivative of the constraint equal to zero. Only the derivative of the objective function must equal zero at the extremum.

5. AP-Style Practice Worked Examplesβ˜…β˜…β˜…β˜†β˜†β± 5 min

βœ“ Quick check

Test your understanding of basic optimization with this multiple-choice question:

  1. The sum of two positive numbers is 30. One number is , the other is . What is the maximum value of the product of one number and the square of the other?

    • A) 2000

    • B) 3000

    • C) 4000

    • D) 4500

    Reveal answer
    C) 4000 β€”

    The objective function to maximize is , critical point at , giving . The first derivative test confirms this is the absolute maximum.

πŸ“ Worked Example

A rectangular box with a square base and open top is constructed from 500 cmΒ² of cardboard, with no waste. Let be the side length of the base, the height. (a) Write and state the domain. (b) Find the critical point and justify it is an absolute maximum. (c) Find the maximum volume.

  1. 1

    (a) Total surface area (open top) is . Solve for . Volume is:

  2. 2
    V(x)=x2h=x(500βˆ’x2)4=125xβˆ’14x3V(x) = x^2 h = \frac{x(500 - x^2)}{4} = 125x - \frac{1}{4}x^3
  3. 3

    Domain: and .

  4. 4

    (b) Differentiate and set equal to zero:

  5. 5
    Vβ€²(x)=125βˆ’34x2=0β€…β€ŠβŸΉβ€…β€Šx=5003β‰ˆ12.91V'(x) = 125 - \frac{3}{4}x^2 = 0 \implies x = \sqrt{\frac{500}{3}} \approx 12.91
  6. 6

    for and for , so the function increases then decreases, confirming this is an absolute maximum.

  7. 7

    (c) Substitute back to find maximum volume:

  8. 8
    V(5003)β‰ˆ1076 cm3V\left(\sqrt{\frac{500}{3}}\right) \approx 1076 \text{ cm}^3
πŸ“ Worked Example

A bakery produces loaves of sourdough per day, with daily profit dollars, for . How many loaves maximize daily profit, and what is the maximum profit?

  1. 1

    The domain is closed interval , so use the Closed Interval Method. First find critical points:

  2. 2
    Pβ€²(x)=βˆ’0.003x2+0.3x+2=0P'(x) = -0.003x^2 + 0.3x + 2 = 0
  3. 3

    Solving with quadratic formula gives only one positive root in the domain: .

  4. 4

    Evaluate profit at all candidates: , , .

  5. 5

    The bakery should produce ~106 loaves per day for a maximum daily profit of ~$794.50.

6. Common Pitfalls

Wrong move:

Stopping after finding the critical point , and reporting when the question asks for the maximum area, minimum cost, or other output quantity.

Why:

Students focus on the calculus step of finding the critical point and forget to read the end of the question to confirm what output is requested.

Correct move:

After classifying extrema, re-read the original question prompt, confirm what quantity you need to report, and calculate that value before finishing.

Wrong move:

Forgetting to evaluate the objective function at endpoints of the domain when using the Closed Interval Method, only reporting the critical point value.

Why:

Students assume the extremum is always at an interior critical point, and forget endpoints can give a more extreme value when the domain is closed.

Correct move:

Whenever your domain is a closed interval , always add and to your list of candidate values to compare.

Wrong move:

Defining the objective function incorrectly, mixing up the quantity to optimize and the fixed constraint.

Why:

Problem text often describes the constraint first, leading students to accidentally use the fixed constraint quantity as the objective to optimize.

Correct move:

After reading the problem, underline the quantity you need to maximize/minimize and circle the fixed constraint quantity before writing any equations.

Wrong move:

Including negative values in the domain for physical quantities like length or area.

Why:

Students rush to find the derivative and skip writing the domain properly, leading to non-physical critical points.

Correct move:

After writing the single-variable objective function, immediately write the domain based on physical constraints, excluding all non-positive values for quantities that can't be negative.

Wrong move:

Classifying a local extremum as absolute without justification, especially on open intervals.

Why:

Students assume the only critical point is automatically the absolute extremum without proving it.

Correct move:

On an open interval with one critical point, use the first derivative test to show the sign change of the derivative, confirming it is the absolute extremum.

7. Quick Reference Cheatsheet

Category

Rule / Formula

Notes

4-Step Optimization Framework

  1. Define objective + constraint
    2. Rewrite objective as single-variable
    3. Find critical points
    4. Classify and answer the question

Applies to all AP optimization problems

Objective Function

Quantity to maximize/minimize; do not confuse with constraint

Constraint

Fixed relationship between variables

Used to reduce objective to one variable

Physical Domain Rule

for lengths, areas, volumes

Negative values are always non-physical, excluded

Open Interval Optimization

One critical point = absolute extremum if first derivative changes sign

Requires sign change justification for full points

Closed Interval Method

Evaluate at all critical points and endpoints

Pick largest/smallest value for max/min

Implicit Optimization

Differentiate objective + constraint, set , solve system

Used when you can't solve for dependent variable explicitly

First Derivative Test

+ to - = maximum; - to + = minimum

Preferred justification for absolute extrema on open intervals

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 Β· BC

    FRQ: volume optimization problem

  • 2022 Β· BC

    MCQ: domain constraint identification

  • 2021 Β· BC

    FRQ: profit optimization

What's Next

Optimization problems are the capstone applied skill of Unit 5: Analytical Applications of Differentiation, and mastering the 4-step framework is critical for success on many applied problems later in AP Calculus BC. Next, you will extend this framework to related rates problems that require finding maximum or minimum rates of change, then apply optimization to parametric and polar curves to maximize arc length or enclosed area. Optimization also forms the foundation for numerical methods like Newton's method, and for integral applications where you need to find maximum or minimum quantities over an interval. Strong command of the translation step from context to calculus model will help you earn full points on multi-part FRQs that integrate multiple AP topics.