Integration · Lesson 2 of 4 · ~6 min

The accumulation function

Predict

The top panel shows a rate, $f(t) = \sin t + 1.2$. Below, $F$ adds it up as a sweep moves right. Where $f$ is tall, what does $F$ do?

Hold that thought. Drag sweep x through the peak and watch the lower marker.
Try
Try itDrag sweep x from $0$ to $5$, or press Play. Watch F(x) total as the sweep crosses the peak.
Notice

$F$ never falls. From $x = 1$ to $2$, through the peak, it jumps from $1.660$ to $3.816$. From $x = 4$ to $5$, where the rate sags, it creeps from $6.454$ to $6.716$.

Explain

Fix the lower endpoint at $0$ and slide the upper one. The area collected so far is a function of where you stop:

$$F(x) \;=\; \int_0^x f(t)\,dt$$

This is the accumulation function. Where $f$ is tall, $F$ climbs steeply; where $f$ is short, $F$ barely moves. Inside the integral, $x$ marks where the sweep stops, so a dummy $t$ does the sweeping.

Apply
Checkpoint — prove it to yourself

Whatever else changes, the instrument shows $F(0) = 0$. Why?

At $x = 2$ the stats read $f(x)$ rate $= 2.109$ and $F(x)$ total $= 3.816$. What does $3.816$ measure?

Transfer: a tank fills at $r(t) = 3$ liters per minute for the first $2$ minutes, then $1$ liter per minute for the next $2$. What is $\int_0^4 r(t)\,dt$?

Key idea

Slide the upper endpoint and an integral becomes a function: a rate's running total. Tall rate, steep total; short rate, shallow total.

APPLICATIONYour membrane potential is an accumulation function. Watch a neuron integrate current to a threshold.
← Lesson 1