Second Derivative Calculator

Differentiate twice (or up to five times) with every step, evaluate at a point, and read concavity straight off the graph.

Reads as x3−3x+ln⁡(x)x^{3} - 3 x + \ln\left(x\right)
Try:

Answer

f′′(x)=6x−1x2f''(x) = 6 x - \frac{1}{x^{2}}

f′′(1)=5f''(1) = 5 · concave up here

-3-2-11234-10102030405060
  • f
  • f′
  • f″

Step by step

  1. Derivative #1

    ddx[x3−3x+ln⁡(x)]\frac{d}{dx}\left[x^{3} - 3 x + \ln\left(x\right)\right]
  2. Sum rule

    Differentiate term by term.

    ddx[x3−3x+ln⁡(x)]=ddx[−3x]+ddx[x3]+ddx[ln⁡(x)]\frac{d}{dx}\left[x^{3} - 3 x + \ln\left(x\right)\right] = \frac{d}{dx}\left[-3 x\right] + \frac{d}{dx}\left[x^{3}\right] + \frac{d}{dx}\left[\ln\left(x\right)\right]
  3. Constant multiple rule

    Pull the constant factor out front.

    ddx[−3x]=−3⋅ddx[x]\frac{d}{dx}\left[-3 x\right] = -3 \cdot \frac{d}{dx}\left[x\right]
  4. Power rule

    d/dx[xⁿ] = n·xⁿ⁻¹.

    ddx[x3]=3x2\frac{d}{dx}\left[x^{3}\right] = 3 x^{2}
  5. Logarithm rule

    ddx[ln⁡(x)]=1x\frac{d}{dx}\left[\ln\left(x\right)\right] = \frac{1}{x}
  6. Result

    f(1)(x)=3x2+1x−3f^{(1)}(x) = 3 x^{2} + \frac{1}{x} - 3
  7. Derivative #2

    ddx[3x2+1x−3]\frac{d}{dx}\left[3 x^{2} + \frac{1}{x} - 3\right]
  8. Sum rule

    Differentiate term by term.

    ddx[3x2+1x−3]=ddx[3x2]+ddx[1x]+ddx[−3]\frac{d}{dx}\left[3 x^{2} + \frac{1}{x} - 3\right] = \frac{d}{dx}\left[3 x^{2}\right] + \frac{d}{dx}\left[\frac{1}{x}\right] + \frac{d}{dx}\left[-3\right]
  9. Constant multiple rule

    Pull the constant factor out front.

    ddx[3x2]=3⋅ddx[x2]\frac{d}{dx}\left[3 x^{2}\right] = 3 \cdot \frac{d}{dx}\left[x^{2}\right]
  10. Power rule

    d/dx[xⁿ] = n·xⁿ⁻¹.

    ddx[x2]=2x\frac{d}{dx}\left[x^{2}\right] = 2 x
  11. Power rule

    d/dx[xⁿ] = n·xⁿ⁻¹.

    ddx[1x]=−1x2\frac{d}{dx}\left[\frac{1}{x}\right] = -\frac{1}{x^{2}}
  12. Result

    f(2)(x)=6x−1x2f^{(2)}(x) = 6 x - \frac{1}{x^{2}}

Still stuck? Ask the tutor

An AI tutor reads the problem and steps above and explains them in plain words. It can make mistakes, so check it against the worked steps.

Reading the three curves together

Where f′′f'' (amber) is above the axis, f′f' (grey) is rising and ff bends upward. Where f′′f'' crosses zero, f′f' peaks or bottoms out and ff has an inflection point. In motion problems: position s(t)s(t), velocity s′(t)s'(t), acceleration s′′(t)s''(t).

Questions students ask

What does the second derivative tell you?

How the slope is changing. f′′(x)>0f''(x) > 0 means the slope is increasing (concave up); f′′(x)<0f''(x) < 0 means it is decreasing (concave down). In physics, if ff is position, f′′f'' is acceleration.

How do you find the second derivative?

Differentiate once to get f′(x)f'(x), then differentiate that result again. The calculator shows both rounds of steps.

What is the notation?

f′′(x)f''(x), d2ydx2\frac{d^2y}{dx^2}, y′′y'' and D2fD^2 f all mean the same thing.

How is it used to classify maxima and minima?

At a critical point cc (where f′(c)=0f'(c) = 0): f′′(c)>0f''(c) > 0 is a local minimum, f′′(c)<0f''(c) < 0 is a local maximum. See the critical points calculator.