Derivatives and the Shape of a Graph: Learn It 3

The Second Derivative Test

The first derivative test provides a systematic approach to identify local extrema, but in some cases, using the second derivative can be more straightforward. A function must have a local extremum at a critical point, but not all critical points are extremas.

Consider a function f that is twice-differentiable on an open interval I containing a.

  • If f(x)<0 and f(a)=0, fis concave down at a, indicating a local maximum.
  • If f(x)>0 and f(a)=0, fis concave up at a, suggesting a local minimum at a.

Furthermore, if f is continuous over I and remains positive, f is consistently concave up across I, which helps in determining the behavior of f at other critical points.

For instance, suppose there exists a point b such that f(b)=0 and f is positive throughout, f has a local minimum at b. The second derivative thus confirms the nature of local extrema by providing insight into the concavity of the function at critical points.

A function f(x) is graphed in the first quadrant with a and b marked on the x-axis. The function is vaguely sinusoidal, increasing first to x = a, then decreasing to x = b, and increasing again. At (a, f(a)), the tangent is marked, and it is noted that f’(a) = 0 and f’’(a) < 0. At (b, f(b)), the tangent is marked, and it is noted f’(b) = 0 and f’’(b) > 0.
Figure 9. Consider a twice-differentiable function f such that f is continuous. Since f(a)=0 and f(a)<0, there is an interval I containing a such that for all x in I, f is increasing if x<a and f is decreasing if x>a. As a result, f has a local maximum at x=a. Since f(b)=0 and f(b)>0, there is an interval I containing b such that for all x in I, f is decreasing if x<b and f is increasing if x>b. As a result, f has a local minimum at x=b.

second derivative test

Suppose f(c)=0,f is continuous over an interval containing c.

  1. If f(c)>0, then f has a local minimum at c.
  2. If f(c)<0, then f has a local maximum at c.
  3. If f(c)=0, then the test is inconclusive.

Note that for case iii. when f(c)=0, then f may have a local maximum, local minimum, or neither at c.

The functions f(x)=x3, f(x)=x4, and f(x)=x4 all have critical points at x=0. In each case, the second derivative is zero at x=0.

However, the function f(x)=x4 has a local minimum at x=0 whereas the function f(x)=x4 has a local maximum at x=0 and the function f(x)=x3 does not have a local extremum at x=0.

Let’s now look at how to use the second derivative test to determine whether f has a local maximum or local minimum at a critical point c where f(c)=0.

Use the second derivative to find the location of all local extrema for f(x)=x55x3.