Enter a function of x, such as x^3 − 3x + sin(x), and the calculator returns its derivative in simplified form (3x² − 3 + cos(x)), the derivative’s value at the point you choose, and the tangent line there. The function (blue), its derivative (red) and the tangent (green) are graphed together.
How to use the derivative calculator
- Type the function of x, for example
x^2 sin(x)orln(x)/x. - Pick the order: 1 for f′(x), 2 for f″(x), up to 5.
- Enter an x-value to evaluate the derivative there and get the tangent line.
- Use the graph to see where the derivative is zero: those are the turning points of f.
How it works
The calculator parses your function into an expression tree, applies the differentiation rules symbolically, then simplifies the result. Values are computed from the exact formula, not by approximation. Read the derivative guide to learn the rules.
Frequently asked questions
Does it show the steps?
It shows the simplified symbolic result, its value at a point and the tangent line. The derivative guide lists the rules (power, product, quotient, chain) used to get it.
What functions are supported?
Polynomials, roots, powers including x^x, exponentials, logarithms of any base, all trig, inverse trig and hyperbolic functions, absolute value and piecewise functions.
Can it do higher-order derivatives?
Yes. Set the order to 2 for f″(x), up to the fifth derivative.