← Back to learning objective

Maximizing volume of a box under a length-plus-girth constraint

A shipping company requires that packages satisfy the rule: length + girth ≤ 108 inches, where the girth is the perimeter of the box's cross-section. Consider a box with a square base of side length xx inches and height (length) hh inches. The girth is the perimeter of the square cross-section, so girth =4x= 4x.

To maximize shipping efficiency, the company wants to find the box (with square base of side xx and height hh) satisfying h+4x=108h + 4x = 108 that has the largest possible volume V=x2hV = x^2 h. Find the dimensions xx and hh that maximize the volume, and state the maximum volume.

Hint

Use the constraint h+4x=108h + 4x = 108 to write hh in terms of xx, substitute into V=x2hV = x^2h to get a function of one variable, then find its critical point on the physically meaningful domain 0<x<270 < x < 27.

Step-by-step solution

From the constraint h+4x=108h + 4x = 108, solve for hh to get h=108−4xh = 108 - 4x. Substituting into the volume formula gives V(x)=x2(108−4x)=108x2−4x3V(x) = x^2(108-4x) = 108x^2 - 4x^3, a function of the single variable xx, defined for 0<x<270 < x < 27 (since h>0h>0 requires x<27x<27, and x>0x>0 for a physical box).

Differentiate: V′(x)=216x−12x2=12x(18−x)V'(x) = 216x - 12x^2 = 12x(18 - x). Setting V′(x)=0V'(x)=0 gives x=0x=0 or x=18x=18; only x=18x=18 lies in the open domain. Since V′(x)>0V'(x)>0 for x<18x<18 and V′(x)<0V'(x)<0 for x>18x>18, this is a maximum. Then h=108−4(18)=36h = 108 - 4(18) = 36, and the maximum volume is V=182⋅36=11664V = 18^2 \cdot 36 = 11664 cubic inches.

Maximizing volume of a box under a length-plus-girth constraint — solution graph

Ratio of height to base side at maximum volume

Hint
Step-by-step solution

At the optimum, the base side is eighteen inches and the height is thirty six inches. Dividing thirty six by eighteen gives two, so the height is exactly twice the base side length. This ratio comes directly from the critical point found by setting the derivative of the volume function equal to zero. The answer is two, or twice.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap