Skip to main content
\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)
Mathematics LibreTexts

5.3: The Second Derivative Test

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)

    The basis of the first derivative test is that if the derivative changes from positive to negative at a point at which the derivative is zero then there is a local maximum at the point, and similarly for a local minimum. If \(f'\) changes from positive to negative it is decreasing; this means that the derivative of \(f'\), \(f''\), might be negative, and if in fact \(f''\) is negative then \(f'\) is definitely decreasing, so there is a local maximum at the point in question.

    Note well that \(f'\) might change from positive to negative while \(f''\) is zero, in which case \(f''\) gives us no information about the critical value. Similarly, if \(f'\) changes from negative to positive there is a local minimum at the point, and \(f'\) is increasing. If \(f''>0\) at the point, this tells us that \(f'\) is increasing, and so there is a local minimum.

    there is a local minimum at \(5\pi/4\).

    When it works, the second derivative test is often the easiest way to identify local maximum and minimum points. Sometimes the test fails, and sometimes the second derivative is quite difficult to evaluate; in such cases we must fall back on one of the previous tests.

    Let \( f(x)=x^4\). The derivatives are \(f'(x)=4x^3\) and \(f''(x)=12x^2\). Zero is the only critical value, but \(f''(0)=0\), so the second derivative test tells us nothing. However, \(f(x)\) is positive everywhere except at zero, so clearly \(f(x)\) has a local minimum at zero. On the other hand, \( f(x)=-x^4\) also has zero as its only critical value, and the second derivative is again zero, but \( -x^4\) has a local maximum at zero.


    David Guichard (Whitman College)

    • Integrated by Justin Marshall.