Second Derivative Calculator screenshot

Second Derivative Calculator

Print the first and second derivatives of an expression in x, each simplified, for concavity and acceleration checks.

Privacy First
0 Runs
Updated 2026-11-22
No upload
Instant
No signup

Second Derivative Calculator

Print the first and second derivatives of an expression in x, each simplified, for concavity and acceleration checks.

How this page computes

The page differentiates the expression once, simplifies it, differentiates that result, and simplifies again. Printing both stages lets the reader see that the second derivative is the derivative of the first.

The calculation runs entirely in this browser tab; nothing is uploaded.

The page differentiates an expression twice and prints f(x), f'(x) and f''(x), each simplified. Worked example: x^4 - 3*x^2 + 1 has first derivative 4*x^3 - 6*x and second derivative 12*x^2 - 6.

Both stages are shown, so the second derivative can be checked as the derivative of the printed first derivative rather than trusted as a separate answer. The same supported functions as the derivative page apply.

How to use the Second Derivative Calculator

Enter an expression in x and press Run. Three lines appear: the function, its first derivative and its second derivative.

Use the first derivative line to check concavity work by hand. If a term disappears from it, that term was constant with respect to x, and its second derivative is zero as well.

What the second derivative measures

The second derivative is the rate at which the first derivative changes. Where it is positive the curve is concave up, where it is negative concave down, and a sign change is a candidate inflection point.

The page computes it by applying the derivative rules twice, not by a special second-derivative formula. That is why every function accepted by the derivative page is accepted here.

What to Expect

Best for

  • Checking concavity of a curve
  • Finding the acceleration from a position expression
  • Verifying a hand-computed second derivative

Not ideal for

  • Locating inflection points exactly
  • Partial second derivatives
  • Graphing the curve

What this tool keeps

  • The function and both derivative stages

What may need cleanup

  • Nothing: both derivatives are final simplified expressions

Common errors

  • An unsupported function name is refused with the supported list
  • A function without parentheses, such as sin x, is refused

Example use cases

  • Differentiate x^4 - 3*x^2 + 1 twice
  • See that the second derivative of a line is zero

Sample input

x^4 - 3*x^2 + 1

Sample output

f(x) = x^4 - 3*x^2 + 1 f'(x) = 4*x^3 - 6*x f''(x) = 12*x^2 - 6

Who this is for

  • Students learning concavity
  • Readers checking an acceleration expression

Frequently asked questions

Why print the first derivative too?

It makes the second derivative checkable: differentiating the printed first derivative by hand must reproduce the printed second. A single opaque second-derivative line would hide a mistake in either stage.

What does a zero second derivative mean?

At that point the rate of change of the slope is zero. It is a candidate inflection point, not automatically one: the sign of the second derivative must also change across the point.

Can the second derivative be constant?

Yes. For x^2 the first derivative is 2*x and the second is 2, the constant 2. The page prints constants without inventing a variable.

Is anything uploaded?

Nothing is uploaded. Both differentiation stages run in this browser tab with JavaScript, and reloading the page discards the input and the two printed derivatives.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.