Plot a function f(x) and its derivative f′(x) together on an interactive graph. Enter familiar mathematical notation such as x^2 + 2x without needing to type every multiplication symbol.
Enter a mathematical function, choose the X range and select the spacing between graph points.
This derivative graph plotter accepts both explicit multiplication
and common mathematical notation. You do not have to insert
* between every number and variable.
| Expression | Accepted as |
|---|---|
x^2+2x |
x^2 + 2*x |
3x^2-4x+1 |
3*x^2 - 4*x + 1 |
2(x+1) |
2*(x+1) |
x(x+1) |
x*(x+1) |
(x+1)(x-1) |
(x+1)*(x-1) |
2sin(x) |
2*sin(x) |
xcos(x) |
x*cos(x) |
Explicit multiplication such as 2*x continues to work
as well.
The original function is evaluated at many points between the selected minimum and maximum X values. The derivative is then approximated numerically at each point.
f′(x) ≈ [f(x + h) − f(x − h)] / (2h)
The calculator uses a small value of h = 10⁻⁵. Central differences use function values on both sides of the point, making the method useful for visualizing the slope of a function across an interval.
The graph therefore gives a numerical visualization of how quickly f(x) changes as x changes.
Plotting a function and its derivative together makes several important calculus relationships easier to see.
These observations are especially useful when studying polynomial, trigonometric and exponential functions.
The graph plotter supports common functions available through the calculator's mathematical expression evaluator.
xx^23x^2+2x-12(x+1)(x+1)(x-1)sin(x)cos(x)tan(x)2sin(x)xcos(x)exp(x)2exp(x)xexp(x)ln(x)2ln(x)xln(x)Try these expressions to explore different relationships between a function and its derivative.
x^2
Its derivative is approximately 2x.
x^3-3x
Useful for observing stationary points and changes in slope.
sin(x)
The derivative follows the cosine function.
xsin(x)
Demonstrates a function containing both algebraic and trigonometric terms.
exp(x)
Useful for studying rapidly increasing functions.
ln(x)
Remember that the natural logarithm is defined for positive x values.
Derivatives can also be extended to functions involving multiple variables. Explore gradients, directional derivatives and other multivariable calculus concepts with the related Summe.org tools.
Differentiation and integration are closely connected through the fundamental theorem of calculus. After studying the derivative graph, you can continue with numerical and symbolic integration tools.
x^2+2x is interpreted as
x^2+2*x.
x^2+2*x and
3*x+1 are supported.
[f(x+h)-f(x-h)]/(2h), with a small
numerical step.
ln(x) for non-positive
x values or functions containing divisions by zero.
Continue exploring calculus, algebra, number theory and other mathematical topics on Summe.org.