AP Calculus BC · Unit 5 · Analytical Applications of Differentiation
5.10 Introduction to optimization
Identify optimization situations, model the target quantity, and outline how to find and check an optimum.
1/4Optimization asks for the best value under a constraint
Part 1 of 4: Optimization asks for the best value under a constraint
An optimization problem asks for the largest or smallest possible value of a quantity. The objective is the quantity being maximized or minimized. A store might seek maximum revenue, while a builder might seek minimum material use. These situations also have limits. A fixed budget, amount of fencing, or available time restricts the choices.
First, name the decision you can change. Then state what counts as the best outcome. For example, a gardener can change a rectangle’s dimensions but has a fixed length of fencing. The goal might be the greatest enclosed area. Without the fencing limit, the area could grow without bound.
Key terms · tap one for its definition
optimization problem
An optimization problem seeks the greatest or least feasible value of a quantity.
objective
The objective is the quantity whose value an optimization problem seeks to maximize or minimize.
Part 2 of 4: A constraint connects the variables in the objective
Use variables for the changing quantities, including units. Write an equation for the objective before differentiating. A constraint expresses the fixed condition and connects those variables. Use it to rewrite the objective as a function of one variable. Then find the feasible domain: values that make sense in the situation.
For a rectangular enclosure, let its side lengths be and meters. Its area is , while 40 meters of fencing gives . Thus and . Positive side lengths require . If zero area is allowed, the limiting cases and can also be considered.
Key terms · tap one for its definition
constraint
A constraint is a condition that restricts the values of the variables in a model.
feasible domain
The feasible domain contains the input values allowed by the constraints and the real-world situation.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: B · Worked explanation
Part 3 of 4: Derivatives locate candidates, but context determines the answer
Once the objective depends on one variable, differentiate it. An interior optimum can occur where the derivative is zero or undefined. Check those candidates against the domain and any included endpoints. A derivative of zero alone does not prove a maximum or minimum. Compare objective values or use derivative behavior to decide.
Finally, answer the original question with units and a brief interpretation. If the domain excludes an endpoint, do not claim the objective reaches a value there. You may still check what happens as values approach it. This matters when a problem asks for positive lengths, rather than allowing a side of zero.
Part 4 of 4: A fencing model shows the complete optimization setup
Suppose a gardener has 40 meters of fencing for a rectangle. The objective is to maximize area, not perimeter. The perimeter constraint reduces the area to one variable. Differentiation then gives a candidate, which must be checked before interpreting it.
Worked example
Largest area with fixed fencing
- Let the sides be and meters. Write and .
- Substitute to get , where .
- Differentiate: . Set , giving .
- Then . Since changes from positive to negative at , this is a maximum.
Answer: The greatest area is , with sides of 10 meters.
Check your recall[14 marks]
5 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Identify[2 marks]
Identify the objective and constraint when a store seeks maximum revenue within a fixed advertising budget.
Show mark schemeHide mark scheme
Model answer
The objective is revenue, which the store wants to maximize. The advertising budget is the constraint.
- 1 mark for identifying revenue as the quantity to maximize
- 1 mark for identifying the fixed advertising budget as a constraint
- 2.Explain[2 marks]
Explain why an objective should be written as a function of one variable before differentiating.
Show mark schemeHide mark scheme
Model answer
The constraint connects the variables, so one can be replaced. This gives an objective function whose derivative can locate candidates.
- 1 mark for explaining that the constraint allows one variable to be substituted
- 1 mark for explaining that the resulting one-variable function can be differentiated to find candidates
- 3.Construct[3 marks]
Construct an area function and feasible domain for a rectangle made with 40 meters of fencing. Let one side be meters.
Show mark schemeHide mark scheme
Model answer
The other side is meters, so . Both side lengths must be positive, giving .
- 1 mark for using the perimeter constraint to find the other side as
- 1 mark for writing or an equivalent expression
- 1 mark for giving the feasible domain
- 4.Calculate[4 marks]
Calculate the greatest area of a rectangle made with 40 meters of fencing.
Show mark schemeHide mark scheme
Model answer
Since , its derivative is . Setting this to zero gives . The derivative changes from positive to negative there, so the greatest area is .
- 1 mark for writing the one-variable area function
- 1 mark for finding and solving to obtain
- 1 mark for justifying that the candidate gives a maximum
- 1 mark for calculating the greatest area as
- 5.Explain[3 marks]
Explain why solving does not, by itself, finish an optimization problem.
Show mark schemeHide mark scheme
Model answer
It only finds a possible interior optimum. The candidate must satisfy the feasible domain, and its value must be checked against other candidates and included endpoints.
- 1 mark for stating that a zero derivative identifies only a candidate
- 1 mark for checking that the candidate lies in the feasible domain
- 1 mark for comparing candidates and included endpoints, or using derivative behavior to establish the optimum

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the quick check in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: C · Worked explanation
EasyState[1 mark]
Show answer and explanation
Answer: C · Worked explanation
EasyIdentify[1 mark]
Show answer and explanation
Answer: B · Worked explanation
MediumConstruct[2 marks]
Show answer and explanation
Answer: A · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: A · Worked explanation
MediumOutline[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumExplain[2 marks]
Show answer and explanation
Answer: D · Worked explanation
HardDeduce[2 marks]
Show answer and explanation
Answer: B · Worked explanation