An optimization problem asks for the largest or smallest value of a quantity under a condition. The calculus is short; most of the work is turning the words into one function of one variable.
Recognize the problem
The question asks for the largest, smallest, most, least, maximum or minimum of something, and gives a fixed amount or a condition: a length of fence, a volume, a cost.
Set it up
1. UnknownsDraw the situation. Name every changing quantity with a letter.
2. ObjectiveWrite the quantity to maximize or minimize in terms of those letters.
3. ConstraintWrite the fixed condition as an equation and solve it for one letter.
4. One variableSubstitute into the objective so it depends on a single variable.
5. DomainFind the values that make physical sense (lengths positive, and so on).
Interpret the result. Answer the question that was asked, with units: the dimensions, the maximum value, or both. Check the answer is inside the domain.
Worked examples
Example 1 · largest rectangle from 100 m of fence
setup + calculus
sides x, y; perimeter 2x+2y=100
unknowns and constraint
y=50−x
solve the constraint for y
A(x)=x(50−x), 0<x<50
objective in one variable, domain
A′(x)=50−2x=0⇒x=25
critical point
x=y=25 m, A=625 m2
a square; the endpoints give A=0
Common mistakes
Two variables left in the objective
✗differentiating A=xy directly
✓use the constraint first, so A depends on x only
Ignoring the endpoints
✗taking the critical point as the answer without checking
✓compare the critical points with the ends of the domain