foundation20 min studyLesson 9 in Mathematics

Integrals and accumulation: adding a continuously varying rate

Build a definite integral from local contributions and connect accumulation to differentiation.

On this page

What you’ll understand

  • Interpret a definite integral as signed accumulation.
  • Construct a simple Riemann sum with correct units.
  • Use the Fundamental Theorem of Calculus under stated continuity assumptions.

If water flows into a tank at a constant rate, amount added equals rate times duration. When the rate varies, one multiplication no longer captures the whole interval. Divide time into short pieces, approximate each piece's contribution, and add. An integral makes that construction exact in a suitable limit. This viewpoint unifies displacement from velocity, total charge from current, and probability from a density without reducing every application to a picture of geometric area.

Add small contributions before taking a limit

Partition an interval into small subintervals. In each piece choose a sample point, multiply the function value there by the piece's width, and add the products. For a continuous function on a closed bounded interval, these sums approach a common value as the largest width tends to zero. The sample points need not be left endpoints, although that is a convenient first approximation.

Units clarify the construction. Velocity times a short time interval is a small displacement, so integrating velocity gives displacement units. A density per meter multiplied by a short length gives an amount. The differential symbol records the variable being accumulated over; it should not be ignored as decorative punctuation. Changing from time to position requires transforming the whole integral consistently, a topic developed later.

∫abf(x) dx=lim⁡max⁡iΔxi→0∑i=1nf(ξi)Δxi\int_a^b f(x)\,dx=\lim_{\max_i\Delta x_i\to0}\sum_{i=1}^{n}f(\xi_i)\Delta x_i
For continuous f on [a,b] with a < b, each ξᵢ is inside its partition subinterval. The largest subinterval width tends to zero; this is more precise than merely increasing the number of pieces.↔ Scroll wide equations horizontally.

Signed accumulation is different from total magnitude

When a function is positive, its integral contributes positively; negative values contribute negatively. Thus positive and negative portions can cancel. Integrating signed velocity gives net displacement, while integrating speed, the magnitude of velocity, gives total distance traveled. A zero net displacement does not imply no travel. The same distinction separates net electrical flow from total traffic passing in both directions.

A definite integral produces a number for specified bounds, while an indefinite integral describes a family of antiderivatives. Reversing bounds changes the sign of a definite integral. Splitting an interval at an interior point splits its accumulation into two contributions. These properties follow the bookkeeping of oriented accumulation and help catch mistakes without evaluating a complicated formula from scratch.

∫abf(x) dx=−∫baf(x) dx,∫acf(x) dx=∫abf(x) dx+∫bcf(x) dx\int_a^b f(x)\,dx=-\int_b^a f(x)\,dx,\qquad \int_a^c f(x)\,dx=\int_a^b f(x)\,dx+\int_b^c f(x)\,dx
These identities hold for integrable functions on the relevant intervals. The second expresses additivity when a ≤ b ≤ c.↔ Scroll wide equations horizontally.

Differentiation and accumulation fit together

If a continuous rate is accumulated from a fixed starting point to a moving endpoint, the derivative of that accumulated amount is the current rate. Extending the endpoint a little adds a thin contribution whose average rate approaches the endpoint's value. This is one part of the Fundamental Theorem of Calculus and explains why an area-based construction can be computed using derivatives.

For continuous ff, find an antiderivative FF with F′=fF'=f and subtract its endpoint values. Constants disappear in that subtraction. This method is exact under the theorem's assumptions, whereas a finite rectangle sum is generally an approximation. Many useful functions lack a simple symbolic antiderivative, so numerical integration remains important. Existence of an integral and availability of an elementary formula are different questions.

A(x)=∫axf(t) dt⇒A′(x)=f(x),∫abf(x) dx=F(b)−F(a)(F′=f)A(x)=\int_a^x f(t)\,dt\Rightarrow A'(x)=f(x),\qquad \int_a^b f(x)\,dx=F(b)-F(a)\quad(F'=f)
Here f is continuous on the interval. The first identity applies at interior points, and the second evaluates its definite integral using any antiderivative F.↔ Scroll wide equations horizontally.

Accumulate a rising flow rate

Water enters at r(t) = 2t liters per second for 0 ≤ t ≤ 3 seconds, with t numerically measured in seconds. Find the amount added.

  1. Identify the accumulated quantity: rate multiplied by time gives liters, so integrate the rate from zero to three rather than multiplying the final rate by the full duration.

  2. An antiderivative of 2t is t². Evaluate at the endpoints: 3² − 0² = 9. The coefficient in the rate carries the units needed for this result to be liters.

  3. Check geometrically: the rate-time graph is a triangle with width 3 s and height 6 liters/s. Half of 3 × 6 is 9 liters, matching the integral.

The result

The tank receives 9 liters. Using the final rate for all three seconds would overestimate the amount as 18 liters.

Explore the model

Interactive lab

Interactive lab · function

Area and local slope in one model

For the exact family y=ax2y=ax^2, the coefficient and position controls set a and the upper endpoint x. Compare the shaded signed integral from 0 to x, ax3/3ax^3/3, with the point value and tangent slope. This is an analytic quadratic illustration, not a variable-resolution quadrature tool.

Area and local slope in one modelThis lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Current readings: y at chosen x: 0.608; Tangent slope · 2ax: 1.35; Signed area · ax³/3: 0.182. All parameters are adjustable with the labeled controls below.−2.4−1.201.22.4−9−4.504.59xy(x, ax²)
y = ax²TangentSigned integral
y at chosen x
0.608
Tangent slope · 2ax
1.35
Signed area · ax³/3
0.182
t = 0 s

This lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forA function value, its slope, and its accumulated integral are three different quantities.

Check your understanding

A signed velocity is +2 m/s for one second and −2 m/s for the next second. What is its time integral?

Try it yourself

Compute ∫023x2 dx\int_0^2 3x^2\,dx and compare with the right-endpoint estimate using two equal-width rectangles.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

An antiderivative is x³. The two right sample points are 1 and 2.

Compare with the solution

The exact integral is 2³ − 0³ = 8. Two unit-width right rectangles give 3(1²) × 1 + 3(2²) × 1 = 15. This overestimates because the function is increasing across both intervals. Refining a suitable partition improves the approximation; two rectangles are not the defining limit.

Take it with you

  • An integral adds local contributions with units of function value times input.
  • Signed accumulation can cancel even when total magnitude does not.
  • For continuous rates, the Fundamental Theorem connects integration with antiderivatives.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.