§ 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
Differentiated with respect to x. Implicit multiplication is understood, so x^2 sin(x) and 2x both read naturally.
d/dx
exact2x·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
power rule: d/dx x^n = n·x^(n−1)
x2→2x
derivative of sin
sin(x)→cos(x)
product rule (uv)′ = u′v + uv′
x2·sin(x)→2x·sin(x)+x2·cos(x)
Try one
Compared with a basic calculator
| Task | Basic calculator | This page |
|---|---|---|
| Operation | Evaluate at a number | Symbolic first derivative |
| Working | No symbolic rule list | Product, quotient and chain rules as applied |
| Limits | No symbolic input | Supported functions only; limited simplification |
How to use it
§ How to use- 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.
- 02
Read the derivative at the top. It is simplified rather than left as a raw product of rules.
- 03
Read the rule list underneath: each line names the rule that fired, in the order it was applied.
- 04
Nested functions are handled from the outside in, so the chain rule appears as its own line.
The six rules it can apply
§ 02Every step in the panel is a labelled instance of one of these.
| Rule | Statement | Watch for |
|---|---|---|
| Constant | d/dx c = 0 | |
| Power | d/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
§ 03Take 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.
Related calculators
allCalculus
Integral Calculator
Closed-form antiderivatives, with a labelled Simpson value when no rule applies.
x^2 from 0 to 3 = 9
Arithmetic
Scientific Calculator
A full keypad that keeps surds exact and records every operation.
√8 + 3/8 + 5/12
Algebra
Graphing Calculator
Plot up to three functions, pan and zoom, and see where the curve has no value.
y = sin x and y = x²/4
Algebra
Equation Solver
Exact roots to degree two, numerical roots above it.
x² − 5x + 6 = 0 → x = 3, 2
Algebra
Quadratic Equation Solver
Exact roots in surd form, with the discriminant worked out first.
x² − 5x + 6 = 0
Linear algebra
Matrix Calculator
Determinant, inverse and row reduction in exact fractions.
[2 1; 5 3]