My friend Megan Goering asks what is the largest volume box you can send through Fedex given that length + twice the width + twice the height must be less than 165 inches. It might seem odd to care about only the volume instead of the dimensions, but it makes sense if you’re shipping walnuts, balloons or bows for Christmas presents. Anything pourable, that is.
Here’s my solution. Say that the dimensions are
,
and
. Then we can write the problem as

First, observe that if
, then the product
can be increased by increasing any one of the dimensions. Therefore, the maximum will occur when
. Thus, we can eliminate
because
Here is the problem

The constraints impose that the maximum be achieved in a triangular area with one vertex at the origin and the other two each on one of the
and
axes. Notice that if we use a point
on the border of this triangular region, the product
will be equal to 0, so this is clearly not the maximum. Therefore, the maximum occurs on the inside of the triangle. This is important, because it means that the maximum is some sort of “bump” which means the problem can be solved directly with calculus.
We want to maximize
. The choice of
and
that achieves the maximum is unaffected by multiplying that product by a positive constant, so use this opportunity to get rid of the
. Let
. Then

Thus, in order for the maximum to be achieved, we need both derivatives to be equal to 0. Thus, we need

Which is, conveniently enough, two equations in two variables, so we can probably solve this. First simplify as

Then as

And finally

and we get

from Equation (1).
Thus the maximum volume you can send using this Fedex rule is
cubic inches, or about 24 cubic feet. This many walnuts weighs over 300 kg, so presumably the problem was motivated by something lighter.



Daniel Grossberg said
You should submit this one to Dr. Math (the leading blog for such things). I think he’d like it.