AP Calculus AB · Unit 5 · Analytical Applications of Differentiation
5.11 Solving optimization problems
Solve applied optimization problems by finding critical points, checking endpoints, and interpreting the result.
1/4Define the quantity to optimize and its constraints
Part 1 of 4: Define the quantity to optimize and its constraints
Start by naming the objective function, the quantity to maximize or minimize. Define each variable and its units. Then write a constraint that connects the variables. The situation also determines a feasible domain: only values that make physical sense belong in the problem. For example, a length cannot be negative. A closed interval may include zero-length boundary cases, even when those cases are not useful designs. Include them when they are mathematically allowed, then interpret the result.
Key terms · tap one for its definition
objective function
An objective function expresses the quantity being maximized or minimized in terms of the problem's variables.
constraint
A constraint is a condition that restricts the possible values of the variables.
feasible domain
The feasible domain contains the input values permitted by every condition in the problem.
Part 2 of 4: Use the constraint to build one function
Suppose 100 meters of fencing forms three sides of a rectangle against a straight wall. Let be each side perpendicular to the wall, and be the fenced side parallel to it. The fencing constraint is . The area function is . Substitute to get . Since both lengths must be nonnegative, . The endpoints describe rectangles with zero area. They still matter when checking the maximum.
Key terms · tap one for its definition
fencing constraint
The fencing constraint states that the lengths of the three fenced sides total 100 meters.
area function
The area function gives the enclosed rectangular area for each feasible value of the chosen variable.

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: C · Worked explanation
Part 3 of 4: Critical points identify possible interior optima
An interior critical point occurs where the derivative is zero or undefined, provided the function exists there. It is a candidate, not automatically an optimum. For the fenced rectangle, differentiate: . Setting gives meters. The constraint then gives meters. In context, this critical point represents a possible fence layout with the greatest enclosed area. A different applied problem may have several critical points, including ones that do not give the desired optimum.
Key term
critical point
A critical point is an interior domain point where the derivative is zero or undefined.
Part 4 of 4: Compare every candidate and report the requested quantity
On a closed feasible interval, compare the candidate values at every critical point and both endpoints. The largest value gives the absolute maximum; the smallest gives the absolute minimum. For the fenced rectangle, the endpoints each give zero area. The interior candidate gives a larger area, so it is the maximum. Report the quantity the question asks for, with units. Here, the maximum area is 1250 square meters, achieved with sides of 25, 25, and 50 meters.
Worked example
Maximize the fenced area
- Let be each perpendicular side and the remaining side. Then .
- Write , with .
- Solve , giving and .
- Compare , , and , all in square meters.
Answer: The greatest area is 1250 square meters, using two 25-meter sides and one 50-meter side.
Key term
candidate values
Candidate values are objective-function values at critical points and included endpoints that must be compared.
Check your recall[12 marks]
4 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.State[1 mark]
State what a feasible domain represents in an optimization problem.
Show mark schemeHide mark scheme
Model answer
It contains all input values allowed by the problem's conditions.
- 1 mark for identifying the input values permitted by the problem's conditions
- 2.Explain[3 marks]
Explain why solving does not establish the greatest fenced area.
Show mark schemeHide mark scheme
Model answer
It identifies an interior candidate only. Other critical points could exist, and included endpoints must also be checked. Compare their area values to establish the greatest area.
- 1 mark for recognizing that a zero derivative identifies a candidate rather than proving a maximum
- 1 mark for noting that other critical points and included endpoints may be candidates
- 1 mark for comparing the objective-function values to establish the greatest value
- 3.Calculate[4 marks]
Calculate the maximum area enclosed by 100 meters of fencing along a wall.
Show mark schemeHide mark scheme
Model answer
With , area is for . Solving gives . The areas at , 25, and 50 are 0, 1250, and 0 square meters. The maximum is 1250 square meters.
- 1 mark for forming with
- 1 mark for finding the critical value from
- 1 mark for checking the area at the critical value and both endpoints
- 1 mark for reporting the maximum as 1250 square meters
- 4.Interpret[4 marks]
Interpret the critical point and endpoints for the fenced rectangle.
Show mark schemeHide mark scheme
Model answer
The critical point means each perpendicular side is 25 meters. The remaining side is 50 meters. At either endpoint, one dimension is zero, so the area is zero. The critical point therefore gives the greatest area on the feasible interval.
- 1 mark for interpreting as two perpendicular sides of 25 meters each
- 1 mark for finding the remaining side as 50 meters
- 1 mark for interpreting both endpoints as zero-area boundary cases
- 1 mark for concluding that the critical point gives the greatest feasible area

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.
EasyState[1 mark]
Show answer and explanation
Answer: C · Worked explanation
EasyIdentify[1 mark]
Show answer and explanation
Answer: D · Worked explanation
EasyIdentify[1 mark]
Show answer and explanation
Answer: C · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumInterpret[2 marks]
Show answer and explanation
Answer: D · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumExplain[2 marks]
Show answer and explanation
Answer: D · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: A · Worked explanation