Integrals · Foundational

Integrals Turn Rates into Accumulation

Build the definite integral from finite sums, interpret its units and sign, and connect accumulation to antiderivatives.

Suppose a flow meter reports liters per second. One reading tells us a rate, not the amount of water that has passed. To recover volume, we must combine the rate over time. If the rate changes continuously, ordinary multiplication is only an approximation. The definite integral is the limit of increasingly accurate finite sums.

Learning objectives

By the end of this lesson, you should be able to:

  1. construct a Riemann sum from a partition;
  2. explain the roles of f(xi)f(x_i^*) and Δxi\Delta x_i;
  3. distinguish signed accumulation from geometric area;
  4. predict the units of an integral;
  5. use both parts of the Fundamental Theorem of Calculus;
  6. distinguish a definite integral from an indefinite integral.

Activate the prerequisite: finite accumulation

If velocity is constant at 6m/s6\,\mathrm{m/s} for 4s4\,\mathrm{s}, displacement is

(6m/s)(4s)=24m.(6\,\mathrm{m/s})(4\,\mathrm{s})=24\,\mathrm m.

If velocity is 2m/s2\,\mathrm{m/s} for two seconds and then 5m/s5\,\mathrm{m/s} for three seconds, add the contributions:

(2)(2)+(5)(3)=19m.(2)(2)+(5)(3)=19\,\mathrm m.

This is already integration in finite form: rate times interval, summed across intervals.

From rectangles to a Riemann sum

Partition [a,b][a,b] at points

a=x0<x1<<xn=b.a=x_0<x_1<\cdots<x_n=b.

The iith width is Δxi=xixi1\Delta x_i=x_i-x_{i-1}. Choose a sample point xix_i^* in that subinterval. If ff changes little there, the contribution is approximately

f(xi)Δxi.f(x_i^*)\Delta x_i.

Adding every contribution gives the Riemann sum

i=1nf(xi)Δxi.\sum_{i=1}^{n}f(x_i^*)\Delta x_i.

The sample value gives a local rate, height, or density. The width supplies the amount of input over which that value acts. Their product has the units of an accumulated quantity.

Worked construction: integrate f(x)=xf(x)=x

Divide [0,1][0,1] into nn equal pieces. Then Δx=1/n\Delta x=1/n. Using right endpoints, xi=i/nx_i^*=i/n, so

Rn=i=1nin1n=1n2i=1ni.R_n=\sum_{i=1}^{n}\frac{i}{n}\frac{1}{n} =\frac{1}{n^2}\sum_{i=1}^{n}i.

Using i=1ni=n(n+1)/2\sum_{i=1}^n i=n(n+1)/2,

Rn=n(n+1)2n2=12+12n.R_n=\frac{n(n+1)}{2n^2} =\frac12+\frac{1}{2n}.

Therefore

01xdx=limnRn=12.\int_0^1x\,dx=\lim_{n\to\infty}R_n=\frac12.

The right sums overestimate because f(x)=xf(x)=x is increasing. Left sums underestimate. Both squeeze toward the same value.

Sign and geometric area

The integral is signed accumulation. Contributions above the horizontal axis are positive; those below are negative.

For f(x)=xf(x)=x on [1,1][-1,1],

11xdx=0\int_{-1}^{1}x\,dx=0

because the negative and positive contributions cancel. The geometric area is not zero:

11xdx=1.\int_{-1}^{1}|x|\,dx=1.

Units expose meaning

If v(t)v(t) is in meters per second and dtdt is in seconds, then v(t)dtv(t)dt is in meters. If density ρ(x)\rho(x) is kilograms per meter and dxdx is meters, then ρ(x)dx\rho(x)dx is kilograms.

Treating dxdx as a reminder of the input variable and its units prevents many modeling errors.

The accumulation function

Define

A(x)=axf(t)dt.A(x)=\int_a^x f(t)\,dt.

If the upper endpoint increases by a small hh, the new accumulated amount is approximately a thin rectangle:

A(x+h)A(x)f(x)h.A(x+h)-A(x)\approx f(x)h.

Dividing by hh suggests A(x)f(x)A'(x)\approx f(x). The limiting statement is exact.

Worked application: displacement versus distance

Let velocity be v(t)=3t26tv(t)=3t^2-6t on 0t30\le t\le3. An antiderivative is V(t)=t33t2V(t)=t^3-3t^2, so displacement is

03v(t)dt=V(3)V(0)=0.\int_0^3v(t)\,dt=V(3)-V(0)=0.

Zero displacement does not mean no motion. Since v(t)=3t(t2)v(t)=3t(t-2) changes sign at t=2t=2, total distance is

02v(t)dt+23v(t)dt=4+4=8.-\int_0^2v(t)\,dt+\int_2^3v(t)\,dt =4+4=8.

The sign split is a conceptual step, not merely algebra.

Definite and indefinite integrals

The definite integral abf(x)dx\int_a^b f(x)dx is a number. The notation

f(x)dx=F(x)+C\int f(x)\,dx=F(x)+C

denotes a family of antiderivatives. The constant CC is required because differentiation erases constants. In F(b)F(a)F(b)-F(a), the same constant cancels.

Check your understanding

  1. If ff is negative everywhere on [a,b][a,b], what sign must abf(x)dx\int_a^b f(x)dx have?
  2. A flow rate is measured in gallons per minute. What are the units of its integral with respect to minutes?
  3. Why can a definite integral be zero even when the integrand is not zero?
Show the reasoning
  1. Negative: every sufficiently small contribution f(xi)Δxif(x_i^*)\Delta x_i is negative.
  2. Gallons, because (gallons/minute)(minutes)=gallons(\text{gallons/minute})(\text{minutes})=\text{gallons}.
  3. Positive and negative contributions can cancel, as they do for an odd function over a symmetric interval.

Continue exploring

Connections

Related concepts

DerivativesDerivatives Measure Local ChangeLimitsWhy Limits MatterVelocityVelocity Is Change with DirectionSummation NotationSummation Notation Makes Repeated Addition Precise

Applications

  • displacement
  • area
  • mass from density
  • probability