Interactive · 2 questions
To solve optimization problems, follow the steps below.
If you are presented with a word problem, turns the situation into a math problem. Consider the optimization issue that has been presented and ask yourself the question what function am I optimizing? The optimization can be a maximization or a minimization.
Next, once you have your function to find the maxima/minima of, realize that you can only do this if you find the derivative of . We may need higher-order derivatives but start by finding .
Just to review once you have found what do we have to solve to get the -values over which is optimized?
Once you have found all for which , you know where there are local minima and maxima. That might me all you are interested in. But if not, you want to read on.
Don't forget to check if the domain you are considering contains the values of you obtained. If none of the values you found are in the domain, there is no point of interest. If, however, there is, you know there is at least one absolute extremum.
One question we might ask, for each value of , is at this point, do we encounter a local minimum or maximum? You should know the answer to this!
The Second Derivative Test! If you find that at a point , we have and , we have a local maximum. If we have and , we have a local minimum. The intuition for this is explained in the Second Derivative Test section.
So what's left? Of course, the equality case. If and , the test is not informative, and instead you should look for nearby values of and try to decide if, at , you have a local maximum or a local minimum.
Now that we know all the basics, let's try our hands at an optimization problem. First, you solve it. Then, we discuss it. The below problem is a classic so if we were to give credits to a particular source, it would be unfair.
We need to enclose a field with a fence. We have feet of fencing material and a building is on one side of the field and so won't need any fencing. Compute the largest possible enclosed area and enter your answer in , without units.
Solution. First, let's ignore units, since we are working in feet and we know it. Let the horizontal dimension be and let the vertical dimension be . Let us say the side missing is a horizontal side. Thus, the perimeter is and the area is . We know that the perimeter is , so we have the equation Let the area function, in terms of , be . Then, we have Now, if you have taken algebra, you realize that this is a parabola and you can probably optimize without calculus, but this is how we practice!
First, we note that and we set and solve to get Hence, the area is optimized when . If we wanted to verify that this is indeed a maximum, we could use the second derivative test to get Hence, we indeed have a maximum.
The maximum area is, thus, (square feet).