Vismo · Create · Explore · Topics · Guides · Pricing

The derivative as the limit of secant slopes

An animation tracks secant lines through the fixed point (2, f(2)) on f(x) = x^2/4 + 1/2 as the second point slides in with h shrinking from 2 to 0.05. A live slope readout shows the secant slope approaching 1, and the secant line visibly rotates into the tangent line. It builds intuition for the derivative as a limit of difference quotients, useful for introducing f'(a) in an early calculus unit.

16:9 · Preview before teaching · automatic layout checks do not establish subject accuracy

The prompt that made it

Secant lines through (2, f(2)) on f(x) = x^2/4 + 1/2 with h shrinking from 2 to 0.05; the slope readout converges to 1 and the secant becomes the tangent, illustrating f'(a) = lim (f(a+h) - f(a))/h.

Make your own version

Make the next one in this series

Related animations

Where e comes from: compounding more and more often
Where e comes from: compounding more and more often

This animation tracks one dollar growing under 100% annual interest as the number of compounding periods incre…

Gradient descent: walk downhill on the loss
Gradient descent: walk downhill on the loss

A ball rolls along the parabola L(w) = (w-3)^2 + 1, starting at w = -1 and updating via w <- w - eta dL/dw wit…

The harmonic series diverges
The harmonic series diverges

Bars representing 1/n shrink toward zero, illustrating why it seems the sum should settle down. The animation …

The squeeze theorem: why sin x / x tends to 1
The squeeze theorem: why sin x / x tends to 1

This animation visualizes why sin x / x approaches 1 as x approaches 0, even though the function itself is und…

Optimization: the biggest rectangle for a fixed perimeter
Optimization: the biggest rectangle for a fixed perimeter

An animation shows a rectangle with fixed perimeter 20 changing shape as its width varies, tracing the area fu…

Newton's method: follow the tangent to the root
Newton's method: follow the tangent to the root

Starting from x0 = 2.5 on f(x) = x^2 - 2, this animation draws each tangent line and follows it down to the x-…