The First and Second Derivatives
The First and Second Derivatives
> 0, then f (x) is an increasing function at x = p. < 0, then f (x) is a decreasing function at x = p.
f if d dx (p) = 0, then x = p is called a critical point of f (x), and we do not know anything new about the behavior of f (x) at x = p.
For example, take f (x) = 3x3 6x2 + 2x 1. The derivative of f (x) is df = 9x2 12x + 2. dx At x = 0, the derivative of f (x) is therefore 2, so we know that f (x) is an increasing function at x = 0. At x = 1, the derivative of f (x) is df (1) = 9 12 12 1 + 2 = 9 12 + 2 = 1, dx so f (x) is a decreasing function at x = 1.
> 0 at x = p, then f (x) is concave up at x = p. < 0 at x = p, then f (x) is concave down at x = p. = 0 at x = p, then we do not know anything new about the behavior of f (x) at x = p.
For an example of nding and using the second derivative of a function, take f (x) = 3x3 6x2 + 2x 1 as above. Then f (x) = 9x2 12x + 2, and f (x) = 18x 12. So at x = 0, the second derivative of f (x) is 12, so we know that the graph of f (x) is concave down at x = 0. Likewise, at x = 1, the second derivative of f (x) is f (1) = 18 1 12 = 18 12 = 6, so the graph of f (x) is concave up at x = 1.
> 0, then f (x) has a local minimum at x = p. < 0, then f (x) has a local maximum at x = p. = 0, then we learn no new information about the behavior of f (x) at x = p.
For example, take g (x) = x3 9x2 + 15x 7, and let us nd the critical points of g (x) and if any of its critical points are local maxima or local minima. The derivative of g (x) is g (x) = 3x2 18x + 15. The critical points of g (x) are precisely the values of x where the derivative of g (x) is 0, so we set the formula above equal to 0 and solve the resulting quadratic equation: 3x2 18x + 15 = 0 x2 6x + 5 = 0 (x 1)(x 5) = 0 x=1 or x = 5.
So the critical points of g (x) are x = 1 and x = 5. We now want to apply the second derivative test, and to do that we need to nd a formula for the second derivative: g (x) = 6x 18.
So the second derivative of g (x) at x = 1 is g (1) = 6 1 18 = 6 18 = 12, and the second derivative of g (x) at x = 5 is g (5) = 6 5 18 = 30 18 = 12. Therefore the second derivative test tells us that g (x) has a local maximum at x = 1 and a local minimum at x = 5.
Inection Points
Finally, we want to discuss inection points in the context of the second derivative. We recall that the graph of a function f (x) has an inection point at x if the graph of the function goes from concave up to concave down at that point, or if the graph of the function goes from concave down to concave up at that point. Clearly then, an inection point can only happen where at points where the second derivative is 0, because otherwise the point would the graph would be either completely concave up or completely concave down at that point. Just like in the case of local maxima and local minima and the rst derivative, however, the presence of a point where the second derivative of a function is 0 does not automatically tell us that the point is an inection point. For example, take f (x) = x4 . Then f (x) = 4x3 and f (x) 12x2 , so f (0) = 0, but if we were sketch the function f (x) = x4 , it becomes clear that x = 0 is not an inection point for f (x), since f (x) has the familiar U-shape of even positive power functions. So, while the second derivative can tell us a lot about the shape of the graph of a function, it cannot tell us everything: it cannot tell us if the graph of a function has an inection point; it can only tell us where it might have an inection point. Can you think of a test like the second derivative test that we could use to conclusively nd inection points?