Calculus · Grade 12 and undergraduate
Optimization: Maximum and Minimum Problems
Quick answer
An optimization problem asks for the largest or smallest value of a quantity under some condition: the most area for a fixed length of fence, the least metal for a can of fixed volume. The method: name the quantity, use the constraint to write it as a function of one variable, find that function's domain and critical points, and justify that the answer is a maximum or minimum — by comparing endpoints or with a derivative test. Then answer the question that was asked, with units.
What you'll learn
- Translate a word problem into a function to optimize
- Use a constraint to reduce it to one variable, with a domain
- Find and justify the absolute maximum or minimum
The method
- Draw the situation and name the variables.
- Write the quantity to optimize in terms of those variables.
- Use the constraint to eliminate all but one variable.
- State the domain of the resulting function.
- Find the critical points.
- Justify the maximum or minimum: compare with the endpoints on a closed interval, or use a derivative test.
- Answer the question that was asked, with units.
Why the constraint does the work
Most problems start with two unknowns. A rectangular pen has a length and a width, and “make the area as big as possible” means nothing until something limits them. That something is the constraint: meters of fence, a cm³ can.
The constraint is an equation between the variables, so it can be solved for one of them. Substituting leaves the target as a function of a single variable, and then the tools of the last few lessons apply directly. The constraint turns a question about two quantities into a question about one function.
Worked examples
Common mistakes
Practice problems
-
Two positive numbers add to . What is the largest possible product?
Answer
Full solution
on . at ; the endpoints give . .
-
A rectangle has perimeter cm. What is its largest possible area?
Answer
cm², a by square
Full solution
gives , so . The maximum is at .
-
A rectangular pen with area m² has fence on all four sides. What dimensions use the least fence?
Answer
About m by m, a square
Full solution
for . at , and , so it is the minimum. The pen is square.
-
An open box is made from a -inch by -inch sheet by cutting squares of side from the corners. Find the that maximizes the volume.
Answer
inches
Full solution
on . . Only is in the domain; beats the endpoint values .
-
Find the point on the line closest to the origin.
Answer
Full solution
. at , where .
-
A box with a square base and open top must hold cubic feet. What dimensions use the least material?
Answer
Base ft by ft, height ft
Full solution
, and the area is . at , , so .
-
A rectangle is inscribed under the parabola , with its base on the -axis. Find its largest area.
Answer
Full solution
With corners at , the area is on . at , and .
-
The cost of producing items is . What production level minimizes the average cost per item, ?
Answer
About items
Full solution
Average cost . at , . , so it is a minimum.
-
A window is a rectangle topped by a semicircle, with perimeter m. Which radius lets in the most light (largest area)?
Answer
m
Full solution
With radius , width and rectangle height : , so .
Area . gives , and .
-
For the fence problem, a student answers "". What is missing?
Hint
What did the question ask for?
Answer
The question asked for the dimensions: m by m, and a justification that this is a maximum.
Full solution
is one side; the other is .
A complete answer also shows it is the maximum: beats .
Frequently asked questions
What are the steps for an optimization problem?
Draw and name variables, write the quantity to optimize, use the constraint to reduce it to one variable, find the domain, find critical points, justify the max or min, and answer the question asked.
What is the constraint?
The condition that ties the variables together, such as a fixed perimeter or a fixed volume. It lets you write the target quantity in terms of a single variable.
How do I justify that my answer is a maximum?
On a closed interval, compare the critical points with the endpoints. Otherwise, use the first or second derivative test, or the single-critical-point argument.
What are the dimensions of the cheapest can of a given volume?
The height equals the diameter. Minimizing surface area 2πr² + 2πrh with πr²h fixed gives h = 2r.
Why must I state the domain?
Physical limits — lengths cannot be negative, a cut cannot exceed the sheet — decide which critical points count and which endpoints to compare.