Derivative Calculator
Enter any function of x to get its symbolic derivative — not just polynomials. The calculator applies the chain rule, the product rule, the quotient rule and the standard derivatives of sin, cos, tan, exp, ln and roots, then simplifies the result.
Formula and method
d/dx[f(g(x))] = f′(g(x))·g′(x) [chain rule] d/dx[u·v] = u′v + uv′ [product rule] d/dx[u/v] = (u′v − uv′)/v² [quotient rule]
Applies symbolic differentiation using the chain rule for composite functions, the product and quotient rules for combined terms, and the standard derivatives of sin, cos, tan, exp, ln, sqrt and xⁿ. Functions like xˣ are rewritten as exp(x·ln x) before differentiating. The result is simplified algebraically before display.
Worked examples
Learn why this works
Frequently asked questions
What functions are supported?
Any combination of +, −, ×, ÷, ^ and the functions sqrt, sin, cos, tan, exp, ln, log, asin, acos, atan, applied to x.
Does it apply the chain rule?
Yes. Composite functions like sin(x²) and exp(−x²) are differentiated with the chain rule automatically.
What about exponential equations like xˣ?
The calculator rewrites f(x)^g(x) as exp(g·ln f) internally, so it differentiates correctly even when both base and exponent depend on x.