AP Calculus AB Optimization Lesson: Notes and Examples (Free PDF)
This optimization lesson for AP Calculus AB covers optimization (Common Core AP CALC AB 5.10, AP CALC AB 5.11), with a free PDF to print.
Key takeaway: This lesson helps AP Calculus AB students solve word problems that ask for the largest or smallest value of a quantity.
- Topic: Optimization (AP Calculus AB)
- Content: One-page lesson with a definition, a worked example and key facts
- Standards: AP CALC AB 5.10, AP CALC AB 5.11
- Answers: Explanations included
- Format: Free printable PDF, US Letter, black and white
Key takeaway: This AP Calculus AB lesson on Optimization explains the key ideas step by step with worked examples: what is an optimization problem, how do you set up and solve one and how do you justify a maximum or minimum. Read it before the practice worksheet; free to print or download as a PDF.
Optimization finds the largest or smallest value of a quantity. Write the quantity to optimize, use the constraint to reduce it to one variable, find the critical numbers of the resulting function, and justify the extreme with the First Derivative Test, the Second Derivative Test or the candidates test. Then answer the question in a complete sentence with units.
This lesson helps AP Calculus AB students solve word problems that ask for the largest or smallest value of a quantity. Optimization turns a story into a function of one variable, and then derivatives find where that function is greatest or least.
Also, the lesson shows a repeatable plan: draw and label, write the objective, use the constraint, find the domain, differentiate, justify the extreme and answer in context. Worked cases use fences, boxes and cans. Plan about 40 minutes, and draw a picture for each example, since a good picture is half the solution.
AP Calculus AB · Common Core State Standards: AP CALC AB 5.10, AP CALC AB 5.11
Key facts in this optimization lesson
- Name the variables, write an objective function, and use a constraint to reduce it to one variable.
- Next, find critical numbers by solving f′ = 0 on the allowed domain.
- Justify the extreme with a sign change of f′, the sign of f″, or by comparing endpoint values.
- Then, check the domain and give the final answer in context with units.
What is an optimization problem?
An optimization problem asks for the largest or smallest value of a quantity, such as the greatest area, the least cost or the highest profit. Calculus finds it by locating critical numbers of the quantity as a function of one variable.
How do you set up and solve one?
- Draw a picture and name the variables.
- Write a formula for the objective (the quantity to maximize or minimize).
- Use the constraint (a given perimeter, volume or cost) to rewrite the objective with one variable, and state the domain.
- Differentiate, set the derivative equal to zero (or find where it is undefined), and solve.
- Justify that the answer is a maximum or minimum, and answer the question in a sentence with units.
Example (fence). A gardener has 120 ft of fence for three sides of a rectangle against a wall. With width \(x\) and length \(y\), the constraint is \(2x+y=120\), so \(y=120-2x\) and the area is \(A(x)=x(120-2x)=120x-2x^{2}\) for \(0 < x < 60\).
\(A^{\prime}(x)=120-4x=0\) gives \(x=30\), so \(y=60\) and \(A=1800\) square feet.
How do you justify a maximum or minimum?
You must show that the critical number gives the extreme you claim. Three accepted methods: the First Derivative Test (the sign of \(A^{\prime}\) goes from \(+\) to \(-\) at \(x=30\)), the Second Derivative Test (\(A^{\prime\prime}=-4 < 0\), concave down), or the candidates test on a closed interval, comparing the critical value with the endpoint values.
A function with only one critical number on an interval, and with \(A^{\prime}\) changing from positive to negative, has an absolute maximum there. On the open interval \((0,60)\) the area approaches 0 at both ends, so \(1800\) is the greatest.
What other models appear?
For the open box, \(V(x)=x(12-2x)^{2}\) on \(0 < x < 6\). Then \(V^{\prime}(x)=12(x-2)(x-6)\), so \(x=2\) gives the maximum volume \(V(2)=2\cdot 64=128\) cubic inches. Always check that your answer is inside the domain and answers the question that was asked.
Optimization lesson: questions and answers
What is the first step in an optimization problem?
Draw a picture and name the variables. Then identify the quantity you want to maximize or minimize and the constraint that links the variables.
What is the difference between the objective and the constraint?
The objective is the formula you optimize, such as area. The constraint is the fixed condition, such as the amount of fence available, used to eliminate one variable.
How do you know a critical number gives a maximum?
Use the First Derivative Test (f′ changes from positive to negative), the Second Derivative Test (f″ is negative), or compare values at the critical number and endpoints.
Why must you check the domain?
A critical number outside the allowed domain, such as a negative length, is not a valid answer. Endpoints of the domain can also be the extreme values.
Why do the answers need units and a sentence?
The question is about a real situation, so the answer should say which quantity is optimal and give its value with units. A bare number does not answer the question.
Common mistakes with this optimization lesson
- Students differentiate before reducing to one variable. Use the constraint to write the objective in terms of a single variable first, then take the derivative.
- Students stop at the critical number and never state what the question asked. Instead, compute the requested quantity, such as the maximum area, and not just the value of x.
- Students skip the domain check. A negative length or a value larger than the material allows is not a valid answer, so test the endpoints too.
How to study this chapter
- Label every quantity in the picture with a letter and note which letters are fixed. Also, the labels make the objective and the constraint easy to find.
- State the domain right after writing the function. Also, a short line such as ‘x is between 0 and 50’ shows graders you considered it.
- Parents can ask: what are you trying to make as big or as small as possible, and what limits you? Also, those two answers are the objective and the constraint.
Download the optimization lesson as a PDF with the button below and keep it with your notes.
More questions about optimization lesson
How do you find the dimensions of the rectangle with the largest area for a fixed perimeter?
Write the perimeter as the constraint, solve for one side, and put it into the area formula. Also, you get a quadratic whose maximum occurs when the sides are equal. So the best rectangle with a fixed perimeter is a square.
Why is the best can shape related to its height and radius?
For a closed can with fixed volume, the surface area is smallest when the height equals twice the radius. Also, this follows from setting the derivative of the area to zero. Real cans differ because of cost and handling.
Can an optimization problem have no solution?
Yes, if the domain is open and the function approaches its extreme without reaching it. On a closed interval, the Extreme Value Theorem guarantees a solution. Always check whether the endpoints are allowed in the situation.
All AP Calculus AB chapters: AP Calculus AB math.
More AP Calculus AB math
Lessons
See allDifferential Equations and Slope Fields Lesson: Notes and Examples
Integration by Substitution Lesson: Notes and Examples
Related Rates Lesson: Notes and Examples
Evaluating Limits Algebraically Lesson: Notes and Examples
Derivatives of Inverse Functions Lesson: Notes and Examples
Introducing Limits Lesson: Notes and Examples
Worksheets
See allEvaluating Limits Algebraically Worksheets with Answers
Differential Equations and Slope Fields Worksheets with Answers
Linearization and L'Hopital's Rule Worksheets with Answers
Infinite Limits and Asymptotes Worksheets with Answers
Optimization Worksheets with Answers
Mean Value Theorem and Extreme Value Theorem Worksheets with Answers
Tests
See allInfinite Limits and Asymptotes Test with Answer Key
The Chain Rule Test with Answer Key
Integration by Substitution Test with Answer Key
Evaluating Limits Algebraically Test with Answer Key
Mean Value Theorem and Extreme Value Theorem Test with Answer Key
Differential Equations and Slope Fields Test with Answer Key
Quizzes
See allOptimization Quiz: 10 Questions with Answers
Fundamental Theorem of Calculus and Antiderivatives Quiz: 10 Questions with Answers
Continuity and the Intermediate Value Theorem Quiz: 10 Questions with Answers
Differential Equations and Slope Fields Quiz: 10 Questions with Answers
Product Rule, Quotient Rule and Trig Derivatives Quiz: 10 Questions with Answers
Infinite Limits and Asymptotes Quiz: 10 Questions with Answers

























