M BUZZ CRAZE NEWS
// updates

Minimize Total Cost of Box

By Sarah Rodriguez
$\begingroup$

So there is a rectangular box that has a volume of $8 m^3$. The top and bottom of the box is made with some material that has a cost of $8$ dollars per square meter. The sides are made with another material that costs $1$ dollar per square meter. How can I find the dimensions of the box that would minimize the total cost?

My thoughts:

I first started off with the equation, $V=lwh$. I think that we need to find an equation for cost in which we substitute $h$ into and then solve for two variables, then use the first derivative. I can get the concept but can't get how to work on the mechanics.

$\endgroup$ 9

2 Answers

$\begingroup$

enter image description here

Let $a$ and $b$ denote the horizontal sides of the rectangular box and $c$ its height. One seeks to solve the following problem: \begin{align*} \min_{(a,b,c)\in\mathbb R_+^3}&\left\{8(2ab)+1(2ac+2bc)\right\}\\\text{s.t.}\quad&\,abc=8. \end{align*} Substitute for $c$ using the constraint $c=8/(ab)$ and plug it into the minimand to get, after some rearrangement: $$16 ab+\frac{16}{b}+\frac{16}{a}.$$ I leave it to you to check that this function is minimized at $a=b=1$ (note that it is now an unconstrained minimization problem). Hence, the optimal solution is $$(a^{\star},b^{\star},c^{\star})=(1,1,8).$$

$\endgroup$ 9 $\begingroup$

Given a box of dimensions $l,w,h$ respectively, the surface area of the box is the sum of the surface areas of the top and bottom, given by $lw+lw =2lw$ plus the surface areas of the other 4 faces: $2lh+2wh$ , for a total of $$2lw+2lh+2wh$$. This means that the total cost of he material is $8$(# of meters in top and bottom)+ 1(material on the sides)=$$8(2lw)+1(lh+wh)= 16lw+lh+wh$$ But we must do this while satisfying the condition $lhw=8$ You can do this by Lagrange multipliers, as others pointed out, or you can substitute $lhw=8$ into the original problem and turn the problem into a problem of 2 variables, which I will do here, since others have done examples with Lagrange multipliers: $$16lw+lh+wh $$ becomes then $$ f(h,w)=\frac {128}{h}+\frac{8}{w}+hw= \frac{128w+ 8h +h^2w^2}{hw}$$

Now you have a function of 2 variables and you can use the techniques to find its maxmum and minimum values:

We start considering the partials $f_h, f_w$ and we set them equalto $0$, to find the critical points and we consider the discriminant $D$, with $$D=f_{xx}f_{yy}- f^2_{xy} $$.

And we consider the possibilities:

1)$D>0, f_{xx} <0$ 2)$D>0, f_{xx}>0 $

(There are other possibilities, but let's just consider these for now ).

In the case of $1$ we get a relative maximum, in the case of $2$ we get a relative minimum.

Can you see how to do it?

EDIT: The critical points are $y= 8/x^2 , x= 128/y^2$ , so that

$\endgroup$ 7

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy