Post

Created by @nathanedwards
 at November 9th 2023, 8:36:13 pm.

Optimization Problem:

A cylindrical can of height hh and radius rr is to be made. The cost of the material used for the side of the can is CC per square unit, and the cost of the material used for the top and bottom of the can is 2C2C per square unit. Find the dimensions of the can that minimize the cost of the material.

Note: The volume of a cylinder is given by V=πr2hV = \pi r^2 h, and the surface area is given by S=2πr2+2πrhS = 2\pi r^2 + 2\pi rh.


Before we start, let's define the variables and the objective function:

  • Let rr be the radius of the can (in units)
  • Let hh be the height of the can (in units)
  • Let CC be the cost per square unit for the side of the can (in cost units)
  • Let 2C2C be the cost per square unit for the top and bottom of the can (in cost units)
  • Let AA be the total cost of the material used for the can, which we want to minimize (in cost units)

The objective function we want to minimize is:

A=C(Sside)+2C(Stop/bottom)A = C(S_{\text{side}}) + 2C(S_{\text{top/bottom}})

Now we can determine the expressions for the surface area of the side and the top/bottom of the can:

  • The surface area of the side of the can SsideS_{\text{side}} is given by 2πrh2\pi rh.
  • The surface area of the top and bottom of the can Stop/bottomS_{\text{top/bottom}} is given by 2πr22\pi r^2.

Substituting these expressions into the objective function, we have:

A=C(2πrh)+2C(2πr2)A = C(2\pi rh) + 2C(2\pi r^2)

Now we need to consider the constraint of the problem, which is the volume of the can. The volume VV is given by:

V=πr2hV = \pi r^2 h

However, we are not directly interested in the volume. Instead, we want to express the height hh in terms of the radius rr and the volume VV, so that we can eliminate the variable hh from our objective function.

Rearranging the equation for the volume, we get:

h=Vπr2h = \frac{V}{\pi r^2}

Substituting this expression for hh into our objective function, we have:

A(r)=C(2πrVπr2)+2C(2πr2)A(r) = C(2\pi r \cdot \frac{V}{\pi r^2}) + 2C(2\pi r^2)

Simplifying, we can cancel the common factors:

A(r)=2CV+4Cπr2A(r) = 2CV + 4C\pi r^2

Our objective now is to find the value of rr that minimizes the function A(r)A(r).

To find the minimum of the function, we take the derivative of A(r)A(r) with respect to rr and set it equal to zero:

A(r)=8Cπr=0A'(r) = 8C \pi r = 0

Solving for rr, we find:

r=0r = 0

Since a radius of 0 would not make sense for our context, this solution is not possible.

Hence, there is no critical point, but there is an endpoint at r=0r = 0.

Therefore, we need to consider the endpoints of the possible values for rr, as well as any critical points if they exist. In our case, we only have the endpoint r=0r = 0.

Now we need to evaluate the objective function A(r)A(r) at the endpoint and compare it to the values at the critical points (if they exist) to determine the minimum.

Let's evaluate the objective function at the endpoint:

A(0)=2CV+4Cπ(0)2=2CVA(0) = 2CV + 4C\pi (0)^2 = 2CV

Thus, the cost A(0)A(0) is only 2CV2CV since one of the dimensions is zero.

In conclusion, the only possible solution for minimizing the cost of the material is when the radius r=0r = 0, and the height hh can assume any value.