← Unit 6 Guide

Accumulation & Riemann Sums

Where integration begins. A rate of change, added up over time, becomes a total — and the area under the rate's curve is that total. This page builds the definite integral from its raw ingredients: rectangles.
If r(t) is a rate — gallons per minute, meters per second — then the area under its graph from a to b is the total change between those times. We estimate that area with rectangles; as the rectangles get thinner the estimate sharpens, and its limit is the definite integral. Everything in this unit grows out of that one move.

A rate, accumulating

Water flows through a valve at the rate gallons per minute — positive means filling, negative means draining. The tank starts with 20 gallons. Drag time forward and watch the shaded area turn into gallons: blue area above the axis adds water, red area below it takes water away.

r(t), the rate area counted + area counted −
t = 0.00 min
The area, replotted as its own function

A(t) = ∫₀ᵗ r — the running net change, traced as a curve of its own. It climbs while r > 0, crests exactly where r = 0, and falls while r < 0. Look at the little tangent tick riding its tip: its slope at every moment is r(t). Hold that thought — it's the whole next lesson.

The running totals
rate right now r(t)
net change so far ∫₀ᵗ r
water in the tank

The tank's amount is the starting 20 gal plus the signed area so far.

When does the tank hold the most water?

How to build one — step by step

Before the shortcuts, the recipe. Every Riemann approximation is the same four moves: slice the interval, pick a point in each slice, evaluate f there for the height, and add up height × width. Here it is for on [0, 4] with n = 4 — click step to lay each rectangle yourself and watch the sum grow a term at a time.

Δx first — press step
Pick the method to walk through
The work, shown

Rectangles closing in

Now that you can build one by hand, scale it. Pick a function and a method, then drag n — the number of rectangles — and watch the estimate close in on the true area. The pattern of over and under isn't random: it's decided by whether the curve is rising, falling, or bending.

the approximation area it misses → pulls under area it overcounts → pushes over
n = 6
The error race — all four methods vs n
Left Right Midpoint Trapezoid
Pick a function
Method — click a row
true value

From a table, like the exam

On the AP exam you'll rarely be handed a formula — you'll be handed a table, with unequal spacing, and asked to estimate the integral. The widths come from the t-row, the heights from the r-row. Pick a method and watch the sum assemble itself, term by term.

t (min)025710
R(t) (gal/min)4.26.07.45.63.0
Estimate ∫₀¹⁰ R(t) dt using…

From Σ to ∫ — the notation

A Riemann sum and a definite integral are the same idea at two zoom levels. The integral sign is a stretched S — a sum — and every piece of the sum survives in the notation.

n = 4
Slice the interval [a, b] into n equal pieces — each piece has width
The right edge of the i-th slice sits at
Each term f(xᵢ)·Δx is one rectangle's area; Σ adds them all up
As n → ∞, Δx becomes dx, Σ becomes ∫, and the estimate becomes exact

The ideas everything else builds on

Area under a rate is total change

Integrating a rate gives the net change of the quantity. Add the starting amount to get the new amount.

Over or under is predictable

Rising or falling decides Left vs Right; bending decides Midpoint vs Trapezoid — and those two always land on opposite sides.

f increasingf decreasing
Leftunderover
Rightoverunder
concave upconcave down
Midpointunderover
Trapezoidoverunder

The dictionary

Every Riemann sum hides the same three ingredients — find them and you can convert in either direction.

Units multiply

A rectangle's area is height × width, so the integral's units are (units of f) × (units of x) — gallons/min × min = gallons.

Your turn

Five checks, straight from the exam's playbook. Try each before you reveal the worked answer.

Quick quiz

Eight fast multiple-choice checks across the whole lesson. Pick an answer to see whether it's right and why.

Question 1 of 8
Score: 0 / 0

Common mistakes & exam tips

Assuming equal widths

Tables are usually spaced unevenly on purpose. Every width is the difference of consecutive t-values — compute each one; never divide the interval length by the number of columns.

Off-by-one on Left vs Right

A left sum uses every value except the last; a right sum uses every value except the first. Using all five values of a five-column table means you've double-dipped.

Flipping the over/under rules

Don't memorize blindly — picture it. Left rectangles tuck under a rising curve because each one's height is set at its lowest point. Re-derive the rule from the picture every time.

Net vs total

∫r dt is net change — negative rate subtracts. If a question asks for the total amount pumped in and out, that's ∫|r| dt, a different number.

Forgetting the starting amount

The integral gives the change. “How much is in the tank at t = 10?” needs initial amount + net change — leaving off the +20 is a classic dropped point.

Answering without units

On an FRQ, an estimate of “56.2” loses a point that “56.2 gallons” earns. The units are part of the answer, not decoration.

On the AP exam

Rectangles estimate the area — the next lesson computes it exactly. The Fundamental Theorem turns accumulation into a function, takes its derivative, and recovers f itself — the hinge of all of calculus. Or head back to the Unit 6 Guide.