
Michael H. answered 11/06/19
High School Math, Physics, Computer Science & SAT/GRE/AP/PRAXIS Prep
Let x = length of a side to the square base of the box.
Let y = length of the height of the box.
The Volume of the box = x*x*y = (x2)*(y) = yx2. We are told that the volume is $45. Hence, the two variables x and y, are related to each other as follows:
yx2 = 45
The cost of the material used for the top and bottom is $5 per ft2. The area of the top is x2, so the cost of the top is 5x2. The bottom costs the same: 5x2 because it is made of the same material and has the same dimensions.
The cost of the material use for the sides is $10 per square ft2. The area of each side is x*y, and there are four sides. Thus the cost of the sides is 10 * x*y * 4 = 40xy.
The total cost of the material used to construct the box is C(x,y) = 5x2 + 5x2 + 40xy = 10x2 + 40xy.
We seek to determine the values of x and y that minimize C(x,y). To do that, we first solve for y:
y = 45 / x2
We now substitute for y in our cost function:
C(x,y) = 10x2 + 40xy
C(x) = 10x2 + 40x*(45/x2)
= 10x2 + 1800/x
It is instructive to look at a graph of C(x) vs. x:
https://www.desmos.com/calculator/4cs2qadtvb
From the graph, we see the minimum cost is achieved at x = 4.481 ft.
From y = 45 / x2, we get that the minimum cost is achieved when y = 45 / 4.4812 = 2.2411 ft.
Having arrived at the graphical answer, let us determine the answer using Calculus:
C(x) = 10x2 + 1800/x
C'(x) = 20x - 1800/x2 = 0
or
20x = 1800/x2
Simplifying, we get
x3 = 90
x = 4.481, same as before.