Differentiate a function of x symbolically, simplify the result, find a first through tenth derivative, and optionally evaluate it at a point. A graph compares the original function with its derivative and the steps show each derivative order.
How to use this calculator
Enter the function and the point where you want its slope. Check that nearby values are defined. A positive derivative means the function is increasing locally, while a negative derivative means it is decreasing; a numerical estimate alone cannot prove differentiability.
Examples
Differentiate x³ − 4x
The first derivative is 3x² − 4. At x = 2, the slope is 8, so the tangent line passes through f(2) = 0 with slope 8.
Second derivative
Choosing order 2 differentiates the first result again. For x³ − 4x, the second derivative is 6x.
Formula
The derivative is the limit of the difference quotient:
f′(x) = lim[h→0] (f(x+h) − f(x)) / h
At x = a, the tangent line is y = f(a) + f′(a)(x − a).
Numerical and symbolic limits
The derivative describes local rate of change where the function is differentiable. Domain boundaries, corners, discontinuities, and piecewise definitions can make a derivative one-sided or undefined. Simplified output should be checked against the original domain, because algebraic cancellation can hide excluded points.