BeginnerUpdated 2026-09-22

Areas and Distances

The definite integral was invented to answer two questions that turn out to be the same question: how much area sits under a curve, and how far does something travel given its velocity?

The area problem

To find the area under (with ) from to , split into subintervals of width and approximate the area with thin rectangles. Using the right endpoint of each subinterval for its height gives the right-endpoint Riemann sum:

As , the rectangles fit the curve more and more closely, and the sum converges to the exact area — which is how the definite integral is defined:

Worked example

Find the area under on directly from the Riemann sum definition.

With and :

Expanding the numerator, as — matching .

The distance problem

If is velocity, the same limiting process gives the displacement (net change in position) over :

This is a signed quantity: motion in the negative direction subtracts from motion in the positive direction. If you instead want the total distance traveled — how far the odometer actually turns — integrate the speed, , instead:

Worked example

An object moves with velocity (m/s) for . Find its displacement and the total distance traveled.

An antiderivative is . The displacement is

so the object ends up back where it started. Factoring shows on and on , so the total distance is

using . The object travels back and forth and returns to its starting point, even though its net displacement is zero.

Practice

  1. 1.
    The right-endpoint Riemann sum approaches which quantity as ?
  2. 2.
    If velocity is negative on part of an interval, the total distance traveled:
  3. 3.