[Math] Optimization – find the dimensions of a box as functions of volume – minimal surface area

functionsmultivariable-calculusoptimization

Had a basic calculus course exam today. This was one of the problems:

We have a rectangular box of a given volume V. Present the width, height, and length of the box as functions of V so that the box can be made with the least amount of materials.
The box has a lid and we can assume the walls have no thickness.

I know this problem is somehow related to multivariable calculus. During the course we have learned the basics of multivariable functions: partial derivatives, directional derivatives, limits, local min/max values and such. How would you use these concepts to solve the task?
I'm pretty sure the box has to be cubical but can't prove it.

Best Answer

The amount of material used to make the sides of the walls is proportial to the surface area of the box. If $l$ is the length, $w$ is the width, and $h$ is the height, then the volume is

$$V = lwh$$

and the surface area (which we'd like to minimize) is

$$S = 2(lw+lh+wh)$$

We can reduce the minimization problem to minimizing a function of two variables if we write one of the three dimensions in terms of the volume and the other two. Let's arbitrarily choose height, so

$$h=\frac{V}{lw}$$

Now the surface area is a function of length and width

$$S(l,w) = 2\left(lw + \frac{V}{w} + \frac{V}{l}\right) = 2\frac{l^2w^2 + Vl+Vw}{lw}$$

Given that you mentioned learning about local min/max values in some multivariable functions, you should be able to minimize $S(l,w)$ from here on. Feel free to ask more questions if you have any. Hope this helps!


By the way, your intuition that the box is cubical is correct. This is a generalization of the square being the rectangle that minimizes perimeter for a fixed area.