Math ★☆☆ Easy

∫ Riemann Integral

Choose a function and method, drag the interval and subdivisions slider — watch the shaded bars home in on the exact area under the curve.

Approximation
Exact integral
Error

Riemann Sums

A Riemann sum approximates the area under f(x) by summing the areas of n rectangles (or trapezoids) of equal width Δx = (b−a)/n. As n → ∞ the sum converges to the exact definite integral ∫ₐᵇ f(x) dx.

Left rule: rectangle height = f(xᵢ)  |  Right rule: f(xᵢ₊₁)  |  Midpoint: f(xᵢ + Δx/2)  |  Trapezoid: [f(xᵢ)+f(xᵢ₊₁)]/2  |  Simpson: [f(xᵢ)+4f(mid)+f(xᵢ₊₁)]/6 per pair.