Mathematics · Accumulation & Integral Calculus

Area Under a Curve: Accumulation & Integrals

Riemann sums Rectangles to infinity The definite integral Fundamental theorem Speed to distance

Finding the area of a rectangle is simple: width times height. But what if the top edge is curved and constantly changing height? In Slope of a Curve, we zoomed in to find instantaneous change. Here we do the reverse: we slice curved shapes into hundreds of ultra-thin strips and add them together. This is integration.

Learning Targets

  • Approximate the area under any continuous curve using Left, Right, Midpoint, and Trapezoidal Riemann sums.
  • Observe how increasing the number of partitions $N$ eliminates estimation error as $N \to \infty$.
  • Define the definite integral $\int_a^b f(x)\,dx$ as the infinite sum of infinitesimal rectangular strips.
  • Discover the Fundamental Theorem of Calculus: the slope of the accumulation function equals the original curve.

Prerequisites: Slope of a Curve and Linear Equations & Slope. Next: Snap, Crackle, Pop: Time Derivatives and Minecraft Calculus.

Lab 1 · The Riemann Sum Slicer

Choose a curve below. Use the slider to increase the number of rectangular slices $N$ from 1 to 100. Watch how the jagged rectangle tops mold themselves against the smooth curve, driving the calculation error toward zero.

Riemann Sum Approximation6.88
Exact Integral ∫ f(x) dx9.00
Difference (Error)2.12 (23.6%)
Slice Width Δx0.50

Lab 2 · The Accumulation Function F(x) = ∫ₐˣ f(t) dt

Instead of calculating a single fixed area, what if we treat the upper bound $x$ as a moving slider? As you drag $x$ across the top graph, the shaded area grows. The bottom graph tracks that total area as a new function: the accumulation function $F(x)$.

Curve Height f(x)2.25
Accumulated Area F(x)1.13
Slope of F(x)2.25

Look closely at the numbers above! The slope of the accumulation curve $F'(x)$ is identical to the height of the original curve $f(x)$! This is the grand discovery of calculus.

Lab 3 · The Fundamental Theorem of Calculus (FTC)

For centuries, the problem of finding tangents (slopes) and the problem of finding quadrature (areas) were studied as completely unrelated branches of geometry. Isaac Newton and Gottfried Wilhelm Leibniz independently proved that they are exact inverse operations:

d/dx [ ∫ₐˣ f(t) dt ] = f(x)

If you add a sliver of width $dx$ to your accumulated area, the extra area added is just a tiny rectangle of height $f(x)$ and width $dx$: $dA \approx f(x) \cdot dx$. Dividing both sides by $dx$ gives $dA/dx = f(x)$. Differentiating an integral hands you right back the original function!

Lab 4 · Physical Application: Speedometer to Odometer

Your car’s speedometer measures instantaneous velocity $v(t)$ (derivative of position). Your odometer measures total distance traveled $s$ (integral of velocity):

Total Distance = ∫₀ᵀ v(t) dt = Area under the Velocity Curve

If you drive at 60 mph for 2 hours, the area of the rectangle is $60 \times 2 = 120\text{ miles}$. Even when your speed accelerates and slows down over a twisty mountain road, the area under the speedometer's graph gives the exact odometer reading.

Check Your Understanding

Compute the exact area under the constant function $f(x) = 4$ from $x = 0$ to $x = 4$.

What is the exact integral $\int_0^3 x^2\,dx$?

A cyclist accelerates linearly from $0\text{ m/s}$ to $30\text{ m/s}$ over $5\text{ seconds}$. How many meters do they travel? (Area under triangle)