Calculus Optimization Problems
Single-Variable Calculus Optimization
Optimization problems ask for the largest or smallest possible value of a quantity subject to one or more conditions. The quantity being maximized or minimized is the objective function; the conditions are expressed by constraints.
A general strategy
Identify the objective. Decide what quantity must be maximized or minimized, such as area, volume, perimeter, or material used.
Write the constraint. Translate the given relationships into an equation.
Reduce to one variable. Use the constraint to express the objective using a single variable.
Determine the domain. Keep only values that make sense in the physical situation, such as positive lengths.
Find critical numbers. Differentiate the objective and solve where its derivative is zero or undefined.
Verify the optimum. Use the second derivative test, the first derivative test, or compare values at endpoints when appropriate.
Answer the question asked. Include the requested dimensions, maximum or minimum value, and units.
A critical number is a candidate for an optimum, not automatically proof of one. In applied problems, it is also important to check physical restrictions and possible endpoint cases.
1. Rectangle with fixed area and minimum perimeter
A rectangle has area of 1000 m2. Find its dimensions so that its perimeter is as small as possible.
Let the side lengths be x and y. The constraint is the fixed area:
The quantity to minimize is the perimeter:
Solve the constraint for y:
Substitute this into the perimeter to obtain a function of one variable:
Differentiate and find the critical number:
Since a length must be positive,
The second derivative is
It is positive for positive x, so the perimeter function is concave up and the critical point gives a minimum. The other side is
Thus the rectangle is a square.
For a fixed area, the rectangle with minimum perimeter is a square.
Dimensions: 1010 m by 1010 m.
2. Rectangular field beside a river
A farmer uses fencing to enclose a rectangular field beside a straight river. Because the river forms one side of the field, fencing is needed on only three sides. The goal is to maximize the field’s area.
Let x be the length of each side perpendicular to the river, and let y be the side parallel to the river that requires fencing. Using the stated calculation of 2400 feet of fencing, the constraint is
The area is
Solve the constraint for y:
Then express the area in terms of x:
Differentiate and set the derivative equal to zero:
The second derivative is
Since it is negative, the area function is concave down, and the critical point gives a maximum. The remaining side length is
Dimensions: 600 ft perpendicular to the river and 1200 ft along the river.
Data note: The source states both 24 feet and 2400 feet, but its equation and calculations use 2400 feet. If the intended total were 24 feet, the same method would give dimensions of 6 feet by 12 feet.
3. Poster with fixed printing area and margins
A rectangular poster has a printing area of 384 cm2. The top and bottom margins are each 6 cm, while the side margins are each 4 cm. Find the poster dimensions that minimize the poster’s total area.
Let x and y be the dimensions of the printed region. Its area gives the constraint
The full poster is wider and taller than the printed region because of the margins:
The total width is x+4+4=x+8.
The total height is y+6+6=y+12.
Therefore, the total area to minimize is
Use the constraint to write y=x384. Then
Expanding gives
Differentiate:
Set the derivative equal to zero:
Since x is a length, x=16. The printed height is
The second derivative is
It is positive for positive x, so the critical point gives a minimum. The dimensions requested are those of the whole poster, including the margins:
Poster dimensions: 24 cm by 36 cm.
4. Largest rectangle under a parabola
A rectangle has its base on the x-axis, and its two upper vertices lie on the parabola
Find the dimensions of the rectangle with the largest area.
The parabola is symmetric about the y-axis, so a maximum-area rectangle is centered on that axis. Let x be the horizontal distance from the center to one side of the rectangle. Its full base is therefore 2x. Its height is the parabola’s value at x:
The area is
Differentiate:
Set the derivative equal to zero:
The relevant value is x=2, since x represents a distance. The second derivative is
At x=2, it is negative, confirming a maximum. The rectangle’s height is
Because x is only half the base, the full base is 2x=4.
Dimensions: 4 units by 8 units.
Maximum area: 32 square units.
5. Largest cylinder inscribed in a sphere
A right circular cylinder is inscribed in a sphere of radius 4. Find the largest possible volume of the cylinder.
The cylinder’s volume is
Consider a vertical cross-section through the sphere’s center and the cylinder’s axis. Let x be the cylinder’s radius and let y be the distance from the sphere’s center to the top of the cylinder. The sphere’s radius is 4, so the cross-section gives
Thus,
The cylinder extends equally above and below the sphere’s center, so its height is 2y. Its volume as a function of x is
For 0<x<4, differentiating and simplifying gives
The denominator is positive in the interior of the domain. Setting the numerator equal to zero gives
The nonzero critical value satisfies
The negative root is not a valid radius, and x=0 produces zero volume. The derivative changes from positive to negative at the positive critical value, so it gives the maximum.
Substituting into the volume function:
Maximum volume: 33256π cubic units.
6. Maximum-volume postal package
A rectangular package has a square cross-section with side length x and length y. The sum of the package’s length and the perimeter of its square cross-section cannot exceed 90 inches. Find the dimensions that maximize its volume.
The cross-section has four sides of length x, so the constraint is
The volume is the cross-sectional area multiplied by the package length:
Solve the constraint for y:
Substitute into the volume:
Differentiate:
The critical values are x=0 and x=15. The value x=0 gives a package with zero volume, so the relevant critical value is x=15.
For values just below 15, V′(x)>0; for values just above 15, V′(x)<0. Thus, the volume increases and then decreases, confirming a maximum. The package length is
Dimensions: a square cross-section of 15 in by 15 in, with length 30 in.
7. Open-top box from a square sheet
An open-top box is made by cutting equal squares from the corners of a square sheet of cardboard that is 6 feet on each side, then folding up the sides. Find the maximum possible volume.
Let x be the side length of each corner square cut out. After folding:
The box’s height is x.
Each side of its square base is 6−2x, because a strip of width x is removed from both ends.
The volume is
The physically possible domain is 0<x<3. Expanding and differentiating:
The critical values are x=1 and x=3. The value x=3 is a boundary case that leaves a base with zero side length, so it produces no box. At x=1, the derivative changes from positive to negative, giving a maximum.
The maximum volume is
At this value, the base is 4 feet by 4 feet and the height is 1 foot.
Maximum volume: 16 ft3.
Box dimensions: 4 ft by 4 ft by 1 ft.
8. Open-top box with a fixed volume and minimum material
An open-top box has a square base and a volume of 32,000 cm3. Find its dimensions so that the amount of material used, represented by its surface area, is minimized.
Let x be the side length of the square base and y be the height. The volume constraint is
Solve for y:
Because the box has no top, its surface area consists of one square base and four rectangular sides:
Substituting for y gives a one-variable objective:
Differentiate and set the derivative equal to zero:
The second derivative is
It is positive for positive x, so the critical point gives a minimum. The height is
Dimensions: 40 cm by 40 cm for the base, with height 20 cm.
Minimum surface area: 402+4(40)(20)=4800 cm2.

Ask anything
We've read this whole study set, so questions about it get the best answers.