Calculus

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.

Derivative Calculator

Symbolic derivative of any function — chain, product and quotient rules.

Try:
Answerf'(x) = 2·cos(x²)·x·x + sin(x²)
  1. Functionf(x) = sin(x²)·x
  2. Apply differentiation rulescos(x²)·2·x^(2 − 1)·1·x + sin(x²)·1
  3. Simplify2·cos(x²)·x·x + sin(x²)

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

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.