Integrals and accumulation: adding a continuously varying rate
Build a definite integral from local contributions and connect accumulation to differentiation.
On this page
The question for today
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.
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.
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 , find an antiderivative with 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.
Work it through
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.
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.
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.
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 tank receives 9 liters. Using the final rate for all three seconds would overestimate the amount as 18 liters.
The living notebook
Explore the model
Interactive lab · function
Area and local slope in one model
For the exact family , the coefficient and position controls set a and the upper endpoint x. Compare the shaded signed integral from 0 to x, , with the point value and tangent slope. This is an analytic quadratic illustration, not a variable-resolution quadrature tool.
- y at chosen x
- 0.608
- Tangent slope · 2ax
- 1.35
- Signed area · ax³/3
- 0.182
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.
Pause & reason
Check your understanding
Your turn
Try it yourself
Compute 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.
Keep the idea
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.