Chapter 6
IN THIS CHAPTER
Locating extrema
Using the first and second derivative tests
Interpreting concavity and points of inflection
If you’ve read Chapters 4 and 5, you’re probably an expert at finding derivatives. Which is a good thing, because in this chapter you use derivatives to understand the shape of functions — where they rise, fall, max out and bottom out, how they curve, and so on.
Imagine that you’re driving along the function in Figure 6-1 from left to right. Along your drive, there are several points of interest between a and l. All of them, except for the start and finish points, relate to the steepness of the road — in other words, its slope or derivative. I’m going to throw lots of new terms and definitions at you all at once here, but you shouldn’t have too much trouble because these ideas mostly involve commonsense notions like driving up or down an incline, or going over the crest of a hill.
Now that you know what local extrema are, you need to know how to do the math to find them. Remember, all local extrema occur at critical points of a function — where the derivative is zero or undefined. So, the first step in finding a function’s local extrema is to find its critical numbers (the x-values of the critical points).
Find the critical numbers of . See Figure 6-2.
These three x-values are critical numbers of f. Additional critical numbers could exist if the first derivative were undefined at some x-values, but because the derivative, , is defined for all input values, the above solution set, 0, , and 2 is the complete list of critical numbers. Because the derivative of f equals zero at these three critical numbers, the curve has horizontal tangents at these numbers.
Now that you’ve got the list of critical numbers, you need to determine whether peaks or valleys or neither occur at those x-values by using either the First Derivative Test or the Second Derivative Test. (Of course, you can see where the peaks and valleys are by just looking at Figure 6-2, but you still have to learn the math.)
The First Derivative Test is based on the Nobel-prize-caliber ideas that as you go over the top of a hill, first you go up and then you go down, and that when you drive into and out of a valley, you go down and then up. This calculus stuff is pretty amazing, isn’t it?
Take a number line and put down the critical numbers you found above: 0, , and 2. See Figure 6-3.
This number line is now divided into four regions: to the left of , from to 0, from 0 to 2, and to the right of 2. Pick a value from each region, plug it into the derivative, and note whether your result is positive or negative. Let’s use the numbers , , 1, and 3 to test the regions.
These four results are, respectively, positive, negative, negative, or positive. Now, take your number line, mark each region with the appropriate positive or negative sign, and indicate whether the function is increasing (derivative is positive) or decreasing (derivative is negative). The result is a sign graph. See Figure 6-4.
Figure 6-4 simply tells you what you already know from the graph of f — that the function goes up until , down from to 0, further down from 0 to 2, and up again from 2 on.
The function switches from increasing to decreasing at ; you go up to and then down. So at you have a hill or a local maximum. Conversely, because the function switches from decreasing to increasing at 2, you have a valley there or a local minimum. And because the signs of the first derivative don’t switch at zero, there’s neither a min nor a max at that x-value (you get an inflection point when this happens).
The last step is to obtain the function values (heights) of these two local extrema by plugging the x-values into the original function:
The local max is at and the local min is at .
The Second Derivative Test is based on two more prize-winning ideas: That at the crest of a hill, a road has a hump shape, so it’s curving down or concave down; and that at the bottom of a valley, a road is cup-shaped, so it’s curving up or concave up.
The concavity of a function at a point is given by its second derivative: A positive second derivative means the function is concave up, a negative second derivative means the function is concave down, and a second derivative of zero is inconclusive (the function could be concave up, concave down, or there could be an inflection point there). So, for our function f, all you have to do is find its second derivative and then plug in the critical numbers you found (, 0, and 2) and note whether your results are positive, negative, or zero. To wit —
At , the second derivative is negative (). This tells you that f is concave down where x equals , and therefore that there’s a local max at . The second derivative is positive (240) where x is 2, so f is concave up and thus there’s a local min at . Because the second derivative equals zero at , the Second Derivative Test fails — it tells you nothing about the concavity at or whether there’s a local min or max there. When this happens, you have to use the First Derivative Test.
Now go through both derivative tests one more time with another example. Find the local extrema of . See Figure 6-5.
Thus 1 is a critical number.
Determine whether the first derivative is undefined for any x-values.
Now, because the cube root of zero is zero, if you plug in zero to , you’d have , which is undefined. So the derivative, is undefined at , and thus 0 is another critical number.
Plot the critical numbers on a number line, and then use the First Derivative Test to figure out the sign of each region.
You can use , 0.5, and 2 as test numbers
Figure 6-6 shows the sign graph.
Because the first derivative of g switches from positive to negative at 0, there’s a local max there. And because the first derivative switches from negative to positive at 1, there’s a local min at .
So, there’s a local max at (0, 4) and a local min at (1, 3).
You could have used the Second Derivative Test instead of the First in Step 4. You’d need the second derivative of g, which is, as you know, the derivative of its first derivative:
Evaluate the second derivative at 1 (the critical number where ).
Because is positive, you know that g is concave up at and, therefore, that there’s a local min there. The Second Derivative Test is no help where the first derivative is undefined (where ), so you’ve got to use the First Derivative Test for that critical number.
Every function that’s continuous on a closed interval has an absolute maximum and an absolute minimum value in that interval — a highest and lowest point — though, as you see in the following example, there can be a tie for highest or lowest value.
Finding the absolute max and min is a snap. All you do is compute the critical numbers of the function in the given interval, determine the height of the function at each critical number, and then figure the height of the function at the two endpoints of the interval. The greatest of this set of heights is the absolute max; and the least is the absolute min. Example: Find the absolute max and min of in the closed interval .
Thus, the zeros of , and because is defined for all input numbers, this is the complete list of critical numbers.
So, from Steps 2 and 3, you’ve found five heights: 1.5, 1, 1.5, , and 1. The largest number in this list, 1.5, is the absolute max; the smallest, , is the absolute min.
The absolute max occurs at two points: and . The absolute min occurs at one of the endpoints, . Figure 6-7 shows the graph of h.
A function’s absolute max and absolute min over its entire domain are the highest and lowest values of the function anywhere it’s defined. A function can have an absolute max or min or both or neither. For example, the parabola has an absolute min at the point (0, 0) — the bottom of its cup shape — but no absolute max because it goes up forever to the left and the right. You could say that its absolute max is infinity if it weren’t for the fact that infinity is not a number and thus it doesn’t qualify as a maximum (ditto, of course, for negative infinity as a minimum).
The basic idea is this: Either a function will max out somewhere or it will go up forever to infinity. And the same idea applies to a min and going down to negative infinity.
To locate a function’s absolute max and min over its domain, find the height of the function at each of its critical numbers — just like in the previous section, except that here you consider all the critical numbers, not just those in a given interval. The highest of these values is the absolute max unless the function rises to positive infinity somewhere, in which case you say that it has no absolute max. The lowest of these values is the absolute min, unless the function goes down to negative infinity, in which case it has no absolute min.
If a function goes up or down infinitely, it does so at its extreme right or left or at a vertical asymptote. So, your last step (after evaluating all the critical points) is to evaluate and — the so-called end behavior of the function — and the limit of the function as x approaches each vertical asymptote from the left and from the right. If any of these limits equals positive infinity, then the function has no absolute max; if none equals positive infinity, then the absolute max is the function value at the highest of the critical points. And if any of these limits is negative infinity, then the function has no absolute min; if none of them equals negative infinity, then the absolute min is the function value at the lowest of the critical points.
Figure 6-8 shows a couple functions where the above method won’t work. The function has no absolute max despite the fact that it doesn’t go up to infinity. Its max isn’t 4 because it never gets to 4, and its max can’t be anything less than 4, like 3.999, because it gets higher than that, say 3.9999. The function has no absolute min despite the fact that it doesn’t go down to negative infinity. Going left, crawls along the horizontal asymptote at . g gets lower and lower, but it never gets as low as zero, so neither zero nor any other number can be the absolute min.
Look back at the function in Figure 6-2. You used the three critical numbers of f, 0, and 2, to find the function’s local extrema: and . This section investigates what happens elsewhere on this function — specifically, where the function is concave up or down and where the concavity switches (the inflection points).
The process for finding concavity and inflection points is analogous to using the First Derivative Test and the sign graph to find local extrema, except that now you use the second derivative.
Determine whether the second derivative is undefined for any x-values.
is defined for all real numbers, so there are no other x-values to add to the list from Step 2.
Steps 2 and 3 give you what you could call second derivative critical numbers of f because they are analogous to the critical numbers of f that you find using the first derivative. But, as far as I’m aware, this set of numbers has no special name. In any event, the important thing to know is that this list is made up of the zeros of plus any x-values where is undefined.
Plot these numbers on a number line and test the regions with the second derivative.
Use 1, and 2 as test numbers (Figure 6-9 shows the sign graph).
A positive sign on this sign graph tells you that the function is concave up in that interval; negative means concave down. The function has an inflection point (usually) at any x-value where the signs switch from positive to negative or vice versa.
Because the signs switch at and because these three numbers are zeros of , inflection points occur at these x-values. But in a problem where the signs switch at a number where is undefined, you have to check one more thing before you can conclude that there’s an inflection point there. An inflection point exists at a given x-value only if there’s a tangent line to the function at that number. This is the case wherever the first derivative exists or where there’s a vertical tangent.
The square root of two equals about 1.4, so there are inflection points at about , and about .
You can learn a lot about functions and their derivatives by comparing the important features of their graphs. Let’s keep going with the same function ; travel along f from left to right (see Figure 6-10), pausing to observe its points of interest and what’s happening to the graph of at the same points. But first a (long) warning:
Okay, let’s get back to f and its derivative, shown in Figure 6-10. Remember, before the warning we were traveling along f from left to right. Beginning on the left, f increases until the local max at . It’s going up, so its slope is positive, but f is getting less steep so its slope is decreasing — the slope decreases until it becomes zero at the peak. This corresponds to the graph of (the slope) which is positive (because it’s above the x-axis) but decreasing as it goes down to the point .
A local max on the graph of a function corresponds to a zero (or x-intercept) on an interval of the graph of its derivative that crosses the x-axis going down.
When you look at points on a derivative graph, don’t forget that the y-coordinate of a point — like — on a graph of a first derivative tells you the slope of the original function, not its height. Think of the y-axis on a first derivative graph as the slope-axis or the m-axis.
Now retrace your steps and look at the concavity and inflection points of f in Figure 6-10. First, consider intervals A and B in the figure. Starting from the left again, the graph of f is concave down — a decreasing slope — until it gets to the inflection point at about . So, the graph of decreases until it bottoms out at about . These coordinates tell you that the inflection point at on f has a slope of . Note that the inflection point at is the steepest point on that stretch of the function, but it has the smallest slope because its slope is a larger negative than the slope at any nearby point.
Between and the next inflection point at (0, 0), f is concave up, which means the same thing as an increasing slope. So the graph of increases from about to where it hits a local max at (0, 0). See interval C in Figure 6-10.
After (0, 0), f is concave down till the inflection point at about — this corresponds to the decreasing section of from (0, 0) to its min at — interval D in Figure 6-10. Finally, f is concave up the rest of the way, which corresponds to the increasing section of beginning at — intervals E and F in Figure 6-10.
You don’t need the Mean Value Theorem for much, but it’s a famous and important theorem, so you really should learn it. Look at Figure 6-11 and see if you can make sense of the mumbo jumbo beneath it.
Okay, so here’s what the theorem means. The secant line connecting points and in Figure 6-11 has a slope given by the slope formula:
Note that this is the same as the right side of the equation in the mean value theorem. The derivative at a point is the same thing as the slope of the tangent line at that point, so the theorem just says that there must be at least one point between a and b where the slope of the tangent is the same as the slope of the secant line from a to b. The result is parallel lines like you see in Figure 6-11.
18.219.236.62