Second Derivative Calculator

Type a function of x to find its second derivative.

Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).

Try

Result

You enteredd2dx2[x4−2x2]\frac{d^{2}}{dx^{2}}\left[x^{4} - 2x^{2}\right]

f′′(x)=12x2−4\displaystyle f''(x) = 12x^{2} - 4

First derivative

f′(x)=4x3−4x\displaystyle f'(x) = 4x^{3} - 4x
Show the work
  1. Sum rule

    x4−2x2x^{4} - 2x^{2} is a sum, so each of its 2 terms that change is differentiated on its own and the results are added.

    Using (f+g)′=f′+g′\left(f + g\right)' = f' + g'

    ddx[x4−2x2]=ddx[x4]−ddx[2x2]=4x3−4x\begin{aligned} \frac{d}{dx}\left[x^{4} - 2x^{2}\right] &= \frac{d}{dx}\left[x^{4}\right] - \frac{d}{dx}\left[2x^{2}\right] \\ &= 4x^{3} - 4x \end{aligned}
  2. Power rule

    xx is raised to the constant power n=4n = 4, so the exponent comes down in front and drops by one.

    Using ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1}

    ddx[x4]=4x3\frac{d}{dx}\left[x^{4}\right] = 4x^{3}
  3. Constant multiple rule

    −2-2 does not depend on xx, so it stays in front while x2x^{2} is differentiated.

    Using (c u)′=c u′\left(c\,u\right)' = c\,u'

    ddx[−2x2]=−2 ddx[x2]=−4x\begin{aligned} \frac{d}{dx}\left[-2x^{2}\right] &= -2\,\frac{d}{dx}\left[x^{2}\right] \\ &= -4x \end{aligned}
  4. Power rule

    xx is raised to the constant power n=2n = 2, so the exponent comes down in front and drops by one.

    Using ddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1}

    ddx[x2]=2x\frac{d}{dx}\left[x^{2}\right] = 2x
  5. Higher derivative

    Differentiate f′(x)f'(x) once more, with the same rules, to get f′′(x)f''(x).

    f′′(x)=12x2−4f''(x) = 12x^{2} - 4
  6. Result

    The second derivative is 12x2−412x^{2} - 4.

Drag to pan. Scroll or pinch to zoom. Arrow keys pan and + / − zoom when the graph has focus.
  • y = x^4 - 2x^2

Points on the graph

  • y = x^4 - 2x^2: zero (-1.414214, 0)
  • y = x^4 - 2x^2: zero (0, 0)
  • y = x^4 - 2x^2: zero (1.414214, 0)
  • y = x^4 - 2x^2: maximum (0, 0)
  • y = x^4 - 2x^2: minimum (-1, -1)
  • y = x^4 - 2x^2: minimum (1, -1)

Worked examples