You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
Now we put our optimization skills to work.
In this section, we will present several worked examples of optimization problems.
Our method for solving these problems is essentially the following:
Draw a picture.
If possible, draw a schematic picture with all the relevant
information.
Determine your goal.
We need identify what needs to be optimized.
Find constraints.
What limitations are set on our optimization?
Solve for a single variable.
Now you should have a function to optimize.
Use calculus to find the extreme values.
Be sure to check your answer!
You are making cylindrical containers to contain a given volume. Suppose that the
top and bottom are made of a material that is times as expensive (cost per unit area)
as the material used for the lateral side of the cylinder. Find (in terms of ) the ratio
of height to base radius of the cylinder that minimizes the cost of making the
containers.
First we draw a picture:
Letting represent the cost of the lateral side, we can write an expression for
the cost of materials: Since we know that , we can use this relationship
to eliminate (we could eliminate , but it’s a little easier if we eliminate ,
which appears in only one place in the above formula for cost). We find
We want to know the minimum value of this function when is in . Setting we
find . Since is positive when is positive, there is a local minimum at the
critical value, and hence a global minimum since there is only one critical
value.
Finally, since ,
so the minimum cost occurs when the height is times the radius. If, for
example, there is no difference in the cost of materials, the height is twice the
radius.
You want to sell a certain number of items in order to maximize your profit. Market
research tells you that if you set the price at $, you will be able to sell items, and for
every cents you lower the price below $ you will be able to sell another items.
Suppose that your fixed costs (‘‘start-up costs’’) total $, and the per item cost of
production (‘‘marginal cost’’) is $. Find the price to set per item and the number of
items sold in order to maximize profit, and also determine the maximum
profit you can get.
The first step is to convert the problem into a function
maximization problem. The revenue for selling items at dollars is given by and the
cost of producing items is given by However, from the problem we see
that the number of items sold is itself a function of , So profit is give by:
We want to know the maximum value of this function when is between 0 and . The
derivative is which is zero when . Since , there must be a local maximum at , and
since this is the only critical value it must be a global maximum as well.
Alternately, we could compute , , and and note that is the maximum of these.
Thus the maximum profit is $, attained when we set the price at $ and sell
items.
If you fit the largest possible cone inside a sphere, what fraction of the volume of the
sphere is occupied by the cone? (Here by ‘‘cone’’ we mean a right circular cone, i.e., a
cone for which the base is perpendicular to the axis of symmetry, and for which the
cross-section cut perpendicular to the axis of symmetry at any point is a circle.)
Let be the radius of the sphere, and let and be the base radius and height of the
cone inside the sphere. Our goal is to maximize the volume of the cone: . The largest
could be is and the largest could be is .
Notice that the function we want to maximize, , depends on two variables. Our next
step is to find the relationship and use it to solve for one of the variables in terms of
the other, so as to have a function of only one variable to maximize. In this
problem, the condition is apparent in the figure, as the upper corner of the
triangle, whose coordinates are , must be on the circle of radius . Write
Solving for , since is found in the formula for the volume of the cone, we
find Substitute this into the formula for the volume of the cone to find
We want to maximize when is between and . We solve finding or . We compute
and The maximum is the latter. Since the volume of the sphere is , the fraction of
the sphere occupied by the cone is
A power line needs to be run from an power station located on the beach to an
offshore facility.
It costs $50/ft. to run a power line along the land, and $130/ft. to run a
power line under water. How much of the power line should be run along the
land to minimize the overall cost? What is the minimal cost?
There are two
immediate solutions that we could consider, each of which we will reject
through ‘‘common sense.’’ First, we could minimize the distance by directly
connecting the two locations with a straight line. However, this requires
that all the wire be laid underwater, the most costly option. Second, we
could minimize the underwater length by running a wire all 5000 ft. along
the beach, directly across from the offshore facility. This has the undesired
effect of having the longest distance of all, probably ensuring a nonminimal
cost.
The optimal solution likely has the line being run along the ground for a while, then
underwater, as the figure implies. We need to label our unknown distances: the
distance run along the ground and the distance run underwater. Recognizing that the
underwater distance can be measured as the hypotenuse of a right triangle, we can
label our figure as follows
By choosing as we did, we make the expression under the square root simple. We
now create the cost function: So we have This function only makes sense on the
interval . While we are fairly certain the endpoints will not give a minimal cost, we
still evaluate at each to verify. We now find the critical points of . We compute as
Recognize that this is never undefined. Setting and solving for , we have:
Evaluating at gives a cost of about . The distance the power line is laid along land
is and the underwater distance is .
We now work a similar problem without concrete numbers.
Suppose you want to reach a point that is located across the sand from a nearby
road.
Suppose that the road is straight, and is the distance from to the closest point on
the road. Let be your speed on the road, and let , which is less than , be your speed
on the sand. Right now you are at the point , which is a distance from . At what
point should you turn off the road and head across the sand in order to
minimize your travel time to ?
Let be the distance short of where you
turn off, the distance from to . We want to minimize the total travel time.
Recall that when traveling at constant velocity, time is distance divided by
velocity.
You travel the distance from to at speed , and then the distance from
to at speed . The distance from to is . By the Pythagorean theorem,
the distance from to is Hence the total time for the trip is We want to
find the minimum value of when is between 0 and . As usual we set and
solve for . Write We find that Notice that does not appear in the last
expression, but is not irrelevant, since we are interested only in critical
values that are in , and is either in this interval or not. If it is, we can
use the second derivative to test it: Since this is always positive there is
a local minimum at the critical point, and so it is a global minimum as
well.
If the critical value is not in it is larger than . In this case the minimum must occur
at one of the endpoints. We can compute
but it is difficult to determine which of these is smaller by direct comparison. If, as is
likely in practice, we know the values of , , , and , then it is easy to determine this.
With a little cleverness, however, we can determine the minimum in general. We
have seen that is always positive, so the derivative is always increasing. We know
that at the derivative is zero, so for values of less than that critical value,
the derivative is negative. This means that , so the minimum occurs when
.
So the upshot is this: If you start farther away from than then you always want to
cut across the sand when you are a distance from point . If you start closer than this
to , you should cut directly across the sand.
With optimization problems you will see a variety of situations that require you to
combine problem solving skills with calculus. Focus on the process. One must learn
how to form equations from situations that can be manipulated into what you need.
Forget memorizing how to do ‘‘this kind of problem’’ as opposed to ‘‘that kind of
problem.’’
Learning a process will benefit one far more than
memorizing a specific technique.