Section 4.4 : Finding Absolute Extrema
It’s now time to see our first major application of derivatives in this chapter. Given a continuous function, \(f\left( x \right)\), on an interval \(\left[ {a,b} \right]\) we want to determine the absolute extrema of the function. To do this we will need many of the ideas that we looked at in the previous section.
First, since we have a closed interval (i.e. and interval that includes the endpoints) and we are assuming that the function is continuous the Extreme Value Theorem tells us that we can in fact do this. This is a good thing of course. We don’t want to be trying to find something that may not exist.
Next, we saw in the previous section that absolute extrema can occur at endpoints or at relative extrema. Also, from the previous section that we know that the list of critical points is also a list of all possible relative extrema. So, the endpoints along with the list of all critical points will in fact be a list of all possible absolute extrema.
Now we just need to recall that the absolute extrema are nothing more than the largest and smallest values that a function will take so all that we really need to do is get a list of possible absolute extrema, plug these points into our function and then identify the largest and smallest values.
Here is the procedure for finding absolute extrema.
Finding Absolute Extrema of \(f\left( x \right)\) on \(\left[ {a,b} \right]\)
- Verify that the function is continuous on the interval \(\left[ {a,b} \right]\).
- Find all critical points of \(f\left( x \right)\) that are in the interval \(\left[ {a,b} \right]\). This makes sense if you think about it. Since we are only interested in what the function is doing in this interval we don’t care about critical points that fall outside the interval.
- Evaluate the function at the critical points found in step 1 and the end points.
- Identify the absolute extrema.
There really isn’t a whole lot to this procedure. We called the first step in the process step 0, mostly because all of the functions that we’re going to look at here are going to be continuous, but it is something that we do need to be careful with. This process will only work if we have a function that is continuous on the given interval. The most labor intensive step of this process is the second step (step 1) where we find the critical points. It is also important to note that all we want are the critical points that are in the interval.
Let’s do some examples.
All we really need to do here is follow the procedure given above. So, first notice that this is a polynomial and so is continuous everywhere and therefore is continuous on the given interval.
Now, we need to get the derivative so that we can find the critical points of the function.
\[g'\left( t \right) = 6{t^2} + 6t - 12 = 6\left( {t + 2} \right)\left( {t - 1} \right)\]It looks like we’ll have two critical points, \(t = - 2\) and \(t = 1\). Note that we actually want something more than just the critical points. We only want the critical points of the function that lie in the interval in question. Both of these do fall in the interval as so we will use both of them. That may seem like a silly thing to mention at this point, but it is often forgotten, usually when it becomes important, and so we will mention it at every opportunity to make sure it’s not forgotten.
Now we evaluate the function at the critical points and the end points of the interval.
\[\begin{align*}g\left( { - 2} \right) & = 24\hspace{1.0in} & g\left( 1 \right) & = - 3\\ g\left( { - 4} \right) &= - 28\hspace{1.0in} & g\left( 2 \right) & = 8\end{align*}\]Absolute extrema are the largest and smallest the function will ever be and these four points represent the only places in the interval where the absolute extrema can occur. So, from this list we see that the absolute maximum of \(g\left( t \right)\) is 24 and it occurs at \(t = - 2\) (a critical point) and the absolute minimum of \(g\left( t \right)\) is -28 which occurs at \(t = - 4\) (an endpoint).
In this example we saw that absolute extrema can and will occur at both endpoints and critical points. One of the biggest mistakes that students make with these problems is to forget to check the endpoints of the interval.
Note that this problem is almost identical to the first problem. The only difference is the interval that we’re working on. This small change will completely change our answer however. With this change we have excluded both of the answers from the first example.
The first step is to again find the critical points. From the first example we know these are \(t = - 2\) and \(t = 1\).. At this point it’s important to recall that we only want the critical points that actually fall in the interval in question. This means that we only want \(t = 1\) since \(t = - 2\) falls outside the interval.
Now evaluate the function at the single critical point in the interval and the two endpoints.
\[g\left( 1 \right) = - 3\hspace{0.5in}g\left( 0 \right) = 4\hspace{0.5in}g\left( 2 \right) = 8\]From this list of values we see that the absolute maximum is 8 and will occur at \(t = 2\) and the absolute minimum is -3 which occurs at \(t = 1\).
As we saw in this example a simple change in the interval can completely change the answer. It also has shown us that we do need to be careful to exclude critical points that aren’t in the interval. Had we forgotten this and included \(t = - 2\) we would have gotten the wrong absolute maximum!
This is the other big mistakes that students make in these problems. All too often they forget to exclude critical points that aren’t in the interval. If your instructor is anything like me this will mean that you will get the wrong answer. It’s not too hard to make sure that a critical point outside of the interval is larger or smaller than any of the points in the interval.
Determine the minimum and maximum population in the first 4 months.
The question that we’re really asking is to find the absolute extrema of \(P\left( t \right)\) on the interval \(\left[ {0,4} \right]\). Since this function is continuous everywhere we know we can do this.
Let’s start with the derivative.
\[P'\left( t \right) = 3 + 4\cos \left( {4t} \right)\]We need the critical points of the function. The derivative exists everywhere so there are no critical points from that. So, all we need to do is determine where the derivative is zero.
\[\begin{align*}3 + 4\cos \left( {4t} \right) & = 0\\ \cos \left( {4t} \right) & = - \frac{3}{4}\end{align*}\]The solutions to this are,
\[\begin{array}{*{20}{c}}{4t = 2.4189 + 2\pi n,\,\,\,\,n = 0, \pm 1, \pm 2, \ldots }\\{4t = 3.8643 + 2\pi n,\,\,\,\,n = 0, \pm 1, \pm 2, \ldots }\end{array}\hspace{0.25in} \Rightarrow \hspace{0.25in}\begin{array}{*{20}{c}}{t = 0.6047 + \displaystyle \frac{{\pi n}}{2},\,\,\,\,n = 0, \pm 1, \pm 2, \ldots }\\{t = 0.9661 + \displaystyle \frac{{\pi n}}{2},\,\,\,\,n = 0, \pm 1, \pm 2, \ldots }\end{array}\]So, these are all the critical points. We need to determine the ones that fall in the interval \(\left[ {0,4} \right]\). There’s nothing to do except plug some \(n\)’s into the formulas until we get all of them.
\(n = 0\) :
\[t = 0.6047\hspace{1.0in}t = 0.9661\]We’ll need both of these critical points.
\(n = 1\)
\[t = 0.6047 + \frac{\pi }{2} = 2.1755\hspace{1.0in}t = 0.9661 + \frac{\pi }{2} = 2.5369\]We’ll need these.
\(n = 2\)
\[t = 0.6047 + \pi = 3.7463\hspace{1.0in}t = 0.9661 + \pi = 4.1077\]In this case we only need the first one since the second is out of the interval.
There are five critical points that are in the interval. They are,
\[0.6047,\,\,\,0.9661,\,\,\,2.1755,\,\,\,2.5369,\,\,\,3.7463\]Finally, to determine the absolute minimum and maximum population we only need to plug these values into the function as well as the two end points. Here are the function evaluations.
\[\begin{align*}P\left( 0 \right) & = 100.0\hspace{1.0in} & P\left( 4 \right) & = 111.7121\\ P\left( {0.6047} \right) & = 102.4756\hspace{1.0in} & P\left( {0.9661} \right) & = 102.2368\\ P\left( {2.1755} \right) & = 107.1880\hspace{1.0in} & P\left( {2.5369} \right) & = 106.9492\\ P\left( {3.7463} \right) & = 111.9004 & & \end{align*}\]From these evaluations it appears that the minimum population is 100,000 (remember that \(P\) is in thousands…) which occurs at \(t = 0\) and the maximum population is 111,900 which occurs at \(t = 3.7463\).
Make sure that you can correctly solve trig equations. If we had forgotten the \(2\pi n\) we would have missed the last three critical points in the interval and hence gotten the wrong answer since the maximum population was at the final critical point.
Also, note that we do really need to be very careful with rounding answers here. If we’d rounded to the nearest integer, for instance, it would appear that the maximum population would have occurred at two different locations instead of only one.
Determine the minimum and maximum amount of money in the account during the first 10 years that it is open.
Here we are really asking for the absolute extrema of \(A\left( t \right)\) on the interval \(\left[ {0,10} \right]\). As with the previous examples this function is continuous everywhere and so we know that this can be done.
We’ll first need the derivative so we can find the critical points.
\[\begin{align*}A'\left( t \right) & = - 10{{\bf{e}}^{5 - \frac{{{t^2}}}{8}}} - 10t{{\bf{e}}^{5 - \frac{{{t^2}}}{8}}}\left( { - \frac{t}{4}} \right)\\ & = 10{{\bf{e}}^{5 - \frac{{{t^2}}}{8}}}\left( { - 1 + \frac{{{t^2}}}{4}} \right)\end{align*}\]The derivative exists everywhere and the exponential is never zero. Therefore, the derivative will only be zero where,
\[ - 1 + \frac{{{t^2}}}{4} = 0\hspace{0.25in}\,\,\,\, \Rightarrow \hspace{0.25in}\,\,{t^2} = 4\hspace{0.5in} \Rightarrow \hspace{0.25in}\,\,\,\,t = \pm 2\]We’ve got two critical points, however only \(t = 2\) is actually in the interval so that is only critical point that we’ll use.
Let’s now evaluate the function at the lone critical point and the end points of the interval. Here are those function evaluations.
\[A\left( 0 \right) = 2000\hspace{0.5in}A\left( 2 \right) = 199.66\hspace{0.5in}A\left( {10} \right) = 1999.94\]So, the maximum amount in the account will be $2000 which occurs at \(t = 0\) and the minimum amount in the account will be $199.66 which occurs at the 2 year mark.
In this example there are two important things to note. First, if we had included the second critical point we would have gotten an incorrect answer for the maximum amount so it’s important to be careful with which critical points to include and which to exclude.
All of the problems that we’ve worked to this point had derivatives that existed everywhere and so the only critical points that we looked at were those for which the derivative is zero. Do not get too locked into this always happening. Most of the problems that we run into will be like this, but they won’t all be like this.
Let’s work another example to make this point.
Again, as with all the other examples here, this function is continuous on the given interval and so we know that this can be done.
First, we’ll need the derivative and make sure you can do the simplification that we did here to make the work for finding the critical points easier.
\[\begin{align*}Q'\left( y \right) & = 3{\left( {y + 4} \right)^{\frac{2}{3}}} + 3y\left( {\frac{2}{3}} \right){\left( {y + 4} \right)^{ - \frac{1}{3}}}\\ & = 3{\left( {y + 4} \right)^{\frac{2}{3}}} + \frac{{2y}}{{{{\left( {y + 4} \right)}^{\frac{1}{3}}}}}\\ & = \frac{{3\left( {y + 4} \right) + 2y}}{{{{\left( {y + 4} \right)}^{\frac{1}{3}}}}}\\ & = \frac{{5y + 12}}{{{{\left( {y + 4} \right)}^{\frac{1}{3}}}}}\end{align*}\]So, it looks like we’ve got two critical points.
\[\begin{align*}y & = - 4\hspace{0.5in} & & {\mbox{Because the derivative doesn't exist here.}}\\ y & = - \frac{{12}}{5} \hspace{0.5in} & & {\mbox{Because the derivative is zero here.}}\end{align*}\]Both of these are in the interval so let’s evaluate the function at these points and the end points of the interval.
\[\begin{align*}Q\left( { - 4} \right) & = 0 & \hspace{0.5in} & & Q\left( { - \frac{{12}}{5}} \right) & = - 9.849\\ Q\left( { - 5} \right) & = - 15 & \hspace{0.5in} & & Q\left( { - 1} \right) & = - 6.241\end{align*}\]The function has an absolute maximum of zero at \(y = - 4\) and the function will have an absolute minimum of -15 at \(y = - 5\).
So, if we had ignored or forgotten about the critical point where the derivative doesn’t exist (\(y = - 4\)) we would not have gotten the correct answer.
In this section we’ve seen how we can use a derivative to identify the absolute extrema of a function. This is an important application of derivatives that will arise from time to time so don’t forget about it.