Vismo · Create · Explore · Topics · Guides · Pricing

Riemann sums become the integral

This animation approximates the area under y = x^2 from 0 to 2 using rectangles, starting with four and doubling to eight, sixteen, and thirty-two. As rectangle count grows, the staircase shape hugs the curve more closely and the total area converges toward the exact value 8/3. It visually demonstrates that a definite integral is the limit of Riemann sums as rectangle width shrinks toward zero, useful for introducing integration concepts.

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

The prompt that made it

Approximating the area under y = x^2 from 0 to 2 with rectangles. Four rectangles, then eight, sixteen and thirty-two: the staircase hugs the curve and the total area settles toward the exact integral, 8/3. The point: an integral is the limit of ever-finer rectangle sums.

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-…