
Amanda S. answered 11/10/23
Experienced College-Level Math Tutor
So first thing with these types of optimization problems, you want to create an equation that will give you the Cost, as that is the final objective of these problems.
Step 1: we create a cost function C(x) that will add up all the pieces of the soup package and how much it costs to make each piece. So if the soup is a cylinder, we have the bottom and the side of the cup made of styrofoam, and the top circle made of paper. The cost of each material will usually be given to you in the problem.
C = 0.04*bottom + 0.04* side + 0.05*top
Step 2 : We need to actually find the equations that describe area of the bottom, top, and side. Thankfully those are also given to you. The side is just the formula for area of a rectangle, and the top and bottoms are areas of circles. So replace those formulas into C.
C = 0.04 (π r2 ) + 0.04 (2π rh ) + 0.05 (π r2)
Distribute and combine any like terms that you can.
C = 0.08π rh+ 0.09π r2
We now have our cost function! Because this is calculus, we can infer that we will have to be taking derivatives to find a minimum cost. But how are we supposed to do anything with this if it has two different variables, r and h?
Step 3: We need to find some equation that has both r and h in it and try to replace it into the cost function. You were actually given that equation: its the V= π r2 * h volume of a cylinder, and we are told we must have a cup with 500cm3 volume, or
500= π r2 * h
We can use this constraint to make the Cost function a function of only one variable. Write this equation in terms of h, meaning the h should be by itself. Divide π r2 from both sides to get
h = 500/ π r2
Step 4: Now we can replace the h variable in the cost function with 500/ π r2
C = 0.08π r(500/π r2) + 0.09π r2
See how there are only r s now? Now we can simplify this and do some calculus!
C = 40/r + 0.09π r2
Step 5: Find the minimum by taking the derivative of this function and find the critical values. This is where you set the derivative equal to zero.
C' = 0.18π r -40/r2
0.18π r -40/r2 = 0
So, doing some algebra, you should see that we have two possible values of r, r = 0 and r = (40/0.18π)1/3
Because we have no interest in making a cup with 0 radius, thus 0 area, we look only at r = (40/0.18π)1/3 to be our radius that will give us the biggest cup for our cost.
To find the corresponding minimum height, just substitute r into that volume equation and solve for h.
h = 500/ π ((40/0.18π)1/3)2
h = 9.3 approx
So a cup with a height of 9.3 and a radius of (40/0.18π)1/3 gives you the most area for the least amount of material. Follow these steps as guidelines for some of your other problems!
- Create a cost function using the different materials and pieces needed. Draw a picture and label it!
- Insert any given geometric formulas into the cost function (this function will now likely have two variables, in this case it was r and h)
- Use a formula with both variables in it and substitute it in (for us it was the Volume formula = 500, we sometimes call this the constraint function, because we are constrained by the problem telling us the cup must have a volume of 500). You should have a cost function with one variable when done.
- Take the derivative of this cost function, set equal to zero to find the critical points.
- Substitute your critical point back into the constraint function to find the other variable.
Doug C.
Graph updated with more detail: desmos.com/calculator/p0oxkhkdax11/10/23