Curve f(x)
Secant line
Tangent at c
drag to pan · scroll to zoom
g(x) = f'(x) − secant slope
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.