# MAT 135 – Calculus Activity for 4.

1: Minimum and Maximum Values
Review: A function f has an absolute maximum (minimum) value at x = c if f (c) is the largest (smallest) value that the function will ever take on the domain we are working on. By contrast, a function has a local maximum (minimum) value if it is the largest (smallest) value in its local neighborhood, not necessarily the largest (smallest) value on the entire domain of f .

1

How can local and absolute extreme values combine in a single graph?

Start up Winplot, and enter in the following function to plot: A*x^4 + B*x^3 + C*x^2 + D*x + E This will be a fourth-degree polynomial with ﬁve coeﬃcients. You can open up a slider for each of these ﬁve coeﬃcients; do so by going to the Anim menu, then to Individual, and choose A to open a window with a slider that sets the value for the coeﬃcient A. Repeat this for B, C, D, and E. You can now play with the sliders to change the values of the coeﬃcients and watch the curve change shape as you do so. If you need further guidance, a brief video of this process is at http://screencast.com/t/L3yVNWuCxd8 Using the sliders, come up in each item below with a function having the description given. In each case, once you have come up with an appropriate function, record your values of A, B, C, D, and E in the table provided. 1. A function having at least one local minimum value and at least one local maximum value, but no absolute extreme values 2. A function having a local minimum value and a local maximum value, where one of the local minimum values is also the absolute minimum value but the local maximum value is not the absolute maximum value 3. A function having a local minimum value and a local maximum value, where one of the local maximum values is also the absolute maximum value but the local minimum value is not the absolute minimum value 4. A function with at least one local minimum value but no local or absolute maximum values 5. A function with at least one local maximum value but no local or absolute minimum values 6. A function with no local or absolute extreme values at all Leave Winplot open and do not delete your plot, because you’ll be using it in the next parts of this activity.

1

Table for Recording Coeﬃcient Values Question 1 2 3 4 5 6 A B C D E

2

What do derivatives have to say about extreme values?
1. In items 1–5 in Part 1 of the activity, you came up with functions that had local extreme values. Go back to each of those functions and estimate the value of the derivative at each local extreme value. You should be able to do this by quick visual inspection and little to no calculations. What appears to be true about the derivative value of your function at every extreme value? 2. Now go to Winplot and graph y = |x2 −1|. The Winplot syntax for this would be abs(x^2-1). Notice the cusps (sharp turning points) on the graph at x = −1 and x = 1. Explain why we should consider the graph to have a local minimum value at these points. (In fact, these are also the absolute minimum values of the graph.) What can you say about the derivative at these two points? 3. Put the information from questions 1 and 2 together to ﬁll in the blanks below: Suppose f is a function that has a local minimum or local maximum value at x = c. Then f (c), the derivative value at x = c, either or . 4. Your discovery in question 3 will be a heavily used tool for locating extreme values of a function, but we must use it with some caution. On Winplot, plot the graph of y = x3 + 1 and look at the graph when x = 0. Use a slider, visual inspection, or algebra to get the value of the derivative dy/dx at x = 0. Is it true that every time the derivative of a function equals 0, that we obtain a local extreme value there?

3

Critical information

Based on your discovery in the previous part of this activity, we will deﬁne the following idea: Let f be a function. We say that a number c is a critical number of f if either f (c) = 0 or f (c) does not exist. For example, x = 0 is a critical number for y = x3 + 1, and the function y = |x2 − 1| has three critical numbers: x = 1, x = −1, and x = 0. At the ﬁrst two, the derivative is undeﬁned (because of the cusps). At the third, the derivative is 0 (because the tangent line is horizontal). 1. Consider the graph of f , below:

2

6

5

4

3 Y Axis

2

1

-1 -1

1

2

3

4

5

6

7

8

-2 X Axis

State the critical numbers of f and explain what makes each one a critical number. 2. Consider the function f (x) = x4 − 4x3 . (a) Find all the critical numbers of f . (There are two of them.) (b) Plot f on Winplot in an appropriate viewing window and look at the critical numbers you found. Does every critical number yield a local extreme value on f ? Are there any local extreme values of f which do not occur at critical numbers? 3. Repeat the previous question with the function f (x) = xe−x . (This has just one critical number.) You may use Wolfram|Alpha to do mechanical calculations, but be advised that you should be able to do this by hand for quizzes and Assessments. 4. Below are two schematic diagrams that attempt to show the relationship between critical numbers of a function f and local extreme values of f . The one on the left claims that every local extreme value happens at a critical number. The second one says that every critical number gives a local extreme value. Which one is correct? Are both correct?

Critical numbers of f

Local extreme values of f

Local extreme values of f

Critical numbers of f

5. If you know that f has a critical number at x = c, what are some ways to tell whether it is a local minimum, local maximum, or neither one?

4

When must a function have absolute extreme values?
1. On Winplot, plot y = x3 + 1. Note that it has no absolute extreme values or local extreme values at all. However, if we change the domain of this function from (−∞, ∞) to something else, things may change. Let’s redeﬁne the domain of this function to the closed interval 3

[−2, 3] (that is, all x values between −2 and 3 and including both endpoints x = −2 and x = 3). On Winplot, we can do this by going to the Inventory screen, checking the “Lock Interval” box, and then entering −2 for “low x” and 3 for “high x”. This will graph y = x3 +1 only over the closed interval [−2, 3], so it looks like just a piece of the former graph. 2. Examine y = x3 + 1 on the interval [−2, 3]. Does it have an absolute maximum value now? Where is it? Does it have an absolute minimum now? Where is it? 3. Change the interval from [−2, 3] to something else of your choosing. Does y = x3 + 1 have an absolute minimum and an absolute maximum on this interval? 4. Now create a new plot in Winplot an enter in a ﬁfth-degree polynomial of your choosing. Note that no matter what coeﬃcients you choose, the graph will have no absolute minimum and no absolute maximum. (Why is that?) But then restrict the domain to a closed interval. Do you get an absolute minimum now? What about an absolute maximum? 5. Based on your work above, you might begin to think that the following must be true: If f is a function deﬁned only over a closed interval [a, b], then f has both an absolute maximum value and an absolute minimum value. And you’d almost be right. However, consider the following function: y=
1 x−1

2

if x = 1 if x = 1

Draw th graph of this function (by hand, or use Winplot if you recall how to plot piecewise functions) only on the closed interval [−2, 2]. If the statement above were true, then this function ought to have an absolute maximum value and an absolute minimum value on [−2, 2], since the function is deﬁned at every point in the closed interval [−2, 2]. (In fact, this function’s domain is R, the entire real number line.) But this is not the case – this function has neither an absolute minimum value nor an absolute maximum value on this closed interval! Why not? Based on this example, ﬁll in the blank below to make a statement that always works: If f is a function deﬁned only over a closed interval [a, b] and f is at all points in [a, b], then f has both an absolute maximum value and an absolute minimum value.

5

Wrapping Up

Review your group’s work on this activity and answer the following questions. These answers, along with your verbal contributions to the debrieﬁng session and a follow-up exercise, will be used for your attendance grade. 1. What did you learn about local extreme values and absolute extreme values of functions in the ﬁrst part of this activity? 2. What can we say about the derivative value of a function at any place where it has a local extreme value? 4

3. What is a critical number ? 4. Is it true that, if a function has a critical number at x = c, then it must have a local extreme value at x = c? If not, give an example. 5. Under what conditions must a function have both an absolute minimum and an absolute maximum?