HomeMathematicsMean Value Theorem Explorer (2D)

Mean Value Theorem Explorer (2D)

Interactive 2D real-analysis simulator: drag the interval endpoints a and b on a differentiable curve, pan/zoom the graph, and watch an animated bisection search locate the guaranteed point c where the tangent slope f'(c) exactly matches the secant slope.

Mathematics2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-real-analysis ↗ Open standalone

A hands-on look at one of real analysis's cornerstone results: the Mean Value Theorem. Pick from three differentiable functions, drag the interval endpoints a and b directly on the graph, and watch the secant line connect its endpoints. A second panel plots the residual g(x) = f'(x) − secant slope and animates a bisection search — the same constructive technique behind the theorem's proof — hunting for the guaranteed point c where the tangent line is exactly parallel to the secant, with live numeric readouts for the secant slope, the exact derivative f'(c), and the gap between them.

⚙ Under the hood

Drag the endpoints of an interval directly on a 2D function graph and watch a second panel plot the residual g(x) = f'(x) minus the secant slope, animating a bisection search that locates the guaranteed point where the tangent runs exactly parallel to the secant — the constructive heart of the Mean Value Theorem. Pan and zoom the graph, drag a, b and c by hand, or flip on Rolle's-theorem mode.

real analysiscalculusmean value theoremderivativesmathematicsbisection method

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)