Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

Second Derivative Calculator

How to use
  1. Type the function in the box f(x)=f(x) =.
  2. Type a point in At x₀ to get the value of the second derivative there.
  3. Read f′(x)f'(x) and f′′(x)f''(x), then the value at the point and the bending there. Learn more about reading the answer
  4. On the graph the blue curve is ff, the dashed grey curve is f′f' and the amber curve is f′′f''.
  5. How it was found differentiates twice and reads the sign. Learn more about the meaning

Second derivative
First derivative
f′(x)=3x2−3\displaystyle f'(x) = 3 {x}^{2}-3
Second derivative
f′′(x)=6x\displaystyle f''(x) = 6 x
Value at the point
f′′(1)=6\displaystyle f''(1) = 6
Bending there
concave up\displaystyle \text{concave up}
How it was found

Differentiate f(x)=x3−3xf(x) = {x}^{3}-3 x once: f′(x)=3x2−3f'(x) = 3 {x}^{2}-3. This is the slope of ff at each point.

Differentiate again: f′′(x)=6xf''(x) = 6 x. The second derivative is the rate at which the slope itself changes.

At x=1x = 1: f′′(1)=6f''(1) = 6. It is positive, so the slope is growing and the graph bends upward: concave up.

The first derivative is 00 at this point, so the second derivative test applies: the point is a local minimum.

Where f′′>0f'' > 0 the graph is concave up, where f′′<0f'' < 0 it is concave down, and where f′′f'' changes sign the graph has an inflection point.

Drawn by the tool
f′(x)=3x2−3f'(x) = 3 {x}^{2}-3read-only
f′′(x)=6xf''(x) = 6 xread-only
f(x)=x3−3xf\left(x\right)={x}^{3}-3 x
f′(x)=3x2−3f'(x) = 3 {x}^{2}-3
f′′(x)=6xf''(x) = 6 x


Finding the second derivative

DemoDifferentiating twice
Step 0 of 3
Type a function and the calculator differentiates it twice. The second derivative f′′(x)f''(x) is the derivative of the derivative:

f′′(x)=ddx[f′(x)]=d2fdx2f''(x) = \dfrac{d}{dx}\big[f'(x)\big] = \dfrac{d^2 f}{dx^2}


For f(x)=x3−3xf(x) = x^3 - 3x: first f′(x)=3x2−3f'(x) = 3x^2 - 3, then f′′(x)=6xf''(x) = 6x. Type a point in At x₀ to evaluate it there.

Reading the answer

  • First derivative is f′(x)f'(x), the slope of ff.
  • Second derivative is f′′(x)f''(x).
  • Value at the point is f′′(x0)f''(x_0) for the point you typed.
  • Bending there says concave up when the value is positive and concave down when it is negative. A value of 00 decides nothing by itself.

  • If the function is not defined at the point, the calculator says so instead of giving a value.

What the second derivative measures

    The first derivative is the slope. The second derivative is how fast the slope is changing.

  • f′′(x)>0f''(x) > 0: the slope is growing. The graph bends upward, like a cup: concave up.
  • f′′(x)<0f''(x) < 0: the slope is shrinking. The graph bends downward, like a cap: concave down.

  • This is independent of direction. A function can be rising and concave down (rising ever more slowly) or falling and concave up (falling ever more slowly).

    In motion, if ff is position then f′f' is velocity and f′′f'' is acceleration.
f′′(x)=6xf''(x) = 6x is negative on the left, where ff bends down, and positive on the right, where it bends up.

The second derivative test

    At a point cc where f′(c)=0f'(c) = 0 the graph is flat. The second derivative says which kind of flat point it is:

  • f′′(c)>0f''(c) > 0: concave up, so cc is a local minimum;
  • f′′(c)<0f''(c) < 0: concave down, so cc is a local maximum;
  • f′′(c)=0f''(c) = 0: the test gives no answer; look at the sign of f′f' on each side instead.

  • For f(x)=x3−3xf(x) = x^3 - 3x: f′(±1)=0f'(\pm 1) = 0, f′′(1)=6>0f''(1) = 6 > 0 (minimum) and f′′(−1)=−6<0f''(-1) = -6 < 0 (maximum).
At a point where f′=0f' = 0, the sign of f′′f'' tells a maximum from a minimum.

Inflection points

DemoOther functions
Step 0 of 3
A point where the graph changes from concave up to concave down, or the reverse, is an inflection point. There f′′f'' changes sign, so f′′f'' is 00 or does not exist.

The converse fails: f′′(c)=0f''(c) = 0 alone does not make an inflection point. For f(x)=x4f(x) = x^4, f′′(0)=0f''(0) = 0 but the graph is concave up on both sides.

Common mistakes

  • Squaring the first derivative. f′′f'' is the derivative of f′f', not (f′)2(f')^2.
  • Reading f′′(c)=0f''(c) = 0 as an inflection point. The sign must actually change.
  • Using the test where f′(c)≠0f'(c) \ne 0. The second derivative test is for flat points only.
  • Mixing up concavity and direction. Concave up does not mean increasing.
  • Losing the chain rule the second time. For sin⁡(2x)\sin(2x): f′=2cos⁡(2x)f' = 2\cos(2x) and f′′=−4sin⁡(2x)f'' = -4\sin(2x).