| Study Guides
AP · Introduction to optimization problems · 14 min read · Updated 2026-05-10

Introduction to optimization problems — AP Calculus BC Study Guide

For: AP Calculus BC candidates sitting AP Calculus BC.

Covers: 4-step structured optimization process, domain constraint identification, critical point location, absolute extrema classification, and conversion of contextual word problems to solvable derivative-based optimization models.

You should already know: How to compute derivatives of algebraic and transcendental functions, how to locate and classify critical points, how to find absolute extrema on closed intervals.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Calculus BC style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.


1. What Is Introduction to optimization problems?

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. Per the AP Calculus Course and Exam Description (CED), this topic is part of Unit 5: Analytical Applications of Differentiation, and it accounts for approximately 8-10% of the total exam weight for BC. Optimization problems appear on both the multiple-choice (MCQ) and free-response (FRQ) sections of the AP exam, and they often integrate other topics like implicit differentiation, volume, or business applications, making them a common full-question FRQ topic. Synonyms for optimization in AP problems include “find the maximum value of”, “determine the minimum cost”, or “find the dimensions that give the largest...”. Unlike abstract extrema problems on a given function, optimization requires you to first build the function to optimize from the problem context, which is the step that most students struggle with.

2. The 4-Step General Optimization Framework

All optimization problems follow a repeatable, 4-step framework that eliminates ambiguity and reduces errors, even for complex multi-variable problems. This framework standardizes the process of translating a word problem into a solvable calculus problem, which is the most high-stakes skill for the exam.

Step 1: Define all variables, identify the quantity to optimize (called the objective function) and the constraint that relates the variables. The objective function is the function we need to find the maximum or minimum of; the constraint is an equation that holds true for all feasible solutions, usually representing a fixed total length, fixed volume, or fixed total cost. Step 2: Use the constraint to rewrite the objective function as a function of a single variable, then write the domain of the function based on physical or contextual constraints. For example, a length can never be negative, so the domain will exclude all non-positive values. Step 3: Find all critical points of the objective function on its domain by taking the first derivative, setting it equal to zero, and solving for . Step 4: Classify the critical point as an absolute maximum or minimum, then answer the original question (don’t forget to calculate the quantity the question actually asks for, not just the input variable).

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. Define variables: Let = the length of the side perpendicular to the river, = the length parallel to the river. Objective function: Maximize . Constraint: Total fencing = .
  2. Rewrite objective as single-variable: , so . Domain: and , so domain is .
  3. Find critical points: . Set equal to zero: .
  4. Classify and answer: First derivative test shows for and for , so is the absolute maximum. Then . The maximum area occurs at dimensions 30 m (perpendicular) and 60 m (parallel).

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 total area or total cost, so confirm what output you need to report.

3. Domain Constraints and the Closed Interval Method

When the domain of the objective function is a closed bounded interval (i.e., it includes the endpoints, which happens when there are hard minimum and maximum bounds on the input variable), we use the Closed Interval Method from the Extreme Value Theorem to find the absolute extremum. The Extreme Value Theorem guarantees that a continuous function on a closed bounded interval attains both its absolute maximum and absolute minimum on the interval, which can be at critical points inside the interval or at the endpoints. Common cases where you get a closed domain include cutting material from a fixed size board, or working with a production range that has a fixed minimum and maximum output. Unlike open intervals where the only critical point is usually the extremum, on closed intervals you must evaluate the objective function at every critical point and at both endpoints to compare values and find the absolute extremum. Skipping endpoint evaluations is one of the most common errors on AP exam FRQs.

Worked Example

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

  1. Define variables: Let = length of wire used for the square, so = length used for the triangle. Objective function: Minimize . The hard bounds on give , a closed interval.
  2. Find critical points: . Setting equal to zero gives inches inside the interval.
  3. Evaluate candidates: in², in², in². The area constraint excludes the interior critical point, so we evaluate the feasible boundaries of the domain, which occur when .
  4. Solve to find the feasible domain boundaries at and , with at both points. The minimum feasible area is 3 square inches, at the boundary of the domain.

Exam tip: Never forget to check endpoints when your domain is closed. AP exam graders actively deduct points for skipping endpoint evaluations when the problem requires it.

4. Implicit Differentiation for Optimization with Multiple Constraints

Many optimization problems, especially those involving 3D shapes or higher-order constraints, cannot be easily rearranged to get the objective function as an explicit function of a single variable. In these cases, we can use implicit differentiation to find the derivative of the objective function without solving for the dependent variable explicitly. This is particularly common in BC problems involving multiple constraints or non-linear constraints that are difficult to solve for one variable. The core 4-step framework still applies: after writing the objective function and constraint(s), differentiate both the objective and the constraint implicitly with respect to the independent variable, set the derivative of the objective equal to zero, and solve the resulting system of equations for the critical point.

Worked Example

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

  1. Define variables: radius , height . Objective function: Maximize . Constraint: Total surface area = , simplified to .
  2. Differentiate the constraint implicitly with respect to : .
  3. Differentiate the volume implicitly and set equal to zero: . Divide by (since ) to get .
  4. Substitute : .
  5. Substitute back into the constraint: cm, cm, which is the maximum volume.

Exam tip: When using implicit differentiation for optimization, always remember that the derivative of the objective function must equal zero at the extremum; don’t accidentally set the derivative of the constraint equal to zero by mistake.

5. Common Pitfalls (and how to avoid them)

  • Wrong move: Stopping after finding the critical point , and reporting as the answer when the question asks for the maximum area, minimum cost, or other output quantity. Why: Students get focused on the calculus step of finding the critical point and forget to read the end of the question to see what output is requested. Correct move: After finding all critical points and classifying them, re-read the original question's prompt and confirm what quantity you need to report, then calculate it.
  • Wrong move: Forgetting to evaluate the objective function at endpoints of the domain when using the Closed Interval Method, and only reporting the critical point value. Why: Students assume the extremum is always at a critical point, and forget that endpoints can give a smaller or larger value when the domain is closed. Correct move: Whenever your domain is written as a closed interval , always add and to your list of candidate values to compare.
  • Wrong move: Defining the objective function incorrectly by mixing up which quantity is being maximized/minimized and which is the constraint. Why: The problem text often describes the constraint first, so students 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 a length, area, or other physical quantity. Why: Students rush to find the derivative and skip writing the domain properly, leading to critical points that are impossible in context. Correct move: After writing the single-variable objective function, immediately write the domain based on the physical constraints of the problem, removing any non-physical negative values.
  • Wrong move: Classifying a local extremum as absolute without justifying it, especially on open intervals. Why: Students assume the only critical point is automatically the absolute extremum without justifying why. Correct move: On an open interval with one critical point, use the first derivative test to show the function changes from increasing to decreasing (for maximum) to confirm it is the absolute extremum.

6. Practice Questions (AP Calculus BC Style)

Question 1 (Multiple Choice)

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

A) B) C) D)

Worked Solution: We first write the objective function to maximize: for domain . Take the first derivative: . Setting the derivative equal to zero gives critical points at and ; the only interior critical point is . The first derivative test confirms for and for , so is the absolute maximum. Calculate . Correct answer: C.


Question 2 (Free Response)

A rectangular box with a square base and an open top is to be constructed from 500 cm² of cardboard, with no cardboard wasted. Let be the side length of the square base in cm, and be the height of the box in cm. (a) Write the volume of the box as a function of , and state the domain of . (b) Find the critical point of for , and justify that it gives an absolute maximum volume. (c) Find the maximum possible volume of the box, including units.

Worked Solution: (a) The total surface area of the open-top box is . Solving for gives . Substitute into the volume formula: . For physical feasibility, and , so , so domain is . (b) Take the derivative: . Set equal to zero: , which is inside the domain. For , , so is increasing. For , , so is decreasing. Thus the function increases to the critical point then decreases, so it is the absolute maximum. (c) Substitute into : cm³. The maximum volume is approximately 1076 cm³.


Question 3 (Application / Real-World Style)

A local bakery produces and sells loaves of sourdough bread per day. The daily profit from selling loaves is given by dollars, where . How many loaves should the bakery produce per day to maximize their daily profit? What is the maximum daily profit?

Worked Solution: The domain is the closed interval , so we use the Closed Interval Method. First, find the derivative: . Set equal to zero and solve with the quadratic formula: , so the only positive root in the domain is . Evaluate at all candidates: , , . The bakery should produce approximately 106 loaves per day to earn a maximum daily profit of about $794.50.

7. Quick Reference Cheatsheet

Category Formula / Rule Notes
4-Step Optimization Framework 1. Define objective + constraint
2. Write objective as single-variable function
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 the fixed constraint
Constraint Fixed quantity that relates variables Used to reduce the objective to a single variable
Physical Domain Rule for lengths, areas, volumes Negative values are always non-physical and excluded
Open Interval Optimization One critical point = absolute extremum if first derivative changes sign Requires justification of the sign change for full points
Closed Interval Method Evaluate at all critical points and endpoints Pick the largest/smallest value for maximum/minimum
Implicit Optimization Differentiate objective + constraint, set , solve system Used when you cannot easily solve for the dependent variable
First Derivative Test for Extrema changes from + to - = maximum; - to + = minimum Preferred justification for absolute extrema on open intervals

8. What's Next

Optimization problems are the capstone applied skill of Unit 5 (Analytical Applications of Differentiation), and they are a prerequisite for several upcoming topics in AP Calculus BC. Next, you will apply the optimization framework to related rates problems that require finding the maximum or minimum rate of change, and later to parametric and polar curves where you optimize arc length or enclosed area. Optimization also forms the basis for numerical approximation methods like Newton's method, and for integral applications that require minimizing or maximizing quantities over an interval. Without mastering the core 4-step framework of optimization, you will struggle to set up applied problems correctly on the FRQ section, which often integrates optimization with other calculus concepts.

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →