Let's call the dimension of the length and width of the base (they are the same since it is a square base. Let's call the height of the box . We want to find the dimensions of a box (x and y) that minimizes the cost of building it but such that it has a prescribed volume (16m ). The volume requirement is known as our constraint and it allows us to find a relationship between our two variables so that we have only one independent variable. The volume is

and so we conclude that

We now need to consider the cost. The total cost will be the sum of building the 4 sides ( ), the base ( ), and the top ( ),

We have that the cost per square metre of the sides is $20 but for now let's call this number . We then have that

where is the area of the sides. We know the top costs half as much per square metre and so,

Similarly the base costs twice as much per square metre,

where and are the base and top areas respectively. In order to continue, we need to write each surface area in terms of our independent variable . The surface area of both the base and the top is

The surface area of each of the sides is

where we have used our relationship for in terms of . We can now write the cost

We seek to find critical points of this function and therefore we take its derivative and set it to zero,

and we see that the only critical point is

Before continuing, it is worth noting that the cost per square metre of the sides (m=$20) was irrelevant information. In order to test if our critical point is indeed a minimum we will use the second derivative test (since there is no closed interval we cannot test the endpoints). The second derivative is,

If we sub in our critical point,

where here we have used the fact that m=20. Since the second derivative is positive, the objective function, is concave up and thus we have a minimum at our critical point. Therefore the dimensions that minimize the cost of producing the box with volume 16m is

|