Mathematics 265 Introduction to Calculus I
Study Guide :: Unit 5
Applications of the Derivative
Optimization Problems
Prerequisites
To complete this section, you must be able to
- state and apply Pythagoras’ Theorem.
- determine when two triangles are similar.
- state and apply the laws of sines and cosines.
- apply geometric formulas of areas, volumes and surface areas of regular solids.
As we have seen (see Definition 5.9), the extreme values of a function correspond to the optimum values represented by the function. The type of problem we solve in this section requires us to find the maximum or the minimum values—which may turn to be the best or the worse, the largest or the smallest, etc.—of a function. That is, we must find the optimum value for a given situation.
The key to solving optimization problems is establishing the quantity $f$ that we want to maximize or minimize, and then constructing a function $f(x)$ that depends on a single quantity, $x$. Thus, if we want to maximize or minimize $f$, we look for the maximum or minimum value of $f$ for certain range of $x$. There are basically three ways to find these values. We have already considered two of them: finding the intervals of increase and decrease (see Remark 5.4), and the closed interval method. The third method is known as the second derivative test.
Second Derivative Test
Let be continuous at $c$. Then,
- if and , then $f$ has a local minimum at $c$.
- if and , then $f$ has a local maximum at $c$.
The methods we discussed earlier are always conclusive; however, the second derivative test may not be conclusive if . For instance, for and , it is true that and , but it is also true that and . In the case of the function $f$, there is no local extreme value at , and in the case of $g$, there is a local minimum at . Hence, when , we must use one of the other methods to find the extreme values.
Remember that the closed interval method only applies to continuous functions on closed intervals.
The graph of the quadratic function with is a parabola; hence, it has either an absolute maximum or an absolute minimum. We can use the second derivative test to see that this statement is true:
hence,
and
So, at
the function $f$ has an absolute minimum, if , or an absolute maximum, if .
The function has an absolute minimum, because , and that point is at
So, the absolute minimum value is
The function has an absolute maximum. [Why?] This value occurs at
and the absolute maximum value is .
Example 5.52. If we consider the function restricted to the interval , we see from Example 5.51 that the absolute minimum is outside this interval. Hence, by the closed interval method, the absolute extreme values are at the endpoints: is the absolute minimum value, and is the absolute maximum value.
Optimization problems always have limitations—that is, constraints. These constraints lead to a constraint equation that we must often establish to obtain a function $f(x)$ of only one variable $x$.
On page 240 of the textbook, the author presents a suggested strategy for solving optimization problems. Read it carefully, before continuing with the next examples.
Example 5.53. Read Example 1 on pages 240-241 of the textbook. In this Example the question is, “What are the dimensions of the field that has the largest area?” This tells us that we want to maximize the area of the field.
The area of the field depends on the dimensions $x$ (width) and $y$ (length); that is,
Since we need a function of with only one variable, we use the constraint conditions; in this case, the fenced perimeter of the field must be (is limited to) ft. Hence, the constraint equation is
To obtain a function of one variable, we solve for either $x$ or $y$ from the constraint equation, and we substitute it into the function . In this case, we chose $y$, and . Observe that . [Why?]
The function is a quadratic function; it has a maximum because the coefficient is negative.
Thus, the absolute maximum for the function is at
which is within the limits of and .
Note that is one of the dimensions of the field that gives the maximum area; the other is .
This result answers the question: the dimensions are ft. The maximum area for these dimensions is ft.
Compare this solution with the one given in your textbook.
We did not need to use the second derivative test, since we know where the maximum or minimum occurs in the case of quadratic functions.
Example 5.54. [See Exercise 3 on page 245 of the textbook.]
Find two positive numbers whose product is and whose sum is a minimum.
We want to minimize the sum of two positive numbers, say $x$ and $y$; hence, is to be minimized with the constraint that their product must be . Therefore, is the constraint equation.
Solving for $y$ from this equation we find that
Therefore,
is a function of one variable, and . [Why?]
We need to find the minimum of this function. By the second derivative test, we have
and
so has a minimum if (which is within its range) and .
We cannot use the closed interval method, because $x$ is on the open interval
Example 5.55. [See Exercise 31(a) on page 246 of the textbook.]
A piece of wire m long is cut into two pieces. One piece is bent into a square, and the other into a equilateral triangle. How should the wire be cut such that the total area is a maximum?
We want to maximize the total area of the square and the triangle. [Recall, from Example 2.27, that the height of an equilateral triangle of side $y$ is .]
If $x$ is the side of the square and $y$ is the side of the triangle, then
The perimeters of the square and the triangle must be equal to the length of the wire; hence, . Solving for $y$, we find that
and the area is
Doing the operations and simplifying, we find
The area function is a quadratic with an absolute minimum, and we are looking for the absolute maximum of . Thus, we use the closed interval method on . The maximum is at the endpoints, since the absolute minimum is at the critical point. However,
Therefore, the maximum area occurs when . This result means that the wire should be used to do only a square.
Note: Optimization problems may be challenging: you must identify your variables and use whatever you know that relates to the problem. Nothing is gained if you do not learn to overcome challenges. Remember that time and dimensions are positive variables.
For help with the concept of optimization, view the PowerPoint tutorials below. To access a tutorial:
- Click on the file to open it.
- Extract the files and save them to your computer’s hard drive.
- Click on the file folder to open it.
- Click on the PowerPoint file to view and listen.
Note: If you don’t have PowerPoint installed on your computer, you can download the PowerPoint Viewer from here: https://support.office.com/en-za/article/View-a-presentation-without-PowerPoint-2010-2f1077ab-9a4e-41ba-9f75-d55bd9b231a6.
Exercises
- Consider the polynomial with . Use the second derivative test to show that has a local extreme value if .
- Read Examples 2, 3, 4 and 5 on pages241-244 of the textbook.
- Do at least the odd-numbered exercises from 3 to 33 on pages 245-246.