Interactive Function, Derivative & Integral Grapher
Interactive Math & Calculus Lab: tweak function parameters in real time to visualize the curve, tangent slope ($f'(x_0)$), and signed area under the curve.
Visualizing Differential & Integral Calculus
Two of the most important concepts in mathematics and engineering are the derivative and the definite integral, linked by the Fundamental Theorem of Calculus. This interactive lab lets you see their geometric meaning directly:
- The Derivative $f'(x_0)$ (orange line): measures the instantaneous rate of change at $x_0$. Geometrically, it is the slope of the tangent line touching the curve at that point. Notice how whenever the red evaluation point reaches a wave crest (local maximum) or trough (local minimum), the tangent line becomes flat and $f'(x_0) = 0$.
- The Definite Integral $\int_0^{x_0} f(x)\,dx$ (shaded blue area): measures the net signed area between the curve and the horizontal $X$-axis from $0$ to $x_0$.
Guided experiment
Try this: With Harmonic Wave selected ($A=2$, $B=1$, $C=0$), move $x_0$ to $1.57$ ($\approx \pi/2$). At the peak of the wave, $f(x_0) = 2.00$, the derivative slope drops to nearly $0$, and the integrated area under that quarter-wave equals $2.00$.
Frequently Asked Questions
What does the sign of the derivative $f'(x_0)$ tell us?
If $f'(x_0) > 0$, the function is increasing at $x_0$ (the tangent slopes upward). If $f'(x_0) < 0$, the function is decreasing. If $f'(x_0) = 0$, the point is a stationary critical point.
Why can a definite integral be negative?
A definite Riemann integral computes net signed area: regions above the $X$-axis ($f(x) > 0$) add positive area, while regions below the $X$-axis ($f(x) < 0$) subtract area.
Where do damped oscillations occur in engineering?
The function $A e^{-\gamma x} \cos(\omega x)$ models shock absorbers in vehicle suspensions, vibrating structures with damping, and underdamped RLC electrical circuits.