Educerie · AP · Calculus AB and BC
AP Calculus AB and BC 5.10
Introduction to Optimization Problems
How can the derivative, the rate of change at a point, tell you what a whole function is doing?
What you will learn
- Understand how to turn a context into an objective function and a constraint.
- Know how to reduce to one variable and state the domain.
- Know how the domain decides the argument used to justify the best value.
- Understand how problems from different contexts share a structure.
You must be able to
- Write the objective, the constraint and the one-variable function
- State the domain with a reason
- Find the best value and justify it
- Use the squared distance to simplify a distance problem
- Answer the question asked, with units
In the exam. Section I (multiple choice), Part A: choose the expression that models the quantity, or find the best value of a given model. In the free-response section an optimization part asks you to write an expression, state the domain, find the best value and justify. Most marks are for the setup. The calculus in the middle is short.
1The steps
- Draw and name. Sketch the situation. Give a letter to every quantity that can change.
- Objective. Write the formula for the quantity to optimize.
- Constraint. Write the fixed condition as an equation.
- One variable. Solve the constraint for one letter and put it in the objective.
- Domain. Work out which values of the variable make sense.
- Optimize. Find critical points and test them (5.5 or 5.7).
- Answer. Give what the question asks, with units.
2Worked example: a fenced pen
A farmer has 120 meters of fence. She uses it on three sides of a rectangular pen, with a straight wall on the fourth side. What dimensions give the greatest area?
1. Name. Let be the length of each of the two sides that touch the wall. Let be the side parallel to the wall.
2. Objective. Area .
3. Constraint. Fence: .
4. One variable. , so
5. Domain. Lengths cannot be negative, so and . That gives , a closed interval.
6. Optimize.
is continuous on . The candidates are 0, 30 and 60, and the largest value is at .
7. Answer. The sides touching the wall are 30 m each, and the side along the wall is m. The greatest area is 1800 square meters.
3Worked example: an open box
A box with a square base and no top must hold 500 cubic centimeters. Which dimensions use the least material?
Let be the side of the base and the height, in centimeters. Material means surface area: one base of area and four sides each of area .
The side can be any positive number, so the domain is . This interval is open. The Candidates Test does not apply, so a single-critical-point argument (5.7) is used.
is the only critical point of on , and , so it is the absolute minimum. Then , and the least surface area is square centimeters.
4Worked example: a distance
Find the point on the curve closest to the point .
A point on the curve is . The distance squared to is
Use the square of the distance. The distance is smallest exactly when its square is, and the square has no square root to differentiate. The domain is .
is the only critical point in the domain and , so it gives the minimum. The closest point is , and the distance is .
5Choosing the domain
The domain comes from the situation, not from the formula.
- Closed domain (such as ): use the Candidates Test (5.5). The ends are part of the interval, and the best value can be there.
- Open domain (such as ): use the single-critical-point argument (5.7), or a sign chart for the derivative. The ends are not part of the domain.
- Check what the ends mean. In the pen, and give a pen with no area. In the box, a tiny and a huge both use a lot of material.
- Show it. The ends are usually the worst cases, but you must show it, not assume it.
6Recognizing the structure
Different stories often give the same shape.
| Story | Objective | Constraint |
|---|---|---|
| Fence, pen, field | area | total fence length |
| Box, can, tank | surface area or cost | volume |
| Two numbers | sum, product or sum of squares | a fixed sum or product |
| Closest point | distance squared | the point is on a curve |
| Cost, profit | cost or profit | demand or production rule |
In each, a quantity to optimize depends on two variables, and a constraint lets you remove one.
7Writing the setup
On the exam the setup is a graded part. A full setup says:
- what each letter stands for, with units
- the objective and the constraint
- the one-variable function, and its domain
"Let be the width in meters. Then the length is meters and the area is square meters, for ."
Practice questions
30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.