Build the Area
Visually learn definite integrals as accumulation. Drag bounds, adjust Riemann sum rectangles, compare left/right/midpoint sums, and watch error shrink toward zero.
Frequently Asked Questions
What is a Riemann sum?
A Riemann sum approximates the area under a curve by dividing it into thin rectangles. The height of each rectangle is the function value at a sample point, and the width is a fraction of the total interval. As you increase the number of rectangles, the sum converges to the true integral.
What is the difference between left, right, and midpoint sums?
Left sums sample the function at the left edge of each rectangle, right sums at the right edge, and midpoint sums at the centre. For most functions, midpoint sums converge faster — you need fewer rectangles to reach the same accuracy.
What is the accumulation function?
The accumulation function F(x) = ∫ from a to x of f(t) dt tracks how much area has built up as x moves from a. It is the antiderivative of f(x), connecting integration and differentiation through the Fundamental Theorem of Calculus.
How accurate is the "true integral" shown?
The tool uses the trapezoidal rule with 10,000 sub-intervals, which gives accuracy to about 6 decimal places for smooth functions. This serves as a reference to compare your Riemann sum against.
Related Tools
🎓 Learning Lab
Zoom Into the Curve
Drag a point along any function, see the tangent line and slope, then zoom in to watch the curve become locally linear — an interactive introduction to derivatives.
🎓 Learning Lab
Trigonometry Explorer
Drag a point around the unit circle and watch sin, cos, and tan values update in real time — see the right-triangle connection visually.
🎓 Learning Lab
Area & Perimeter Explorer
Drag sliders to resize rectangles, circles, triangles and more — see area and perimeter formulas update live with every change.
