Power and linearity rules
Constants become zero, sums are differentiated term by term, and u^n becomes n·u^(n−1)·u′.
Enter a function to find its first through fifth derivative. See the exact symbolic result, every differentiation rule used, an optional value at a point, and a graph of f and its derivative—all calculated locally in your browser.
Use ^ for powers. Supported: sin, cos, tan, sec, csc, cot, asin, acos, atan, sinh, cosh, tanh, sech, exp, ln, log, sqrt, and abs.
Keyboard shortcut: Ctrl/⌘ + Enter.
Rule-by-rule working will appear here.
Differentiate a function to draw both curves. Gaps indicate undefined or non-real values.
x^3*sin(x), ln(x^2+1), or e^(2x).Multiplication may be explicit or implicit: 2*x, 2x, and 3(x+1) are accepted. Function names require parentheses, such as sin(x). Trigonometric inputs use radians.
Constants become zero, sums are differentiated term by term, and u^n becomes n·u^(n−1)·u′.
Products use (uv)′=u′v+uv′. Quotients use (u/v)′=(u′v−uv′)/v².
Composite functions differentiate from the outside inward, multiplying by the derivative of each inner function.
Trigonometric, inverse trigonometric, hyperbolic, exponential, natural/base-10 logarithm, square-root and absolute-value rules are included.
f(x)=4x³−5x+7
Differentiate term by term: f′(x)=12x²−5.
f(x)=x³sin(x)
Let u=x³ and v=sin(x). Then f′(x)=3x²sin(x)+x³cos(x).
f(x)=ln(x²+1)
The outer derivative is 1/(x²+1); multiply by 2x, giving 2x/(x²+1).
f(x)=(x²+1)/(x−1)
f′(x)=[2x(x−1)−(x²+1)]/(x−1)², valid for x≠1.
It applies constant, linearity, product, quotient, power and chain rules, along with rules for every supported named function.
Yes. Choose the second, third, fourth or fifth derivative. The calculator differentiates and simplifies successively, preserving steps for each order.
Yes. Implicit multiplication is supported between numbers, variables and parentheses. Both 2x and 3(x+1) work.
Radians. This matches standard calculus derivative formulas such as d[sin(x)]/dx=cos(x).
A gap means the function or derivative is undefined or non-real there. Common causes include division by zero, negative inputs to an even root, and logarithms of non-positive values.
No. The calculator returns the formula x/abs(x), which applies away from zero. The original absolute-value function has a sharp corner at zero.
No. The local JavaScript engine performs parsing, differentiation, simplification, evaluation and graphing on your device.