### Learning Objectives

• Define absolute extrema.
• Define local extrema.
• Explain how to find the critical numbers of a function over a closed interval.
• Describe how to use critical numbers 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 $f(x)={x}^{2}+1$ over the interval $(-\infty ,\infty ).$ As $x\to \pm \infty ,$ $f(x)\to \infty .$ Therefore, the function does not have a largest value. However, since ${x}^{2}+1\ge 1$ for all real numbers $x$ and ${x}^{2}+1=1$ when $x=0,$ the function has a smallest value, 1, when $x=0.$ We say that 1 is the absolute minimum of $f(x)={x}^{2}+1$ and it occurs at $x=0.$ We say that $f(x)={x}^{2}+1$ does not have an absolute maximum (see the following figure).

### Definition

Let $f$ be a function defined over an interval $I$ and let $c\in I.$ We say $f$ has an absolute maximum on $I$ at $c$ if $f(c)\ge f(x)$ for all $x\in I.$ We say $f$ has an absolute minimum on $I$ at $c$ if $f(c)\le f(x)$ for all $x\in I.$ If $f$ has an absolute maximum on $I$ at $c$ or an absolute minimum on $I$ at $c,$ we say $f$ has an absolute extremum on $I$ at $c.$

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 $f$ has an absolute extremum over an interval $I$ at $c,$ the absolute extremum is $f(c).$ The real number $c$ is a point in the domain at which the absolute extremum occurs. For example, consider the function $f(x)=1\text{/}({x}^{2}+1)$ over the interval $(-\infty ,\infty ).$ Since $f(0)=1\ge \frac{1}{{x}^{2}+1}=f(x)$ for all real numbers $x,$ we say $f$ has an absolute maximum over $(-\infty ,\infty )$ at $x=0.$ The absolute maximum is $f(0)=1.$ It occurs at $x=0,$ 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 $f$ over a closed, bounded interval $\left[a,b\right]$ has both an absolute maximum and an absolute minimum.

In the figure below, Graphs (a), (b), and (c) show several possibilities for absolute extrema for functions with a domain of $(-\infty ,\infty ).$ Graphs (d), (e), and (f) show several possibilities for absolute extrema for functions with a domain that is a bounded interval.

### Extreme Value Theorem

If $f$ is a continuous function over the closed, bounded interval $\left[a,b\right],$ then there is a point in $\left[a,b\right]$ at which $f$ has an absolute maximum over $\left[a,b\right]$ and there is a point in $\left[a,b\right]$ at which $f$ has an absolute minimum over $\left[a,b\right].$

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 $I$ is open or the function has even one point of discontinuity, the function may not have an absolute maximum or absolute minimum over $I.$ 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 $\left[0,4\right],$ the function is discontinuous at $x=2.$ The function has an absolute maximum over $[0,4]$ but does not have an absolute minimum. The function in graph (f) is continuous over the half-open interval $[0,2),$ but is not defined at $x=2,$ and therefore is not continuous over a closed, bounded interval. The function has an absolute minimum over $[0,2),$ but does not have an absolute maximum over $[0,2).$ 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 Numbers

Consider the function $f$ 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 $x=2.$ However, $x=0$ is also a point of interest. Although $f(0)$ is not the largest value of $f,$ the value $f(0)$ is larger than $f(x)$ for all $x$ near 0. We say $f$ has a local maximum at $x=0.$ Similarly, the function $f$ does not have an absolute minimum, but it does have a local minimum at $x=1$ because $f(1)$ is less than $f(x)$ for $x$ near 1.

### Definition

A function $f$ has a local maximum at $c$ if there exists an open interval $I$ containing $c$ such that $I$ is contained in the domain of $f$ and $f(c)\ge f(x)$ for all $x\in I.$ A function $f$ has a local minimum at $c$ if there exists an open interval $I$ containing $c$ such that $I$ is contained in the domain of $f$ and $f(c)\le f(x)$ for all $x\in I.$ A function $f$ has a local extremum at $c$ if $f$ has a local maximum at $c$ or $f$ has a local minimum at $c.$

Note that if $f$ has an absolute extremum at $c$ and $f$ is defined over an interval containing $c,$ then $f(c)$ is also considered a local extremum . If an absolute extremum for a function $f$ 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 $f,$ 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 $x=0,$ $x=1,$ and $x=2.$ Notice that at $x=0$ and $x=1,$ the derivative ${f}^{\prime } (x)=0.$ At $x=2,$ the derivative ${f}^{\prime } (x)$ does not exist, since the function $f$ has a corner there. In fact, if $f$ has a local extremum at a point $x=c,$ the derivative ${f}^{\prime } (c)$ must satisfy one of the following conditions: either ${f}^{\prime } (c)=0$ or ${f}^{\prime } (c)$ is undefined. Such a value $c$ is known as a critical numbers and it is important in finding extreme values for functions.

### Definition

Let $c$ be an interior point in the domain of $f.$ We say that $c$ is a critical number of $f$ if ${f}^{\prime } (c)=0$ or ${f}^{\prime } (c)$ is undefined.

As mentioned earlier, if $f$ has a local extremum at a point $x=c,$ then $c$ must be a critical number of $f.$ This fact is known as Fermat’s theorem.

### Fermat’s Theorem

If $f$ has a local extremum at $c$ and $f$ is differentiable at $c,$ then ${f}^{\prime } (c)=0.$

## Proof

Suppose $f$ has a local extremum at $c$ and $f$ is differentiable at $c.$ We need to show that ${f}^{\prime } (c)=0.$ To do this, we will show that ${f}^{\prime } (c)\ge 0$ and ${f}^{\prime } (c)\le 0,$ and therefore ${f}^{\prime } (c)=0.$ Since $f$ has a local extremum at $c,$ $f$ has a local maximum or local minimum at $c.$ Suppose $f$ has a local maximum at $c.$ The case in which $f$ has a local minimum at $c$ can be handled similarly. There then exists an open interval $I$ such that $f(c)\ge f(x)$ for all $x\in I.$ Since $f$ is differentiable at $c,$ from the definition of the derivative, we know that

${f}^{\prime } (c)=\underset{x\to c}{\text{lim}}\frac{f(x)-f(c)}{x-c}.$

Since this limit exists, both one-sided limits also exist and equal ${f}^{\prime } (c).$ Therefore,

${f}^{\prime } (c)=\underset{x\to {c}^{+}}{\text{lim}}\frac{f(x)-f(c)}{x-c},$

and

${f}^{\prime } (c)=\underset{x\to {c}^{-}}{\text{lim}}\frac{f(x)-f(c)}{x-c}.$

Since $f(c)$ is a local maximum, we see that $f(x)-f(c)\le 0$ for $x$ near $c.$ Therefore, for $x$ near $c,$ but $x < c,$ we have $\frac{f(x)-f(c)}{x-c}\le 0.$ From (Figure) we conclude that ${f}^{\prime } (c)\le 0.$ Similarly, it can be shown that ${f}^{\prime } (c)\ge 0.$ Therefore, ${f}^{\prime } (c)=0.$

From Fermat’s theorem, we conclude that if $f$ has a local extremum at $c,$ then either ${f}^{\prime } (c)=0$ or ${f}^{\prime } (c)$ is undefined. In other words, local extrema can only occur at critical numbers.

Note this theorem does not claim that a function $f$ must have a local extremum at a critical number. Rather, it states that critical numbers are candidates for local extrema. For example, consider the function $f(x)={x}^{3}.$ We have ${f}^{\prime } (x)=3{x}^{2}=0$ when $x=0.$ Therefore, $x=0$ is a critical number. However, $f(x)={x}^{3}$ is increasing over $(-\infty ,\infty ),$ and thus $f$ does not have a local extremum at $x=0.$ In (Figure) , we see several different possibilities for critical numbers. In some of these cases, the functions have local extrema at critical numbers, 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 number.

Later in this chapter we look at analytical methods for determining whether a function actually has a local extremum at a critical number. For now, let’s turn our attention to finding critical numbers. We will use graphical observations to determine whether a critical number is associated with a local extremum.

### Locating Critical Numbers

For each of the following functions, find all critical numbers. Use a graphing utility to determine whether the function has a local extremum at each of the critical numbers.

1. $f(x)=\frac{1}{3}{x}^{3}-\frac{5}{2}{x}^{2}+4x$
2. $f(x)={({x}^{2}-1)}^{3}$
3. $f(x)=\frac{4x}{1+{x}^{2}}$

#### Solution

1. The derivative ${f}^{\prime } (x)={x}^{2}-5x+4$ is defined for all real numbers $x.$ Therefore, we only need to find the values for $x$ where ${f}^{\prime } (x)=0.$ Since ${f}^{\prime } (x)={x}^{2}-5x+4=(x-4)(x-1),$ the critical numbers are $x=1$ and $x=4.$ From the graph of $f$ in (Figure) , we see that $f$ has a local maximum at $x=1$ and a local minimum at $x=4.$

2. Using the chain rule, we see the derivative is
${f}^{\prime } (x)=3{({x}^{2}-1)}^{2}(2x)=6x{({x}^{2}-1)}^{2}.$

Therefore, $f$ has critical numbers when $x=0$ and when ${x}^{2}-1=0.$ We conclude that the critical numbers are $x=0,\pm 1.$ From the graph of $f$ in (Figure) , we see that $f$ has a local (and absolute) minimum at $x=0,$ but does not have a local extremum at $x=1$ or $x=-1.$

3. By the chain rule, we see that the derivative is
${f}^{\prime } (x)=\frac{(1+{x}^{2}4)-4x(2x)}{{(1+{x}^{2})}^{2}}=\frac{4-4{x}^{2}}{{(1+{x}^{2})}^{2}}.$

The derivative is defined everywhere. Therefore, we only need to find values for $x$ where ${f}^{\prime } (x)=0.$ Solving ${f}^{\prime } (x)=0,$ we see that $4-4{x}^{2}=0,$ which implies $x=\pm 1.$ Therefore, the critical numbers are $x=\pm 1.$ From the graph of $f$ in (Figure) , we see that $f$ has an absolute maximum at $x=1$ and an absolute minimum at $x=-1.$ Hence, $f$ has a local maximum at $x=1$ and a local minimum at $x=-1.$ (Note that if $f$ has an absolute extremum over an interval $I$ at a point $c$ that is not an endpoint of $I,$ then $f$ has a local extremum at $c.$)

Find all critical numbers for $f(x)={x}^{3}-\frac{1}{2}{x}^{2}-2x+1.$

#### Hint

Calculate ${f}^{\prime } (x).$

#### Solution

$x=-\frac{2}{3},$ $x=1$

# 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 $c$ at which the local extremum occurs must be a critical number. We summarize this result in the following theorem.

### Location of Absolute Extrema

Let $f$ be a continuous function over a closed, bounded interval $I.$ The absolute maximum of $f$ over $I$ and the absolute minimum of $f$ over $I$ must occur at endpoints of $I$ or at critical numbers of $f$ in $I.$

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 $f$ defined over the closed interval $\left[a,b\right].$

1. Evaluate $f$ at the endpoints $x=a$ and $x=b.$
2. Find all critical numbers of $f$ that lie over the interval $(a,b)$ and evaluate $f$ at those critical numbers.
3. Compare all values found in (1) and (2). From (Figure) , the absolute extrema must occur at endpoints or critical numbers. Therefore, the largest of these values is the absolute maximum of $f.$ The smallest of these values is the absolute minimum of $f.$

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.

1. $f(x)=-{x}^{2}+3x-2$ over $\left[1,3\right].$
2. $f(x)={x}^{2}-3{x}^{2\text{/}3}$ over $\left[0,2\right].$

#### Solution

1. Step 1. Evaluate $f$ at the endpoints $x=1$ and $x=3.$
$f(1)=0\text{ and }f(3)=-2$

Step 2. Since ${f}^{\prime } (x)=-2x+3,$ ${f}^{\prime }$ is defined for all real numbers $x.$ Therefore, there are no critical numbers where the derivative is undefined. It remains to check where ${f}^{\prime } (x)=0.$ Since ${f}^{\prime } (x)=-2x+3=0$ at $x=\frac{3}{2}$ and $\frac{3}{2}$ is in the interval $\left[1,3\right],$ $f(\frac{3}{2})$ is a candidate for an absolute extremum of $f$ over $\left[1,3\right].$ We evaluate $f(\frac{3}{2})$ and find

$f(\frac{3}{2})=\frac{1}{4}.$

Step 3. We set up the following table to compare the values found in steps 1 and 2.

$x$ $f(x)$ Conclusion
0 0
$\frac{3}{2}$ $\frac{1}{4}$ Absolute maximum
3 -2 Absolute minimum

From the table, we find that the absolute maximum of $f$ over the interval [1, 3] is $\frac{1}{4},$ and it occurs at $x=\frac{3}{2}.$ The absolute minimum of $f$ over the interval [1, 3] is -2, and it occurs at $x=3$ as shown in the following graph.

2. Step 1. Evaluate $f$ at the endpoints $x=0$ and $x=2.$
$f(0)=0\text{ and }f(2)=4-3\sqrt[3]{4}\approx -0.762$

Step 2. The derivative of $f$ is given by

${f}^{\prime } (x)=2x-\frac{2}{{x}^{1\text{/}3}}=\frac{2{x}^{4\text{/}3}-2}{{x}^{1\text{/}3}}$

for $x\ne 0.$ The derivative is zero when $2{x}^{4\text{/}3}-2=0,$ which implies $x=\pm 1.$ The derivative is undefined at $x=0.$ Therefore, the critical numbers of $f$ are $x=0,1,-1.$ The point $x=0$ is an endpoint, so we already evaluated $f(0)$ in step 1. The point $x=-1$ is not in the interval of interest, so we need only evaluate $f(1).$ We find that

$f(1)=-2.$

Step 3. We compare the values found in steps 1 and 2, in the following table.

$x$ $f(x)$ Conclusion
0 0 Absolute maximum
1 -2 Absolute minimum
2 -0.762

We conclude that the absolute maximum of $f$ over the interval [0, 2] is zero, and it occurs at $x=0.$ The absolute minimum is -2, and it occurs at $x=1$ as shown in the following graph.

Find the absolute maximum and absolute minimum of $f(x)={x}^{2}-4x+3$ over the interval $\left[1,4\right].$

#### Hint

Look for critical numbers. Evaluate $f$ at all critical numbers and at the endpoints.

#### Solution

The absolute maximum is 3 and it occurs at $x=4.$ The absolute minimum is -1 and it occurs at $x=2.$

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 $f$ has a local extremum at a point $c,$ then $c$ must be a critical number of $f.$ However, $c$ being a critical number is not a sufficient condition for $f$ to have a local extremum at $c.$ Later in this chapter, we show how to determine whether a function actually has a local extremum at a critical number. 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 number. However, a function need not have a local extremum at a critical number.
• A continuous function over a closed, bounded interval has an absolute maximum and an absolute minimum. Each extremum occurs at a critical number or an endpoint.

1. In precalculus, you learned a formula for the position of the maximum or minimum of a quadratic equation $y=a{x}^{2}+bx+c,$ which was $m=-\frac{b}{(2a)}.$ Prove this formula using calculus.

2. If you are finding an absolute minimum over an interval $\left[a,b\right],$ why do you need to check the endpoints? Draw a graph that supports your hypothesis.

#### Solution

3. If you are examining a function over an interval $(a,b),$ for $a$ and $b$ finite, is it possible not to have an absolute maximum or absolute minimum?

4. When you are checking for critical numbers, explain why you also need to determine points where $f^{prime}(x)$ is undefined. Draw a graph to support your explanation.

#### Solution

5. Can you have a finite absolute maximum for $y=a{x}^{2}+bx+c$ over $(-\infty ,\infty )?$ Explain why or why not using graphical arguments.

6. Can you have a finite absolute maximum for $y=a{x}^{3}+b{x}^{2}+cx+d$ over $(-\infty ,\infty )$ assuming $a$ is non-zero? Explain why or why not using graphical arguments.

#### Solution

7. Let $m$ be the number of local minima and $M$ be the number of local maxima. Can you create a function where $M < m+2?$ 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.

#### Solution

Since the absolute maximum is the function (output) value rather than the $x$ value, the answer is no; answers will vary

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 $y={e}^{ax}.$ For which values of $a,$ on any infinite domain, will you have an absolute minimum and absolute maximum?

#### Solution

When $a=0$

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.

11.

12.

#### Solution

Absolute minimum at 3; Absolute maximum at -2.2; local minima at -2, 1; local maxima at -1, 2

13.

14.

#### Solution

Absolute minima at -2, 2; absolute maxima at -2.5, 2.5; local minimum at 0; local maxima at -1, 1

For the following problems, draw graphs of $f(x),$ which is continuous, over the interval $\left[-4,4\right]$ with the following properties:

15. Absolute maximum at $x=2$ and absolute minima at $x=\pm 3$

16. Absolute minimum at $x=1$ and absolute maximum at $x=2$

#### Solution

17. Absolute maximum at $x=4,$ absolute minimum at $x=-1,$ local maximum at $x=-2,$ and a critical number that is not a maximum or minimum at $x=2$

18. Absolute maxima at $x=2$ and $x=-3,$ local minimum at $x=1,$ and absolute minimum at $x=4$

#### Solution

For the following exercises, find the critical numbers in the domains of the following functions.

19. $y=4{x}^{3}-3x$

20. $y=4\sqrt{x}-{x}^{2}$

#### Solution

$x=1$

21. $y=\frac{1}{x-1}$

22. $y=\text{ln}(x-2)$

#### Solution

None

23. $y= \tan (x)$

24. $y=\sqrt{4-{x}^{2}}$

#### Solution

$x=0$

25. $y={x}^{3\text{/}2}-3{x}^{5\text{/}2}$

26. $y=\frac{{x}^{2}-1}{{x}^{2}+2x-3}$

#### Solution

None

27. $y={ \sin }^{2}(x)$

28. $y=x+\frac{1}{x}$

#### Solution

$x=-1,1$

For the following exercises, find the absolute maxima/minima for the functions over the specified domain.

29. $f(x)={x}^{2}+3$ over $\left[-1,4\right]$

30. $y={x}^{2}+\frac{2}{x}$ over $\left[1,4\right]$

#### Solution

Absolute maximum: $y=\frac{33}{2};$ at $x=4,$ absolute minimum:  $y=3$ at $x=1.$

31. $y={(x-{x}^{2})}^{2}$ over $\left[-1,1\right]$

32. $y=\frac{1}{(x-{x}^{2})}$ over $\left[0,1\right]$

#### Solution

Absolute minimum:  $y=4$ at $x=\frac{1}{2},$

33. $y=\sqrt{9-x}$ over $\left[1,9\right]$

34. $y=x+ \sin (x)$ over $\left[0,2\pi \right]$

#### Solution

Absolute maximum:  $y=2\pi ;$ at $x=2\pi$, absolute minimum: $y=0$ at $x=0.$

35. $y=\frac{x}{1+x}$ over $\left[0,100\right]$

36. $y=|x+1|+|x-1|$ over $\left[-3,2\right]$

#### Solution

Absolute maximum: $y=6$ at $x=-3;$ absolute minimum: $y=2$ everywhere along $-1\le x\le 1.$

37. $y=\sqrt{x}-\sqrt{{x}^{3}}$ over $\left[0,4\right]$

38. $y= \sin x+ \cos x$ over $\left[0,2\pi \right]$

#### Solution

Absolute maximum: $y=\sqrt{2}$ at $x=\frac{\pi }{4},$  absolute minimum: $y=-\sqrt{2}$ at $x=\frac{5\pi }{4},$

39. $y=4 \sin \theta -3 \cos \theta$ over $\left[0,2\pi \right]$

For the following exercises, find the local and absolute minima and maxima for the functions over $(-\infty ,\infty ).$

40. $y={x}^{2}+4x+5$

#### Solution

Absolute minimum: $y=1$ at $x=-2,$

41. $y={x}^{3}-12x$

42. $y=3{x}^{4}+8{x}^{3}-18{x}^{2}$

#### Solution

Absolute minimum: $y=-135;$ at $x=-3,$  local maximum: $y=0;$ at $x=0,$  local minimum: $y=-7$ at $x=1,$

43. $y={x}^{3}{(1-x)}^{6}$

44. $y=\frac{{x}^{2}+x+6}{x-1}$

#### Solution

Local maximum: $y=3-4\sqrt{2};$ at $x=1-2\sqrt{2},$  local minimum: $y=3+4\sqrt{2}$ at $x=1+2\sqrt{2},$

45. $y=\frac{{x}^{2}-1}{x-1}$

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] $y=3x\sqrt{1-{x}^{2}}$

#### Solution

Absolute maximum: $y=\frac{3}{2};$ at $x=\frac{\sqrt{2}}{2},$ absolute minimum: $y=-\frac{3}{2}$ at $x=-\frac{\sqrt{2}}{2},$

47. [T] $y=x+ \sin (x)$

48. [T] $y=12{x}^{5}+45{x}^{4}+20{x}^{3}-90{x}^{2}-120x+3$

#### Solution

Local maximum: $y=59;$ at $x=-2,$  local minimum: $y=-130$ at $x=1,$

49. [T] $y=\frac{{x}^{3}+6{x}^{2}-x-30}{x-2}$

50. [T] $y=\frac{\sqrt{4-{x}^{2}}}{\sqrt{4+{x}^{2}}}$

#### Solution

Absolute maximum:$y=1;$ at  $x=0,$  absolute minimum: $y=0$ at $x=-2,2,$

51. A company that produces cell phones has a cost function of $C={x}^{2}-1200x+36,400,$ where $C$ is cost in dollars and $x$ 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 $h(t)=-4.9{t}^{2}+60t+5\text{m}.$ Find the height at which the ball stops ascending. How long after it is thrown does this happen?

#### Solution

$h=\frac{9245}{49}\text{m,}$, $t=\frac{300}{49}\text{s}$

For the following exercises, consider the production of gold during the California gold rush (1848–1888). The production of gold can be modeled by $G(t)=\frac{(25t)}{({t}^{2}+16)},$ where $t$ is the number of years since the rush began $(0\le t\le 40)$ and $G$ 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?

#### Solution

The global minimum was in 1848, when no gold was produced.

Find the critical numbers, maxima, and minima for the following piecewise functions.

55. $y=\bigg\{\begin{array}{cc}{x}^{2}-4x& 0\le x\le 1\\ {x}^{2}-4& 1 < x\le 2\end{array}$

56. $y=\bigg\{\begin{array}{cc}{x}^{2}+1& x\le 1\\ {x}^{2}-4x+5& x < 1\end{array}$

#### Solution

Absolute minima: $y=1;$ at $x=0,$ $x=2,$ local maximum: $y=2$ at $x=1,$

For the following exercises, find the critical numbers of the following generic functions. Are they maxima, minima, or neither? State the necessary conditions.

57. $y=a{x}^{2}+bx+c,$ given that $a < 0$

58. $y={(x-1)}^{a},$ given that $a < 1$

#### Solution

No maxima/minima if $a$ is odd, minimum at $x=1$ if $a$ is even

## Glossary

absolute extremum
if $f$ has an absolute maximum or absolute minimum at $c,$ we say $f$ has an absolute extremum at $c$
absolute maximum
if $f(c)\ge f(x)$ for all $x$ in the domain of $f,$ we say $f$ has an absolute maximum at $c$
absolute minimum
if $f(c)\le f(x)$ for all $x$ in the domain of $f,$ we say $f$ has an absolute minimum at $c$
critical number
if ${f}^{\prime } (c)=0$ or ${f}^{\prime } (c)$ is undefined, we say that $c$ is a critical number of $f$
extreme value theorem
if $f$ is a continuous function over a finite, closed interval, then $f$ has an absolute maximum and an absolute minimum
Fermat’s theorem
if $f$ has a local extremum at $c,$ then $c$ is a critical number of $f$
local extremum
if $f$ has a local maximum or local minimum at $c,$ we say $f$ has a local extremum at $c$
local maximum
if there exists an interval $I$ such that $f(c)\ge f(x)$ for all $x\in I,$ we say $f$ has a local maximum at $c$
local minimum
if there exists an interval $I$ such that $f(c)\le f(x)$ for all $x\in I,$ we say $f$ has a local minimum at $c$