Online Textbook Practice Tests 1500 Calculus Problems Solved About

3.1: Minimum and Maximum Values

Efficiency drives the need for models to be minimized or maximized. For example, a bank may wish to maximize its profits while minimizing its customers' waiting times. The process of maximizing or minimizing a real-world quantity is called optimization, which we will study in depth in Section 3.6. In this section we set the foundations by defining minimum and maximum values and learning how to find them. We discuss the following topics:

Extrema

Figure 1

Locating the extrema—the minimum and maximum values—of a function is a vital skill in calculus. Let's begin with definitions. In Figure 1 we say \(g(1) = 8/3\) is the absolute minimum value of \(g\) because \((1, 8/3)\) is the lowest point on the graph. Conversely, \(g(3) = 4\) is the absolute maximum value of \(g\) because \((3, 4)\) is the highest point on the graph. Both \(g(1)\) and \(g(3)\) are called extrema of \(g.\) We formally define these terms as follows.

ABSOLUTE EXTREMA
If \(c\) is some number in the domain \(D\) of a function \(f,\) then \(f(c)\) is the

Many functions have both an absolute minimum and an absolute maximum, but some have just one or neither. The following examples demonstrate these cases.

EXAMPLE 1
Find the absolute extrema of \(f(x) = x^2.\)
As shown in Figure 2, the absolute minimum value of \(f(x) = x^2\) is \(f(0) = 0.\) But the parabola has no definitive highest point, so \(f(x) = x^2\) has no absolute maximum value.
Figure 2
EXAMPLE 2
Find the absolute extrema of \(f(x) = x^3.\)
The graph of \(y = x^3\) has no definitive lowest point or highest point (Figure 3). Thus, the function has no absolute extrema.
Figure 3
Figure 4

Relative Extrema The graphs of many functions have peaks and troughs. As an example, the graph of \(y = f(x)\) in Figure 4 has a peak at \((C, f(C))\) and a trough at \((B, f(B)).\) We call \(f(C)\) a relative maximum value of \(f\) because \(f(C)\) is the largest value for \(x\) near \(C.\) Similarly, \(f(B)\) is a relative minimum value of \(f\) since \(f(B)\) is the smallest value for \(x\) near \(B.\) But these numbers are not absolute extrema of \(f.\) Instead, \(f(A)\) is the absolute maximum value of \(f\) and \(f(D)\) is the absolute minimum value of \(f.\) Formally, we define relative extrema as follows.

RELATIVE EXTREMA
The value \(f(c)\) is a

The term local extremum is interchangeable with relative extremum. When we say \(x\) near \(c,\) we mean it is true on an open interval containing \(c.\) In Figure 4 \(f(B)\) is a relative minimum value of \(f\) since it's the smallest value of \(f\) on some open interval containing \(B\)—say, \((B - \delta, B + \delta)\) for sufficiently small \(\delta \gt 0.\)

EXAMPLE 3
In Figure 5, classify what type of extremum \(f\) has at points \(A,\) \(B,\) and \(C.\)
min-max-ABC.jpg
The function \(f\) has
EXAMPLE 4
Discuss the extrema of \(f(x) = \cos x.\)
Figure 6
The range of cosine is \([-1, 1].\) The graph of \(y = \cos x\) hits its absolute maximum (and relative maximum) value of \(1\) infinitely many times because \(\cos(2n \pi) = 1\) for any integer \(n.\) Similarly, the function takes on its absolute minimum (and relative minimum) value of \(-1\) infinitely many times since \(\cos [(2n + 1) \pi] = -1.\) (See Figure 6.)

Next we discuss a function's extrema on a closed interval. Instead of considering an entire graph, what if we just examine a portion? For example, in Example 2 we concluded that \(f(x) = x^3\) has no absolute extrema over its domain, \(\RR.\) But over the closed interval \([-1, 1],\) the absolute minimum of \(f(x) = x^3\) is \(f(-1) = -1\) and the absolute maximum is \(f(1) = 1.\) It therefore appears that any continuous function must have both an absolute minimum and an absolute maximum over a closed interval. This observation turns out to be true by the Extreme Value Theorem, defined below.

EXTREME VALUE THEOREM
If \(f\) is continuous over \([a, b],\) then \(f\) attains an absolute minimum value \(f(c)\) and an absolute maximum value \(f(d),\) where \(c\) and \(d\) are in \([a, b].\)
Figure 7

While intuitive, the Extreme Value Theorem turns out to be difficult to prove, so we omit the proof. Extreme values can be attained more than once, as shown by Example 4. We emphasize that both conditions of the Extreme Value Theorem—continuity and closed interval—must be satisfied. If either is omitted, then a function is not guaranteed to have any extrema. As an example, the graph of \(y = f(x)\) in Figure 7 is discontinuous and undefined at \(x = 0\) and \(x = 3.\) Thus, the Extreme Value Theorem bestows no guarantees that \(f\) has any extrema. Indeed, \(f\) has neither an absolute minimum nor an absolute maximum on \([0, 3].\)

Locating Extrema

A connection exists between a function's extrema and its derivatives. As shown in Figure 8, the graph of \(y = f(x)\) has horizontal tangents at the relative minimum \((c, f(c))\) and at the relative maximum \((d, f(d)).\) Because the derivative is the slope of the tangent line, which is \(0,\) it follows that \(f'(c) = 0\) and \(f'(d) = 0.\) Simply put, the function's derivative equals \(0\) at a relative extremum. By Fermat's Theorem, defined below, this observation is always true for differentiable functions.

Figure 8
FERMAT'S THEOREM
If \(f\) has a relative extremum at \(c\) and \(f'(c)\) exists, then \(f'(c) = 0.\)

PROOF First suppose that \(f\) is differentiable at \(c.\) Then by the limit definition of a derivative (Section 2.1), \[ \ba f'(c) &= \lim_{h \to 0} \frac{f(c + h) - f(c)}{h} \nl &= \lim_{h \to 0^+} \frac{f(c + h) - f(c)}{h} \nl &= \lim_{h \to 0^-} \frac{f(c + h) - f(c)}{h} \pd \ea \] (A limit exists if and only if the one-sided limits exist and equal each other.) Next suppose that \(f\) has a relative maximum at \(c.\) Then \(f(c) \geq f(x)\) for \(x\) sufficiently close to \(c.\) Formally, if \(h\) is sufficiently close to \(0,\) with \(h\) either positive or negative, then \begin{flalign} &&f(c) &\geq f(c + h) \nonum &\nl \laWord{so} && f(c + h) - f(c) &\leq 0 \pd \label{eq:f-c-h-inequality} \end{flalign} For positive \(h,\) dividing both sides of \(\eqref{eq:f-c-h-inequality}\) by \(h\) yields \[ \frac{f(c + h) - f(c)}{h} \leq 0 \pd \] Taking the right-hand limit of both sides, we get \[ \lim_{h \to 0^+} \frac{f(c + h) - f(c)}{h} \leq \underbrace{\lim_{h \to 0^+} 0}_0 \pd \] But the limit on the left is simply \(f'(c),\) so we have \(f'(c) \leq 0.\) Conversely, if \(h \lt 0\) then we flip the inequality sign in \(\eqref{eq:f-c-h-inequality}\) after dividing by \(h \col\) \[\frac{f(c + h) - f(c)}{h} \geq 0 \pd\] Taking the left-hand limits of both sides produces \[ \lim_{h \to 0^-} \frac{f(c + h) - f(c)}{h} \geq \underbrace{\lim_{h \to 0^-} 0}_0 \pd \] Yet the left side is \(f'(c),\) so we attain \(f'(c) \geq 0.\) Accordingly, we have \(f'(c) \geq 0\) and \(f'(c) \leq 0;\) both can only be true if \(f'(c) = 0.\) Thus, Fermat's Theorem is proved for the case of a relative maximum at \(c.\) Proving Fermat's Theorem for the case of a relative minimum is performed similarly. \[\qedproof\]

CAUTION The converse of Fermat's Theorem is not generally true: Just because \(f'(c) = 0\) does not mean \(f\) has a relative extremum at \(c.\) For example, if \(f(x) = x^3\) then \(f'(x) = 3x^2\) and \(f'(0) = 0.\) But \(x^3\) does not have an extremum at \(x = 0,\) as discussed in Example 2.

Figure 9

Instead, Fermat's Theorem says \(f\) could have a relative extremum at \(c\) if \(f'(c) = 0.\) Yet \(f\) may also have an extremum at \(c\) when \(f'(c)\) does not exist. For example, \(g(x) = \abs x\) has an absolute minimum (and a relative minimum) value at \(x = 0,\) even though \(g'(0)\) is undefined (Figure 9). Thus, to find the relative extrema of \(f,\) our objective is clear: We examine points at which \(f'(c) = 0\) or \(f'(c)\) does not exist. We call these \(c\) critical numbers, and the point \((c, f(c))\) is a critical point.

CRITICAL NUMBERS
If \(c\) is in the domain of \(f,\) and \(f'(c) = 0\) or \(f'(c)\) does not exist, then \(c\) is a critical number of \(f.\) The point \((c, f(c))\) is a critical point.

Thus, we can rephrase Fermat's Theorem as follows: if \(f\) has a relative extremum at \(c,\) then \(c\) is a critical number of \(f.\) Accordingly, finding a function's critical numbers allows us to locate its relative extrema.

CAUTION It is easy to forget that \(c\) must be within the domain of \(f.\) For example, the derivative of \(f(x) = 1/x\) is \(f'(x) = -1/x^2,\) which is undefined at \(x = 0.\) But since \(f(0)\) is also undefined, \(0\) is not a critical number of \(f.\)

EXAMPLE 5
Find the critical numbers of \(f(x) = 15x^{4/5} - 5x^{9/5}.\)
Figure 10
Applying the Power Rule and rearranging, we attain \[ \ba f'(x) &= 12 x^{-1/5} - 9 x^{4/5} \nl &= \frac{12}{x^{1/5}} - \frac{9 x^{5/5}}{x^{1/5}} \nl &= \frac{12 - 9x}{x^{1/5}} \pd \ea \] We see \(f'(x) = 0\) when \(12 - 9x = 0\)—that is, when \(x = 4/3.\) Also, \(f'(x)\) is undefined when \(x = 0.\) Because both numbers are within the domain of \(f,\) the critical numbers are \(\boxed{0}\) and \(\boxed{4/3}.\) Figure 10 shows the graph of \(y = f(x);\) its relative extrema are at the critical numbers, \(x = 0\) and \(x = 4/3.\)

We now present a coherent strategy for locating absolute extrema: If \(f\) is continuous over \([a, b],\) then \(f\) has both an absolute minimum value and an absolute maximum value in \([a, b]\) by the Extreme Value Theorem. The absolute extrema of \(f\) must either match the relative extrema or reside at the endpoints. Hence, the endpoints and critical numbers are possible locations of absolute extrema, so we must evaluate \(f\) at these values. This strategy is called the Closed Interval Method.

CLOSED INTERVAL METHOD
Suppose \(f\) is continuous over \([a, b].\) To find the absolute minimum and absolute maximum values of \(f,\) use the following procedure.
  1. Evaluate \(f\) at its critical numbers in \((a, b).\)
  2. Evaluate \(f\) at the endpoints \(a\) and \(b.\)
  3. Determine the smallest and largest of the values in Steps 1 and 2. The largest value is the absolute maximum of \(f,\) while the smallest value is the absolute minimum of \(f.\)
EXAMPLE 6
Let \(g(x) = x^3 - \frac{3}{2} x^2 - 6x.\) Find the absolute minimum value and absolute maximum value of \(g\) over the interval \(-2 \leq x \leq 4.\)
By the Closed Interval Method, the absolute extrema of \(g\) must lie either at the endpoints of \([-2, 4]\) or at the critical numbers in \((-2, 4).\) We find the critical numbers of \(g\) as follows: \[ \ba g'(x) = 3x^2 - 3x - 6 &= 0 \nl 3(x^2 - x - 2) &= 0 \nl 3(x - 2)(x + 1) &= 0 \nl \implies x &= -1 \cma x = 2 \pd \ea \] The following table shows the values of \(g\) at its endpoints and critical points, which are all the possible locations for the absolute extrema.
\(x\) \(-2\) \(-1\) \(2\) \(4\)
\(g(x)\) \(-2\) \(7/2\) \(-10\) \(16\)
Thus, on \([-2, 4]\) the absolute minimum is \(g(2) = \boxed{-10}\) and the absolute maximum is \(g(4) = \boxed{16}.\)

Extrema Extrema (singular, extremum) are the minimum or maximum values of a function. A function \(f\) may have two types of extrema: absolute extrema (or global extrema) and relative extrema (or local extrema). If \(c\) is in the domain \(D\) of \(f,\) then \(f(c)\) is the

While many functions have both an absolute minimum and an absolute maximum, some have just one or no absolute extrema. Additionally, the value \(f(c)\) is a

Relative maxima correspond to peaks in the graph of \(f,\) while \(f\) has troughs at relative minima. By the Extreme Value Theorem, if \(f\) is continuous over \([a, b],\) then \(f\) attains an absolute minimum value \(f(c)\) and an absolute maximum value \(f(d),\) where \(c\) and \(d\) are in \([a, b].\)

Locating Extrema By Fermat's Theorem, if \(f\) has a relative extremum at \(c\) and \(f'(c)\) exists, then \(f'(c) = 0.\) Simply put, the graph of a differentiable function has horizontal tangents at its relative extrema. But the converse of Fermat's Theorem is not generally true: if \(f'(c) = 0,\) then \(f\) doesn't need to have a relative extremum at \(c.\) Critical numbers \(c\) in the domain of \(f\) satisfy \(f'(c) = 0\) or \(f'(c)\) failing to exist. Then \((c, f(c))\) is called a critical point. The Closed Interval Method provides the following guide for locating absolute extrema on an interval \([a, b].\)

  1. Evaluate \(f\) at the critical numbers in \((a, b).\)
  2. Evaluate \(f\) at the endpoints \(a\) and \(b.\)
  3. Determine the smallest and largest of the values in Steps 1 and 2. The largest value is the absolute maximum of \(f,\) while the smallest value is the absolute minimum of \(f.\)