Skip to content

§ III · Calculus

Derivative Calculator

Differentiate term by term and name the rule that applied.

  • Updated 2026-11-25
  • Free · no sign-up
  • Runs in your browser
Derivative calculatorrule by rule · simplified result

Differentiated with respect to x. Implicit multiplication is understood, so x^2 sin(x) and 2x both read naturally.

d/dx

exact

2x·sin(x)+x2·cos(x)

2x·sin(x) + x^2·cos(x)

f′(1) ≈ 2.223244 — compare it with (f(1.001) − f(1)) / 0.001 from the scientific calculator.

Rules applied

01

power rule: d/dx x^n = n·x^(n−1)

x2→2x

02

derivative of sin

sin(x)→cos(x)

03

product rule (uv)′ = u′v + uv′

x2·sin(x)→2x·sin(x)+x2·cos(x)

Try one

Compared with a basic calculator

TaskBasic calculatorThis page
OperationEvaluate at a numberSymbolic first derivative
WorkingNo symbolic rule listProduct, quotient and chain rules as applied
LimitsNo symbolic inputSupported functions only; limited simplification

How to use it

§ How to use
  1. 01

    Type f(x) in ordinary notation: x^2 sin(x), (3x+1)^4, ln(x^2+1). Implicit multiplication is understood, so 3x works.

  2. 02

    Read the derivative at the top. It is simplified rather than left as a raw product of rules.

  3. 03

    Read the rule list underneath: each line names the rule that fired, in the order it was applied.

  4. 04

    Nested functions are handled from the outside in, so the chain rule appears as its own line.

The six rules it can apply

§ 02

Every step in the panel is a labelled instance of one of these.

RuleStatementWatch for
Constantd/dx c = 0
Powerd/dx xⁿ = n·xⁿ⁻¹the exponent comes down in front
Sum(u ± v)′ = u′ ± v′differentiate term by term
Product(uv)′ = u′v + uv′two terms, never one
Quotient(u/v)′ = (u′v − uv′)/v²note the order in the numerator
Chain(f∘g)′ = f′(g(x))·g′(x)the inner derivative multiplies

How to read the output

§ 03

Take x² sin x. The panel reports three rules in order: the power rule on x², then the derivative of sin, then the product rule that joins them. The final line, 2x·sin x + x²·cos x, is the simplified assembly of those three.

This ordering is deliberate. Reading the rules bottom-up shows the structure of the calculation: the product rule is only applied once both factors have been differentiated on their own. Reading it top-down is how you would write it in an exam.

Why the chain rule is named separately

In ln(x² + 1) the outer derivative is 1/(x² + 1) and the inner derivative is 2x. The tool labels the step “chain rule applied to ln(…)” and shows the product, because forgetting the inner factor is the most common mistake in the whole of calculus.

What it will not do

It will not produce a fully factored or trig-simplified form, and it cannot differentiate an expression with two variables. Both limits are stated rather than silently mishandled.

Questions

§ 04
Which functions can it differentiate?
Polynomials, products, quotients, powers, and the standard functions sin, cos, tan, arcsin, arccos, arctan, ln, log, log2, exp, sqrt, cbrt, abs, sinh, cosh and tanh — including compositions of them, through the chain rule.
Are the steps real?
Yes. Each entry in the rule list is recorded at the moment the rule is applied to a sub-expression, and shows that sub-expression and its derivative before simplification. Nothing is generated afterwards.
Why does it name the rule instead of just showing algebra?
Because that is what you are being asked to do by hand. Knowing that the product rule fired on x² sin x is more useful than reading a rearranged answer.
Does it simplify the result?
It collects numbers, drops factors of zero and one, folds constant powers and puts the numeric coefficient first. It does not do a full symbolic simplification, so an answer may be correct in a form you would tidy further.
Can I differentiate with respect to something other than x?
Not in this panel. Every expression is differentiated with respect to x, which is the overwhelmingly common case; any other letter is reported as an error rather than silently treated as a constant.
How do I check the answer?
Type a value in “check it at x =” and compare the derivative with the difference quotient (f(x+h) − f(x))/h for a small h. The two should agree to a few decimal places.
Does it do second derivatives?
Not yet. Differentiating the result you get is the workaround, and because the result is simplified you can paste it straight back in.
What does it do with the chain rule?
It applies it and says so. Differentiating ln(x^2 + 1) gives 1/(x^2 + 1)·2x, with a line naming the chain rule on the inner expression, so the outer derivative and the inner one are both visible rather than merged.

ShowSteps

Free calculators with exact fractions, simplified surds and recorded working, so you can check supported calculations.

© 2026 ShowSteps ·