Steps to Model Optimization
- Draw a diagram with relevant variables (contextual domain)
- Write a primary equation that contains the optimization variable in its isolated form, often 3+ variables
- Write the secondary equation, which is used to reduce the primary equation down to two variables . This will never contain the optimized variable.
- Use the secondary equation to simplify the primary equation
- Use calculus to evaluate the extrema
Optimization Examples
A soup company wants to manufacture a can in the shape of a right circular cylinder that will hold of liquid. Find the radius and height of the can that minimizes the amount of material used.
We can use the following formulae:
First, we need to set up our primary equation. This is the equation that will contain our ‘goal’ variable. We want to find the surface area, or , so our primary equation can be the normal equation for the surface area of a cylinder, as listed above.
Our secondary equation will be the one that uses the information we are given to start. We were told that the volume of the cylinder should be , so we can just set the volume equation to that.
Our equations will end up looking like this:
Next, we will want to isolate of our variables from the secondary equation, so that we can substitute it into the primary equation and basically ‘transmit’ that information over. The easiest variable to isolate would be , because it is not squared in both the primary and secondary equations, and thus will be easier to work with.
To isolate , we can just use simple algebra:
Then, we will substitute it into the primary equation and slightly simplify:
Now, we want to work on minimizing the values. To do this, we need to take the derivative of with respect to , and set it equal to zero. This is the calculus step where we find the extrema of the function. The derivative of with respect to is:
Now we can take that and set it equal to zero to find :
Now that we have found our radius , we can substitute that number into the secondary equation to derive the height :
So to minimize our surface area, we would need to have a radius of or , and a height of .