Interactive Derivatives & Integrals Demo

Learn calculus through interactive visualizations and step-by-step explanations

Function Input

Supported: x^2, sin(x), cos(x), ln(x), e^x, sqrt(x), pi, e

Function Visualization

Original Function

Derivative Step-by-Step

x = 2
h = 0.1
df/dx = lim[h→0] (f(x + h) - f(x))/h
f(x + h)
f(2 + 0.1) = 4.4100
f(x)
f(2) = 4.0000
Calculation:
(4.4100 - 4.0000) / 0.1 = 4.1000
Slope at x = 2 is approximately 4.1000