Applied Optimization Problems

From Department of Mathematics at UTSA
Jump to navigation Jump to search

Introduction

Optimization is one of the uses of calculus in the real world. Perhaps we are a pizza parlor and wish to maximize profit. Perhaps we have a flat piece of cardboard and we need to make a box with the greatest volume. How does one go about this process?

This requires the use of maximums and minimums. We know that we find maximums and minimums via derivatives. Therefore, one can conclude that calculus will be a useful tool for maximizing or minimizing (collectively known as "optimizing") a situation.

In general, an optimization problem has a constraint that changes how we view the problem. The wording of the problem (whether subtle or not) can also drastically change how we view the problem. The constraint is the thing we will absolutely not change (such as the general shape, or the amount that we are willing to pay for the entire operation, etc.). If we can identify what we are going to change and what we are going to require stay the same, we will be on our way to solve the problem.

How to Solve

These general steps should be taken in order to complete an optimization problem.

  1. Write out necessary formulas and other pieces of information given by the problem.
    • The problems should have a variable you control and a variable that you want to maximize/minimize.
    • The formulas you find may contain extra variables. Depending on how the question works out, they may be substituted out or can be ignored (which will be explained later).
  2. Combine the formulas together so that the variable you want to maximize/minimize is on one side of the equation and everything else on the other.
  3. Differentiate the formula. If your equation has multiple variables, pick any variable to differentiate as long as it is not the one you control (i.e. pick the variable that you could not get rid of from the formula).
    • Note that during differentiation, if you come across a variable that you have not picked, imagine it as a number and apply the necessary differentiation rule. Do not treat it as a variable in this case.
  4. Set the differentiated formula to equal 0 and solve for the variable you control.
  5. The value you get here is your answer. If you instead have another formula, that means that your answer depends on those other variables, which would usually be what the question asked for if you have such a situation that you have another variable to juggle to begin with.

The reason why this algorithm works comes from a few mathematical theorems which you will probably not need to know when completing these problems. Usually the problems given will be mathematically simple (in other words, there are not a lot of cases to test). However, if you wish to know, they work like this:

  • A derivative of 0 is either a global or local maximum or minimum. Usually the question will tend towards answering that question without much difficulty (like always positive numbers, for example)

Examples

Volume Example

A box manufacturer desires to create a closed box with a surface area of 100 inches squared and with a square base yet rectangular sides. What is the maximum volume that can be formed by bending this material into a box?
  • Write out known formulas and information
  • Write the variable in terms of in the volume equation.
  • Find the derivative of the volume equation in order to maximize the volume
  • Set and solve for
  • Plug-in the value into the volume equation and simplify
Answer:

Volume Example II

Open-top box.svg
It is desired to make an open-top box of greatest possible volume from a square piece of tin whose side is by cutting equal squares out of the corners and then folding up the tin to form the sides. What should be the length of the side of a cut-out square?

If we call the side length of the cut-out squares , then each side of the base of the folded box is , and the height is . Therefore, the volume function is . We must optimize the volume by taking the derivative of the volume function and setting it equal to 0. Since it does not change, is treated as a constant, not a variable.

We can now use the quadratic formula to solve for :

We reject , since it is a minimum (it results in the base length being 0, making the volume 0).

Therefore, the answer is .

Volume Example III

A cylindrical can is required to hold of liquid. Determine the measurements that will minimize the amount of material required to construct the can of specified volume.

This is a classic problem for optimization. The problem is we do not have any specified measurements. Luckily enough, we are given SI units, so we can write what we are given accordingly,

  • Conversion factor: . This means that through dimensional analysis (or basic algebra): . Recall that this is the volume!
  • Volume of a cylinder:
  • Surface area of a cylinder:

Recall what we are trying to minimize: "the amount of material required to construct the can of specified volume." This means the surface area needs to be minimized! The unfortunate part is we have two variables (it is not constant). Luckily, we can use the volume to write in terms of :

We can the substitute this information into the surface area formula and minimize (set the first derivative to zero):

. Eliminate the and .
Set the first derivative equal to zero.

All that is left to do is find the critical values of the operation. This ultimately means to let the numerator equal zero and find what values of make the denominator equal to zero. Here is the operation for the numerator:

Here is the operation for the denominator:

Let us note that we do not care about one of the critical values being equal to zero. This problem is asking us to find the value that makes the condition true but also minimized. While zero does minimize the amount of material used to construct the can, we cannot make a can if we do not show one. This solution would be interesting, however, if we were asked about the graph of . Nevertheless, our final answer may not necessarily be and . We need to verify that the critical value we found is the correct answer. That is where we substitute values for and into the first derivative:

For , let : . For , let : .

Based on these results above, it is clear that is a value that minimizes the function such that it allows us to make a can. Keep in mind, if you do not show that the value we found is a minimum, then this value could also be a maximum. Imagine if that were the case, and we suggested the company to produce a can that would maximize the amount of material used. Potentially millions of dollars of material costs would offset the profit from the optimum. Either way, we have found our answers:

Answer: the radius is and the height is .

Revenue Example

Maximizing revenue
A widget firm has a linear demand function where kilograms of widgets (in hundreds) are shipped and sold to customers. At what price should the widgets be sold such that the revenue is maximized?

The revenue of a firm is calculated by multiplying the quantity sold to the price. Since is the price, and is the quantity sold, . The question is asking us to find the price that will maximize the quantity. This means finding the quantity is the first goal. The final goal is the price found.

Our first goal is finding the quantity that will maximize the revenue. The revenue function is maximized if the slope of the tangent line is zero at a point and the sign of the slope around those points change sign from positive to negative. This is achieved through taking the derivative and applying the first derivative test. This is made easier when the revenue function distributes the :

Let us now take the first derivative:

Set the first derivative equal to zero to find the critical values:

Take note of the original revenue function. Because the revenue function is a quadratic that has its term multiplied by a factor less than 0, it is guaranteed there is only one critical value, and it must be a maximum. The calculus-based approach simply confirms this truth (using the first derivate test):

For any , . For any , . Therefore, the critical value must be a maximum.

All that is left to do is input this domain into the demand function to find the price the widgets should be sold at. This is a simple substitution exercise:

The widgets should be sold at $ to maximize the revenue.


Resources

Licensing

Content obtained and/or adapted from: