Learning Objectives
- Define absolute extrema.
- Define local extrema.
- Explain how to find the critical points of a function over a closed interval.
- Describe how to use critical points to locate absolute extrema over a closed interval.
Given a particular function, we are often interested in determining the largest and smallest values of the function. This information is important in creating accurate graphs. Finding the maximum and minimum values of a function also has practical significance because we can use this method to solve optimization problems, such as maximizing profit, minimizing the amount of material used in manufacturing an aluminum can, or finding the maximum height a rocket can reach. In this section, we look at how to use derivatives to find the largest and smallest values for a function.
Absolute Extrema
Consider the function [latex]f(x)=x^2+1[/latex] over the interval [latex](−\infty ,\infty )[/latex]. As [latex]x\to \pm \infty[/latex], [latex]f(x)\to \infty[/latex]. Therefore, the function does not have a largest value. However, since [latex]x^2+1\ge 1[/latex] for all real numbers [latex]x[/latex] and [latex]x^2+1=1[/latex] when [latex]x=0[/latex], the function has a smallest value, 1, when [latex]x=0[/latex]. We say that 1 is the absolute minimum of [latex]f(x)=x^2+1[/latex] and it occurs at [latex]x=0[/latex]. We say that [latex]f(x)=x^2+1[/latex] does not have an absolute maximum (see the following figure).
Definition
Let [latex]f[/latex] be a function defined over an interval [latex]I[/latex] and let [latex]c\in I[/latex]. We say [latex]f[/latex] has an absolute maximum on [latex]I[/latex] at [latex]c[/latex] if [latex]f(c)\ge f(x)[/latex] for all [latex]x\in I[/latex]. We say [latex]f[/latex] has an absolute minimum on [latex]I[/latex] at [latex]c[/latex] if [latex]f(c)\le f(x)[/latex] for all [latex]x\in I[/latex]. If [latex]f[/latex] has an absolute maximum on [latex]I[/latex] at [latex]c[/latex] or an absolute minimum on [latex]I[/latex] at [latex]c[/latex], we say [latex]f[/latex] has an absolute extremum on [latex]I[/latex] at [latex]c[/latex].
Before proceeding, let’s note two important issues regarding this definition. First, the term absolute here does not refer to absolute value. An absolute extremum may be positive, negative, or zero. Second, if a function [latex]f[/latex] has an absolute extremum over an interval [latex]I[/latex] at [latex]c[/latex], the absolute extremum is [latex]f(c)[/latex]. The real number [latex]c[/latex] is a point in the domain at which the absolute extremum occurs. For example, consider the function [latex]f(x)=1/(x^2+1)[/latex] over the interval [latex](−\infty ,\infty )[/latex]. Since
for all real numbers [latex]x[/latex], we say [latex]f[/latex] has an absolute maximum over [latex](−\infty ,\infty )[/latex] at [latex]x=0[/latex]. The absolute maximum is [latex]f(0)=1[/latex]. It occurs at [latex]x=0[/latex], as shown in (Figure)(b).
A function may have both an absolute maximum and an absolute minimum, just one extremum, or neither. (Figure) shows several functions and some of the different possibilities regarding absolute extrema. However, the following theorem, called the Extreme Value Theorem, guarantees that a continuous function [latex]f[/latex] over a closed, bounded interval [latex][a,b][/latex] has both an absolute maximum and an absolute minimum.
Extreme Value Theorem
If [latex]f[/latex] is a continuous function over the closed, bounded interval [latex][a,b][/latex], then there is a point in [latex][a,b][/latex] at which [latex]f[/latex] has an absolute maximum over [latex][a,b][/latex] and there is a point in [latex][a,b][/latex] at which [latex]f[/latex] has an absolute minimum over [latex][a,b][/latex].
The proof of the extreme value theorem is beyond the scope of this text. Typically, it is proved in a course on real analysis. There are a couple of key points to note about the statement of this theorem. For the extreme value theorem to apply, the function must be continuous over a closed, bounded interval. If the interval [latex]I[/latex] is open or the function has even one point of discontinuity, the function may not have an absolute maximum or absolute minimum over [latex]I[/latex]. For example, consider the functions shown in (Figure)(d), (e), and (f). All three of these functions are defined over bounded intervals. However, the function in graph (e) is the only one that has both an absolute maximum and an absolute minimum over its domain. The extreme value theorem cannot be applied to the functions in graphs (d) and (f) because neither of these functions is continuous over a closed, bounded interval. Although the function in graph (d) is defined over the closed interval [latex][0,4][/latex], the function is discontinuous at [latex]x=2[/latex]. The function has an absolute maximum over [latex][0,4][/latex] but does not have an absolute minimum. The function in graph (f) is continuous over the half-open interval [latex][0,2)[/latex], but is not defined at [latex]x=2[/latex], and therefore is not continuous over a closed, bounded interval. The function has an absolute minimum over [latex][0,2)[/latex], but does not have an absolute maximum over [latex][0,2)[/latex]. These two graphs illustrate why a function over a bounded interval may fail to have an absolute maximum and/or absolute minimum.
Before looking at how to find absolute extrema, let’s examine the related concept of local extrema. This idea is useful in determining where absolute extrema occur.
Local Extrema and Critical Points
Consider the function [latex]f[/latex] shown in (Figure). The graph can be described as two mountains with a valley in the middle. The absolute maximum value of the function occurs at the higher peak, at [latex]x=2[/latex]. However, [latex]x=0[/latex] is also a point of interest. Although [latex]f(0)[/latex] is not the largest value of [latex]f[/latex], the value [latex]f(0)[/latex] is larger than [latex]f(x)[/latex] for all [latex]x[/latex] near 0. We say [latex]f[/latex] has a local maximum at [latex]x=0[/latex]. Similarly, the function [latex]f[/latex] does not have an absolute minimum, but it does have a local minimum at [latex]x=1[/latex] because [latex]f(1)[/latex] is less than [latex]f(x)[/latex] for [latex]x[/latex] near 1.
Definition
A function [latex]f[/latex] has a local maximum at [latex]c[/latex] if there exists an open interval [latex]I[/latex] containing [latex]c[/latex] such that [latex]I[/latex] is contained in the domain of [latex]f[/latex] and [latex]f(c)\ge f(x)[/latex] for all [latex]x\in I[/latex]. A function [latex]f[/latex] has a local minimum at [latex]c[/latex] if there exists an open interval [latex]I[/latex] containing [latex]c[/latex] such that [latex]I[/latex] is contained in the domain of [latex]f[/latex] and [latex]f(c)\le f(x)[/latex] for all [latex]x\in I[/latex]. A function [latex]f[/latex] has a local extremum at [latex]c[/latex] if [latex]f[/latex] has a local maximum at [latex]c[/latex] or [latex]f[/latex] has a local minimum at [latex]c[/latex].
Note that if [latex]f[/latex] has an absolute extremum at [latex]c[/latex] and [latex]f[/latex] is defined over an interval containing [latex]c[/latex], then [latex]f(c)[/latex] is also considered a local extremum. If an absolute extremum for a function [latex]f[/latex] occurs at an endpoint, we do not consider that to be a local extremum, but instead refer to that as an endpoint extremum.
Given the graph of a function [latex]f[/latex], it is sometimes easy to see where a local maximum or local minimum occurs. However, it is not always easy to see, since the interesting features on the graph of a function may not be visible because they occur at a very small scale. Also, we may not have a graph of the function. In these cases, how can we use a formula for a function to determine where these extrema occur?
To answer this question, let’s look at (Figure) again. The local extrema occur at [latex]x=0[/latex], [latex]x=1[/latex], and [latex]x=2[/latex]. Notice that at [latex]x=0[/latex] and [latex]x=1[/latex], the derivative [latex]f^{\prime}(x)=0[/latex]. At [latex]x=2[/latex], the derivative [latex]f^{\prime}(x)[/latex] does not exist, since the function [latex]f[/latex] has a corner there. In fact, if [latex]f[/latex] has a local extremum at a point [latex]x=c[/latex], the derivative [latex]f^{\prime}(c)[/latex] must satisfy one of the following conditions: either [latex]f^{\prime}(c)=0[/latex] or [latex]f^{\prime}(c)[/latex] is undefined. Such a value [latex]c[/latex] is known as a critical point and it is important in finding extreme values for functions.
Definition
Let [latex]c[/latex] be an interior point in the domain of [latex]f[/latex]. We say that [latex]c[/latex] is a critical point of [latex]f[/latex] if [latex]f^{\prime}(c)=0[/latex] or [latex]f^{\prime}(c)[/latex] is undefined.
As mentioned earlier, if [latex]f[/latex] has a local extremum at a point [latex]x=c[/latex], then [latex]c[/latex] must be a critical point of [latex]f[/latex]. This fact is known as Fermat’s theorem.
Fermat’s Theorem
If [latex]f[/latex] has a local extremum at [latex]c[/latex] and [latex]f[/latex] is differentiable at [latex]c[/latex], then [latex]f^{\prime}(c)=0[/latex].
Proof
Suppose [latex]f[/latex] has a local extremum at [latex]c[/latex] and [latex]f[/latex] is differentiable at [latex]c[/latex]. We need to show that [latex]f^{\prime}(c)=0[/latex]. To do this, we will show that [latex]f^{\prime}(c)\ge 0[/latex] and [latex]f^{\prime}(c)\le 0[/latex], and therefore [latex]f^{\prime}(c)=0[/latex]. Since [latex]f[/latex] has a local extremum at [latex]c[/latex], [latex]f[/latex] has a local maximum or local minimum at [latex]c[/latex]. Suppose [latex]f[/latex] has a local maximum at [latex]c[/latex]. The case in which [latex]f[/latex] has a local minimum at [latex]c[/latex] can be handled similarly. There then exists an open interval [latex]I[/latex] such that [latex]f(c)\ge f(x)[/latex] for all [latex]x\in I[/latex]. Since [latex]f[/latex] is differentiable at [latex]c[/latex], from the definition of the derivative, we know that
Since this limit exists, both one-sided limits also exist and equal [latex]f^{\prime}(c)[/latex]. Therefore,
and
Since [latex]f(c)[/latex] is a local maximum, we see that [latex]f(x)-f(c)\le 0[/latex] for [latex]x[/latex] near [latex]c[/latex]. Therefore, for [latex]x[/latex] near [latex]c[/latex], but [latex]x>c[/latex], we have [latex]\frac{f(x)-f(c)}{x-c}\le 0[/latex]. From (Figure) we conclude that [latex]f^{\prime}(c)\le 0[/latex]. Similarly, it can be shown that [latex]f^{\prime}(c)\ge 0[/latex]. Therefore, [latex]f^{\prime}(c)=0[/latex].
□
From Fermat’s theorem, we conclude that if [latex]f[/latex] has a local extremum at [latex]c[/latex], then either [latex]f^{\prime}(c)=0[/latex] or [latex]f^{\prime}(c)[/latex] is undefined. In other words, local extrema can only occur at critical points.
Note this theorem does not claim that a function [latex]f[/latex] must have a local extremum at a critical point. Rather, it states that critical points are candidates for local extrema. For example, consider the function [latex]f(x)=x^3[/latex]. We have [latex]f^{\prime}(x)=3x^2=0[/latex] when [latex]x=0[/latex]. Therefore, [latex]x=0[/latex] is a critical point. However, [latex]f(x)=x^3[/latex] is increasing over [latex](−\infty ,\infty )[/latex], and thus [latex]f[/latex] does not have a local extremum at [latex]x=0[/latex]. In (Figure), we see several different possibilities for critical points. In some of these cases, the functions have local extrema at critical points, whereas in other cases the functions do not. Note that these graphs do not show all possibilities for the behavior of a function at a critical point.
Later in this chapter we look at analytical methods for determining whether a function actually has a local extremum at a critical point. For now, let’s turn our attention to finding critical points. We will use graphical observations to determine whether a critical point is associated with a local extremum.
Locating Critical Points
For each of the following functions, find all critical points. Use a graphing utility to determine whether the function has a local extremum at each of the critical points.
- [latex]f(x)=\frac{1}{3}x^3-\frac{5}{2}x^2+4x[/latex]
- [latex]f(x)=(x^2-1)^3[/latex]
- [latex]f(x)=\frac{4x}{1+x^2}[/latex]
Find all critical points for [latex]f(x)=x^3-\frac{1}{2}x^2-2x+1[/latex].
Locating Absolute Extrema
The extreme value theorem states that a continuous function over a closed, bounded interval has an absolute maximum and an absolute minimum. As shown in (Figure), one or both of these absolute extrema could occur at an endpoint. If an absolute extremum does not occur at an endpoint, however, it must occur at an interior point, in which case the absolute extremum is a local extremum. Therefore, by (Figure), the point [latex]c[/latex] at which the local extremum occurs must be a critical point. We summarize this result in the following theorem.
Location of Absolute Extrema
Let [latex]f[/latex] be a continuous function over a closed, bounded interval [latex]I[/latex]. The absolute maximum of [latex]f[/latex] over [latex]I[/latex] and the absolute minimum of [latex]f[/latex] over [latex]I[/latex] must occur at endpoints of [latex]I[/latex] or at critical points of [latex]f[/latex] in [latex]I[/latex].
With this idea in mind, let’s examine a procedure for locating absolute extrema.
Problem-Solving Strategy: Locating Absolute Extrema over a Closed Interval
Consider a continuous function [latex]f[/latex] defined over the closed interval [latex][a,b][/latex].
- Evaluate [latex]f[/latex] at the endpoints [latex]x=a[/latex] and [latex]x=b[/latex].
- Find all critical points of [latex]f[/latex] that lie over the interval [latex](a,b)[/latex] and evaluate [latex]f[/latex] at those critical points.
- Compare all values found in (1) and (2). From (Figure), the absolute extrema must occur at endpoints or critical points. Therefore, the largest of these values is the absolute maximum of [latex]f[/latex]. The smallest of these values is the absolute minimum of [latex]f[/latex].
Now let’s look at how to use this strategy to find the absolute maximum and absolute minimum values for continuous functions.
Locating Absolute Extrema
For each of the following functions, find the absolute maximum and absolute minimum over the specified interval and state where those values occur.
- [latex]f(x)=−x^2+3x-2[/latex] over [latex][1,3][/latex].
- [latex]f(x)=x^2-3x^{2/3}[/latex] over [latex][0,2][/latex].
Find the absolute maximum and absolute minimum of [latex]f(x)=x^2-4x+3[/latex] over the interval [latex][1,4][/latex].
Hint
Look for critical points. Evaluate [latex]f[/latex] at all critical points and at the endpoints.
At this point, we know how to locate absolute extrema for continuous functions over closed intervals. We have also defined local extrema and determined that if a function [latex]f[/latex] has a local extremum at a point [latex]c[/latex], then [latex]c[/latex] must be a critical point of [latex]f[/latex]. However, [latex]c[/latex] being a critical point is not a sufficient condition for [latex]f[/latex] to have a local extremum at [latex]c[/latex]. Later in this chapter, we show how to determine whether a function actually has a local extremum at a critical point. First, however, we need to introduce the Mean Value Theorem, which will help as we analyze the behavior of the graph of a function.
Key Concepts
- A function may have both an absolute maximum and an absolute minimum, have just one absolute extremum, or have no absolute maximum or absolute minimum.
- If a function has a local extremum, the point at which it occurs must be a critical point. However, a function need not have a local extremum at a critical point.
- A continuous function over a closed, bounded interval has an absolute maximum and an absolute minimum. Each extremum occurs at a critical point or an endpoint.
1. In precalculus, you learned a formula for the position of the maximum or minimum of a quadratic equation [latex]y=ax^2+bx+c[/latex], which was [latex]m=-\frac{b}{2a}[/latex]. Prove this formula using calculus.
2. If you are finding an absolute minimum over an interval [latex][a,b][/latex], why do you need to check the endpoints? Draw a graph that supports your hypothesis.
3. If you are examining a function over an interval [latex](a,b)[/latex], for [latex]a[/latex] and [latex]b[/latex] finite, is it possible not to have an absolute maximum or absolute minimum?
4. When you are checking for critical points, explain why you also need to determine points where [latex]f(x)[/latex] is undefined. Draw a graph to support your explanation.
5. Can you have a finite absolute maximum for [latex]y=ax^2+bx+c[/latex] over [latex](−\infty ,\infty )[/latex]? Explain why or why not using graphical arguments.
6. Can you have a finite absolute maximum for [latex]y=ax^3+bx^2+cx+d[/latex] over [latex](−\infty ,\infty )[/latex] assuming [latex]a[/latex] is non-zero? Explain why or why not using graphical arguments.
7. Let [latex]m[/latex] be the number of local minima and [latex]M[/latex] be the number of local maxima. Can you create a function where [latex]M>m+2[/latex]? Draw a graph to support your explanation.
8. Is it possible to have more than one absolute maximum? Use a graphical argument to prove your hypothesis.
9. Is it possible to have no absolute minimum or maximum for a function? If so, construct such a function. If not, explain why this is not possible.
10. [T] Graph the function [latex]y=e^{ax}[/latex]. For which values of [latex]a[/latex], on any infinite domain, will you have an absolute minimum and absolute maximum?
For the following exercises, determine where the local and absolute maxima and minima occur on the graph given. Assume domains are closed intervals unless otherwise specified.
For the following problems, draw graphs of [latex]f(x)[/latex], which is continuous, over the interval [latex][-4,4][/latex] with the following properties:
15. Absolute maximum at [latex]x=2[/latex] and absolute minima at [latex]x=\pm 3[/latex]
16. Absolute minimum at [latex]x=1[/latex] and absolute maximum at [latex]x=2[/latex]
17. Absolute maximum at [latex]x=4[/latex], absolute minimum at [latex]x=-1[/latex], local maximum at [latex]x=-2[/latex], and a critical point that is not a maximum or minimum at [latex]x=2[/latex]
18. Absolute maxima at [latex]x=2[/latex] and [latex]x=-3[/latex], local minimum at [latex]x=1[/latex], and absolute minimum at [latex]x=4[/latex]
For the following exercises, find the critical points in the domains of the following functions.
19. [latex]y=4x^3-3x[/latex]
20. [latex]y=4\sqrt{x}-x^2[/latex]
21. [latex]y=\frac{1}{x-1}[/latex]
22. [latex]y=\ln (x-2)[/latex]
23. [latex]y= \tan (x)[/latex]
24. [latex]y=\sqrt{4-x^2}[/latex]
25. [latex]y=x^{3/2}-3x^{5/2}[/latex]
26. [latex]y=\frac{x^2-1}{x^2+2x-3}[/latex]
27. [latex]y= \sin^2 (x)[/latex]
28. [latex]y=x+\frac{1}{x}[/latex]
For the following exercises, find the local and/or absolute maxima for the functions over the specified domain.
29. [latex]f(x)=x^2+3[/latex] over [latex][-1,4][/latex]
30. [latex]y=x^2+\frac{2}{x}[/latex] over [latex][1,4][/latex]
31. [latex]y=(x-x^2)^2[/latex] over [latex][-1,1][/latex]
32. [latex]y=\frac{1}{(x-x^2)}[/latex] over [latex][0,1][/latex]
33. [latex]y=\sqrt{9-x}[/latex] over [latex][1,9][/latex]
34. [latex]y=x+ \sin (x)[/latex] over [latex][0,2\pi][/latex]
35. [latex]y=\frac{x}{1+x}[/latex] over [latex][0,100][/latex]
36. [latex]y=|x+1|+|x-1|[/latex] over [latex][-3,2][/latex]
37. [latex]y=\sqrt{x}-\sqrt{x^3}[/latex] over [latex][0,4][/latex]
38. [latex]y= \sin x+ \cos x[/latex] over [latex][0,2\pi][/latex]
39. [latex]y=4 \sin \theta -3 \cos \theta[/latex] over [latex][0,2\pi][/latex]
For the following exercises, find the local and absolute minima and maxima for the functions over [latex](−\infty ,\infty )[/latex].
40. [latex]y=x^2+4x+5[/latex]
41. [latex]y=x^3-12x[/latex]
42. [latex]y=3x^4+8x^3-18x^2[/latex]
43. [latex]y=x^3(1-x)^6[/latex]
44. [latex]y=\frac{x^2+x+6}{x-1}[/latex]
45. [latex]y=\frac{x^2-1}{x-1}[/latex]
For the following functions, use a calculator to graph the function and to estimate the absolute and local maxima and minima. Then, solve for them explicitly.
46. [T] [latex]y=3x\sqrt{1-x^2}[/latex]
47. [T] [latex]y=x+ \sin (x)[/latex]
48. [T] [latex]y=12x^5+45x^4+20x^3-90x^2-120x+3[/latex]
49. [T] [latex]y=\frac{x^3+6x^2-x-30}{x-2}[/latex]
50. [T] [latex]y=\frac{\sqrt{4-x^2}}{\sqrt{4+x^2}}[/latex]
51. A company that produces cell phones has a cost function of [latex]C=x^2-1200x+36,400[/latex], where [latex]C[/latex] is cost in dollars and [latex]x[/latex] is number of cell phones produced (in thousands). How many units of cell phone (in thousands) minimizes this cost function?
52. A ball is thrown into the air and its position is given by [latex]h(t)=-4.9t^2+60t+5[/latex] m. Find the height at which the ball stops ascending. How long after it is thrown does this happen?
For the following exercises, consider the production of gold during the California gold rush (1848–1888). The production of gold can be modeled by [latex]G(t)=\frac{(25t)}{(t^2+16)}[/latex], where [latex]t[/latex] is the number of years since the rush began [latex](0\le t\le 40)[/latex] and [latex]G[/latex] is ounces of gold produced (in millions). A summary of the data is shown in the following figure.
53. Find when the maximum (local and global) gold production occurred, and the amount of gold produced during that maximum.
54. Find when the minimum (local and global) gold production occurred. What was the amount of gold produced during this minimum?
Find the critical points, maxima, and minima for the following piecewise functions.
55. [latex]y=\begin{cases} x^2-4x, & 0\le x\le 1\\ x^2-4, & 1
56. [latex]y=\begin{cases} x^2+1, & x\le 1\\ x^2-4x+5, & x>1 \end{cases}[/latex]
For the following exercises, find the critical points of the following generic functions. Are they maxima, minima, or neither? State the necessary conditions.
57. [latex]y=ax^2+bx+c[/latex], given that [latex]a>0[/latex]
58. [latex]y=(x-1)^a[/latex], given that [latex]a>1[/latex]
Glossary
- absolute extremum
- if [latex]f[/latex] has an absolute maximum or absolute minimum at [latex]c[/latex], we say [latex]f[/latex] has an absolute extremum at [latex]c[/latex]
- absolute maximum
- if [latex]f(c)\ge f(x)[/latex] for all [latex]x[/latex] in the domain of [latex]f[/latex], we say [latex]f[/latex] has an absolute maximum at [latex]c[/latex]
- absolute minimum
- if [latex]f(c)\le f(x)[/latex] for all [latex]x[/latex] in the domain of [latex]f[/latex], we say [latex]f[/latex] has an absolute minimum at [latex]c[/latex]
- critical point
- if [latex]f^{\prime}(c)=0[/latex] or [latex]f^{\prime}(c)[/latex] is undefined, we say that [latex]c[/latex] is a critical point of [latex]f[/latex]
- extreme value theorem
- if [latex]f[/latex] is a continuous function over a finite, closed interval, then [latex]f[/latex] has an absolute maximum and an absolute minimum
- Fermat’s theorem
- if [latex]f[/latex] has a local extremum at [latex]c[/latex], then [latex]c[/latex] is a critical point of [latex]f[/latex]
- local extremum
- if [latex]f[/latex] has a local maximum or local minimum at [latex]c[/latex], we say [latex]f[/latex] has a local extremum at [latex]c[/latex]
- local maximum
- if there exists an interval [latex]I[/latex] such that [latex]f(c)\ge f(x)[/latex] for all [latex]x\in I[/latex], we say [latex]f[/latex] has a local maximum at [latex]c[/latex]
- local minimum
- if there exists an interval [latex]I[/latex] such that [latex]f(c)\le f(x)[/latex] for all [latex]x\in I[/latex], we say [latex]f[/latex] has a local minimum at [latex]c[/latex]
Candela Citations
- Calculus I. Provided by: OpenStax. Located at: http://cnx.org/contents/8b89d172-2927-466f-8661-01abc7ccdba4@2.89. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Download for free at http://cnx.org/contents/8b89d172-2927-466f-8661-01abc7ccdba4@2.89
Hint
Calculate [latex]f^{\prime}(x)[/latex].