Nathan Wakefield, Christine Kelley, Marla Williams, Michelle Haver, Lawrence Seminario-Romero, Robert Huben, Aurora Marks, Stephanie Prahl, Based upon Active Calculus by Matthew Boelkins
What are the differences between finding relative extreme values and global extreme values of a function?
How is the process of finding the global maximum or minimum of a function over the function’s entire domain different from determining the global maximum or minimum on a restricted domain?
For a function that is guaranteed to have both a global maximum and global minimum on a closed, bounded interval, what are the possible points at which these extreme values occur?
We have seen that we can use the first derivative of a function to determine where the function is increasing or decreasing, and the second derivative to know where the function is concave up or concave down. This information helps us determine the overall shape and behavior of the graph as well as whether the function has relative extrema.
Remember the difference between a relative maximum and a global maximum: there is a relative maximum of at if for all near, while there is a global maximum at if for all in the domain of .
For instance, in Figure 3.18 at the right, we see a function that has a global maximum at and a relative maximum at , since is greater than or equal to for every value of , while is only greater than or equal to the value of for near . Since the function appears to decrease without bound, has no global minimum, although there is a relative minimum at .
Figure3.18.A function with a global maximum, but no global minimum.
When determining global extrema, the long-run behavior of the function, that is, the behavior of the function as goes to or , must be considered. In many instances, the long run behavior can be determined using basic limit properties. For now, if basic limit properties are not sufficient, determine the long-run behavior by looking at a graph of the function using any online graphing calculator. There are more tools for determining limiting behavior of functions that will be considered in a later section; then visualizing a graph won’t be necessary.
Our emphasis in this section is on finding the global extreme values of a function (if they exist), either over its entire domain or on some restricted portion.
Example3.19.
Let .
Determine all of the critical numbers of .
Construct a first derivative sign chart for and thus determine all intervals on which is increasing or decreasing.
Does have a global maximum? If so, why, and what is its value and where is the maximum attained? If not, explain why.
Determine and .
Explain why for every value of .
Does have a global minimum? If so, why, and what is its value and where is the minimum attained? If not, explain why.
Hint.
What is true about when is a critical number of ?
Remember that on a given interval of the first derivative sign chart for , the derivative should have the same sign everywhere, so you only need to test at a single point on the interval.
What does the chart from (b) tell you? Thinking about the algebraic structure of can also support your reasoning.
What happens to for large values of ? What happens to its reciprocal?
for every value of .
Think about the long-run behavior of that you found in (d).
Answer.
is the only critical number of .
is increasing on and decreasing on .
has a global maximum of at the point .
.
for every value of .
has a horizontal asymptote at but no global minimum.
Solution.
We first notice that the domain of is all real numbers, since the denominator of is always at least :
.
To differentiate , we will first rewrite as
and then use the chain rule to find
.
The denominator of is always at least for the same reason that the denominator of is always at least , so there are no points for which does not exist. Thus the only critical number(s) of will occur when . This happens when
.
Thus the only critical number of is , with .
As stated in (a), the denominator of is always at least , so in particular, it is always positive. On our first derivative sign chart, the only critical number we have is , which splits the domain of and into the intervals and . Thinking of the factors of as ,, and , the signs of these at are “”, with the final product positive. Likewise, the signs of these factors at are “”, making the final product negative. Therefore on the interval , and on the interval . Hence is increasing on and decreasing on .
According to the first derivative test, the point is a relative maximum of . Since this is the only critical point of the function and is continuous everywhere, there is nowhere else that can change direction. It follows that this point is actually a global maximum.
From an algebraic standpoint, we have already observed that for every value of . Consequently,
for every value of , and this quotient achieves its maximum of when . Hence
for every value of . Since , we conclude that the global maximum of is at .
The symmetry of about allows us to compute both limits simultaneously. We first note that and . Thus
.
This tells us the graph of has a horizontal asymptote of .
In (c), we stated the inequality
.
Since the quotient in the formula for is always strictly greater than zero, adding to the quotient to obtain will always yield a value strictly greater than .
Since for every value of , a global minimum of (if it existed) would necessarily be larger than . But we showed in (d) that , meaning that gets arbitrarily close to as gets large. Moreover, is always positive for and is always negative for , so a lowest point of is never attained.
In both Figure 3.18 and Example 3.19 above, we were interested in finding the global minimum and global maximum for on its entire domain. At other times, we might focus on some restriction of the domain.
For example, rather than considering for every value of , perhaps instead we are only interested in those for which , and we would like to know which values of in the interval produce the largest possible and smallest possible values of . We are accustomed to critical numbers playing a key role in determining the location of extreme values of a function; now, by restricting the domain to an interval it makes sense that the endpoints of the interval will also be important to consider, as we see in the following example. When limiting ourselves to a particular interval, we will often refer to the absolute maximum or minimum value, rather than the global maximum or minimum.
Example3.20.
Let .
Find all critical numbers of that lie in the interval .
Use a graphing utility to construct the graph of on the interval .
From the graph, determine the -values at which the absolute minimum and absolute maximum of occur on the interval .
How do your answers change if we instead consider the interval ?
What if we instead consider the interval ?
Hint.
Check that each critical number you find satisfies .
On the graph, look for the lowest and highest possible values of the function.
Ask yourself the same questions as (a)-(c), simply using the new interval.
Ask yourself the same questions as (a)-(c), simply using the new interval.
Answer.
.
Below is the graph of replicated three times, with critical points and endpoints of each interval marked. On the left, we have the interval for (c); the middle shows the interval for (d); the right displays the interval for (e).
On , has a global maximum at and a global minimum at .
On , has a global maximum at and a global minimum at .
On , has a global maximum at and a global minimum at .
Solution.
Since , the critical numbers of are , both of which lie in the interval .
Below is the graph of replicated three times, with critical points and endpoints of each interval marked. On the left, we have the interval for (c); the middle shows the interval for (d); the right displays the interval for (e).
On , has a global maximum at and a global minimum at .
On , has a global maximum at and a global minimum at .
On , has a global maximum at and a global minimum at .
Example 3.20 showed how the absolute maximum and absolute minimum of a function on a closed, bounded interval depend not only on the critical numbers of the function, but also on the values of and . In fact, the interval we choose has nearly the same influence on extreme values as the function under consideration. For instance, Figure 3.21 below depicts again the graph of that we looked at in Example 3.20.
From left to right, the interval under consideration is changed from to to .
There are two critical numbers on the interval ; the absolute minimum is at one critical number and the absolute maximum is at the right endpoint.
On the interval , both critical numbers are again in the interval. One critical value is still the absolute minimum; however, the absolute maximum is now at the other critical number rather than at the right endpoint.
Only one critical number lies on the interval . That critical number gives the absolute maximum; the absolute minimum is at the right endpoint.
If is a continuous function on a closed and bounded interval , then attains both an absolute minimum and absolute maximum on . That is, there is some value in such that for all in . Similarly, there is a value in such that for all in . Letting and , it follows that for all in .
The Extreme Value Theorem tells us that on any closed and bounded interval , a continuous function has to achieve both an absolute minimum and an absolute maximum. The theorem does not tell us where these extreme values occur, only that they must exist. As we saw in Example 3.20, the only possible locations for relative extrema are at the endpoints of the interval or at a critical number. It is important to consider only the critical numbers that lie within the interval.
We now have the following approach to finding the absolute maximum and minimum of a continuous function on the interval :
Find all critical numbers of that lie in the interval.
Evaluate the function at each critical number in the interval and at each endpoint of the interval.
From among these function values, the smallest is the absolute minimum of on the interval, while the largest is the absolute maximum.
Example3.22.
Find the exact absolute maximum and minimum of each function on the stated interval.
on
on
on
on
on ; assume
on ; assume
Hint.
After computing , factor to write the derivative as a product.
The sine and cosine functions share the same value at for any integer .
Upon finding , factor its numerator.
Remember that is never zero. Also, notice that is not a bounded interval.
After differentiating, remove a factor of .
Compare to part (d).
Answer.
Absolute maximum: ; absolute minimum: .
Absolute maximum: ; absolute minimum: .
Absolute maximum: ; absolute minimum: .
Absolute minimum: ; no absolute maximum.
Absolute maximum: ; absolute minimum: .
Absolute minimum: ; no absolute maximum.
Solution.
For , we know that . Therefore the only critical number of is . Next, we compute ,, and . Observe that
Thus, on , the absolute maximum of is and the absolute minimum is .
Given , it follows that , so implies that . The sine and cosine functions have the same value at for any integer . The only time this occurs in is at , thus this is the only critical number of in the given interval. Now
Therefore, on , the absolute maximum of is and the absolute minimum is .
With , we have
.
Hence the critical numbers of are and . Only the latter critical number lies in the interval , and thus we evaluate and find
We now see that on the absolute maximum of is and the absolute minimum is .
We first observe that we are working on the domain of all real numbers rather than on a closed bounded interval. Hence the extreme value theorem does not apply and we need to think about the overall behavior of the function. First, since , we see by the chain rule that . Since is always positive (and in particular is never zero), it follows that the only critical number of is . Furthermore, with , we see that for , and for . Thus is decreasing for and increasing for . The first derivative test then tells us that has an absolute minimum at and does not have an absolute maximum.
This will be similar to part (a). We start by differentiating , finding . Thus the only critical number of is , which is on the interval . Evaluating at the interval endpoints and the critical number, we find
Thus on , the absolute maximum of is and the absolute minimum is .
This is similar to part (d), including the fact that we are looking at all real numbers and not a closed bounded domain. We first find that and the only critical number of is . Since for and for , the first derivative test tells us that has a minimum at but has no maximum. Finally, the value of the absolute minimum is .
We conclude this section with an example of an applied optimization problem. It highlights the role that a closed, bounded domain can play in finding absolute extrema.
Example3.23.
A 20 cm piece of wire is cut into two pieces. One piece is used to form a square and the other to form an equilateral triangle. How should the wire be cut to maximize the total area enclosed by the square and triangle? To minimize the area?
Hint.
Drawing and labeling a picture to model the situation may be useful.
Answer.
The area is maximized when the wire is uncut and all used for the square; the area is minimized when approximately cm of wire are used for the triangle and approximately cm are used for the square.
Solution.
We begin by sketching a picture that illustrates the situation. The variable in the problem is where we decide to cut the wire, so we label the cut point at a distance cm from one end of the wire and note that the remaining portion of the wire then has length cm.
Figure 3.24 below shows how the wire is used to form the two regular polygons. From the cm segment of wire, we obtain an equilateral triangle with three sides of length ; the square shaped from the remaining cm of wire will have four sides of length .
Figure3.24.A 20 cm piece of wire cut into two pieces, one of which forms an equilateral triangle while the other yields a square.
At this point, we note that there are obvious restrictions on : in particular, . In the extreme cases, all of the wire is being used to make just one figure. For instance, if then all 20 cm of wire are used to make a square that is .
Now, our overall goal is to find the minimum and maximum areas that can be enclosed. Because the height of an equilateral triangle is times half the length of the base , the area of the triangle is
.
The area of the square is . Therefore, the total area function is
.
Remember that we are considering this function only on the restricted domain .
Differentiating , we have
.
When we set , we find that is the only critical number of in the interval .
Evaluating at the critical number and endpoints, we see that
cm
cm
cm
Thus, the absolute minimum occurs when cm and results in the minimum area of approximately square centimeters. The absolute maximum occurs when we invest all of the wire in the square (and none in the triangle), resulting in 25 square centimeters of area. These results are confirmed by a plot of on the interval , as shown below in Figure 3.25.
Figure3.25.A plot of the area function from Example 3.23.
Example3.26.
A piece of cardboard that is (each measured in inches) is being made into a box without a top. To do so, squares are cut from each corner of the box and the remaining sides are folded up. Assuming that the box needs to be at least 1 inch deep and no more than 3 inches deep, answer the following questions.
Draw a labeled diagram that shows the given information. What variable should we introduce to represent the choice we make in creating the box? Label the diagram appropriately with the variable and write a sentence to state what the variable represents.
Determine a formula for the function that tells us the volume of the box and depends on the variable defined in (a).
What is the domain of the function ? That is, in the context of this problem, what values of make sense for the input of ? Are there additional restrictions provided in the problem?
Determine all critical numbers of the function .
Evaluate at each of the endpoints of the domain and at any critical numbers that lie in the domain.
What is the maximum possible volume of the box? What is the minimum volume? Justify your answers using calculus.
Hint.
Consider letting the length of one side of the removed squares be represented by .
Remember that the volume of a box is length width height.
Read the given information carefully and think about the picture.
Note that since is a cubic function, is quadratic.
Which critical numbers satisfy ?
Evaluate the function at appropriate points.
Answer.
.
.
.
in.
in.
in.
The maximum volume is about cubic inches; the minimum volume is cubic inches.
Solution.
From each corner of the cardboard, we will cut a square with side length inches. The result is the following picture:
After cutting out the four squares from the corners of the cardboard and folding up the edges, the resulting box is inches tall, inches wide, and inches long. Thus the volume of the box (in cubic inches) is given by
.
At first glance, we see that is a polynomial and so is defined for every real number . However, because represents a length in this problem, the smallest can be is . Moreover, since the shortest side of the cardboard is initially only inches and cutting the squares reduces each side by inches, the largest can be is . We note that both of these extremes would result in a “box” with zero volume, as the first would have no height and the second would have no width. Finally, the problem says the height needs to be between and inches, so we will further restrict the domain of to .
Since , it follows that the critical numbers (where ) are
.
Only the latter critical number is in the relevant domain of , so we consider
in,
in,
in.
The maximum possible volume of the box is about cubic inches, occurring when squares with side length around inches are cut from each corner of the cardboard. The minimum possible volume of the box is in and occurs with a box that is inch tall.
Example 3.23 and Example 3.26 illustrate standard steps that we undertake in almost every applied optimization problem: we draw a picture to demonstrate the situation, introduce one or more variables to represent quantities that are changing, find a function that models the quantity to be optimized, and then decide on an appropriate domain for that function. Once that is done, we are in the familiar situation of finding the absolute minimum and maximum of a function over a particular domain, so we apply the calculus ideas that we have been studying up to this point in Chapter 3.
To find relative extreme values of a function, we use a first derivative sign chart and classify all of the function’s critical numbers. If instead we are interested in absolute extreme values, we first decide whether we are considering the entire domain of the function or a particular interval.
In the case of finding global extrema over the function’s entire domain, we again use a first or second derivative sign chart. If we are working to find absolute extrema on a restricted interval, then we first identify all critical numbers of the function that lie in the interval.
For a continuous function on a closed, bounded interval, the only possible points at which absolute extreme values occur are the critical numbers and the endpoints. Hence we evaluate the function at each endpoint and at each critical number in the interval and then compare the results to decide which is largest (the absolute maximum) and which is smallest (the absolute minimum).
Construct a first derivative sign chart for and thus determine all intervals on which is increasing or decreasing. If there is more than one, enter the intervals as a comma-separated list. Use interval notation: for example, (-17,20) is the interval , and (-inf, 40) is the interval .
Based on the given information about each function, decide whether the function has a global maximum, a global minimum, neither, both, or that it is not possible to say without more information. Assume that each function is twice differentiable and defined for all real numbers, unless noted otherwise. In each case, write one sentence to explain your conclusion.
is a function such that for every .
is a function with two critical numbers and (where ), and for , for , and for .
is a function with two critical numbers and (where ), and for , for , and for . In addition, and .
is a function differentiable everywhere except at and for and for .
For each family of functions that depends on one or more parameters, determine the function’s absolute maximum and absolute minimum on the given interval.
For each of the functions described below (each continuous on ), state the location of the function’s absolute maximum and absolute minimum on the interval , or say there is not enough information provided to make a conclusion. Assume that any critical numbers mentioned in the problem statement represent all of the critical numbers the function has in . In each case, write one sentence to explain your answer.
for all in .
has a critical number at such that and for and for .
and for all in .
,, and for the critical number such that , for and for .
Let . Find the exact absolute maximum and minimum of on the provided intervals by testing the endpoints and by finding and evaluating at all relevant critical numbers of .