TOPIC 5.7 · STUDY

Using the Second Derivative Test to Determine Extrema

When f'(c) = 0, the sign of f''(c) can identify a local extremum. For f(x) = x^3 - 3x, f''(-1) = -6 gives a local maximum and f''(1) = 6 gives a local minimum. The test is inconclusive when f''(c) = 0.

FUN-4.A

Using the Second Derivative Test to Determine Extrema

The second derivative test is a shortcut at a critical point where the first derivative equals zero. Suppose $f'(c)=0$ and $f''(c)$ exists. If $f''(c)<0$, then $f$ has a local maximum at $c$. If $f''(c)>0$, then $f$ has a local minimum at $c$. If $f''(c)=0$, or if $f''(c)$ does not exist, the test gives no conclusion. In that case the first derivative test is the tool that still works.

The sign of $f''(c)$ is a concavity reading at a horizontal tangent. A horizontal tangent in a concave-down bend is a local high point. A horizontal tangent in a concave-up bend is a local low point. The hypothesis $f'(c)=0$ matters: a negative second derivative by itself only says the graph is concave down near $c$, which can happen on a stretch where the graph is still falling or still rising.

Example. Let $f(x)=x^3-3x$. Then $f'(x)=3x^2-3=3(x-1)(x+1)$ and $f''(x)=6x$. The zeros of $f'$ are $x=-1$ and $x=1$. At the first, $f''(-1)=6(-1)=-6<0$, so the second derivative test says $f$ has a local maximum at $x=-1$, and $f(-1)=2$. At the second, $f''(1)=6>0$, so $f$ has a local minimum at $x=1$, and $f(1)=-2$. These are the same conclusions the first derivative test gave from the sign changes of $f'$.

$c$ $f'(c)$ $f''(c)$ Conclusion
$-1$ $0$ $-6<0$ Local max, $f(-1)=2$
$1$ $0$ $6>0$ Local min, $f(1)=-2$

The inconclusive case is easy to meet, and the two standard examples disagree with each other. For $g(x)=x^3$, $g'(x)=3x^2$ and $g''(x)=6x$, so $g'(0)=0$ and $g''(0)=0$. The first derivative test finds no sign change, and $x=0$ is not a local extremum. For $h(x)=x^4$, $h'(x)=4x^3$ and $h''(x)=12x^2$, so $h'(0)=0$ and $h''(0)=0$ as well. Here $h'$ changes from negative to positive, and $x=0$ is a local minimum. Both functions give $f''(c)=0$. The second derivative test stays silent, and the sign of the first derivative decides.

Graph of y = x cubed minus 3x with the local maximum and local minimum used in the second derivative test.

At the local maximum, $f'(-1)=0$ and $f''(-1)=-6<0$. At the local minimum, $f'(1)=0$ and $f''(1)=6>0$. The second derivative test reads those two critical points directly from the sign of $f''$.

Key points

  • Use the second derivative test only where $f'(c)=0$ and $f''(c)$ exists.
  • $f''(c)<0$ means a local maximum; $f''(c)>0$ means a local minimum.
  • For $f(x)=x^3-3x$, $f''(-1)=-6$ gives a local max with value $2$, and $f''(1)=6$ gives a local min with value $-2$.
  • If $f''(c)=0$, the test is inconclusive. Use the sign of $f'$ instead.
  • $g(x)=x^3$ and $h(x)=x^4$ both have a zero second derivative at $0$, and only $h$ has a local minimum there.

A common mistake is to conclude that $c$ is not a local extremum when $f''(c)=0$. The second derivative test is inconclusive in that case. For $g(x)=x^3$, $g'(0)=0$ and $g''(0)=0$, and there is no local extremum. For $h(x)=x^4$, $h'(0)=0$ and $h''(0)=0$, and $x=0$ is a local minimum. Go back to the sign change of $f'$.

Practice this topic