Total Distance Traveled

Integrate the speed, not the velocity.

A particle that turns twice

A particle moves along a line with velocity v = t² − 4t + 3 from t = 0 to t = 4. Factorized, v = (t − 1)(t − 3), so v is positive before t = 1, negative between t = 1 and t = 3, and positive again after t = 3. The particle moves forward, turns at t = 1, moves backward, and turns again at t = 3.

tv

v = t² − 4t + 3 from t = 0 to 4. It crosses the axis at the dots, t = 1 and t = 3, where the particle turns. Between them the velocity is negative and the shaded piece lies below the axis.

The signed integral is displacement

An antiderivative of v is s = t³/3 − 2t² + 3t, which is the position if the particle starts at s = 0. Then s(1) = 1/3 − 2 + 3 = 4/3, s(3) = 9 − 18 + 9 = 0 and s(4) = 64/3 − 32 + 12 = 4/3.

So the particle goes out to 4/3, comes back to 0 at t = 3, and goes out to 4/3 again. The integral of v from 0 to 4 is s(4) − s(0) = 4/3, the displacement: the trip back has canceled one of the trips out.

Integrate the speed

The total distance counts every stretch as ground covered, whichever way the particle was going. That is the integral of the speed |v|, which is never negative, so no stretch can cancel another.

The graph of |v| is the graph of v with every piece below the axis reflected above it. The area under it is the total distance.

tv

The velocity v = t² − 4t + 3 in gold and the speed |v| in plain; the two run together wherever v is positive. Between t = 1 and 3 the speed is the velocity turned over, so all of the shaded area under |v| is above the axis, and it adds to 4.

In practice: split at the turns

|v| has no single antiderivative to use across the turns, so work in pieces. Solve v = 0 to find the turning times, integrate v between consecutive turns, and add the sizes of the answers.

Here v = 0 at t = 1 and t = 3. The pieces are s(1) − s(0) = 4/3, s(3) − s(1) = −4/3 and s(4) − s(3) = 4/3. The total distance is 4/3 + 4/3 + 4/3 = 4; with the signs kept, 4/3 − 4/3 + 4/3 = 4/3 is the displacement.

Distance is never less than the size of the displacement, and the two are equal only when the particle never turns back.

ss = 15vv = −10aa = −101 s2 s3 s4 s

v < 0: the ball is falling, speeding up because v and a = −10 now have the same sign

Set t to where the velocity crosses zero

A ball thrown upward with s = 20t − 5t² and v = 20 − 10t. At t = 3 it is at s = 15 on the way down, with v = −10. Its velocity is zero at t = 2, where it turns at s = 20. From t = 0 to 4 its displacement is s(4) − s(0) = 0, but it rises 20 and falls 20, a distance of 40. Drag t to 2 to see the turn.

A car that comes back

A car has v = 10 − 2t meters per second. Then v = 0 at t = 5, and s = 10t − t². From t = 0 to 5 the car moves s(5) − s(0) = 50 − 25 = 25 meters forward; from 5 to 10 it moves s(10) − s(5) = 0 − 25 = −25, that is 25 meters back.

Over the ten seconds its displacement is 0 and its distance is 25 + 25 = 50 meters.

The usual mistakes

Integrating v straight through. That gives the displacement, 4/3, not the distance, 4.

Solving a = 0 for the turns. a = 0 where the velocity stops changing: here a = 2t − 4 = 0 at t = 2, where v = −1, so the particle is still moving backward. A turn happens only where v = 0.

Adding the pieces with their signs. 4/3 − 4/3 + 4/3 is the displacement; the distance drops the minus sign.

Saying a return trip has zero distance. A particle that comes back to its start has displacement 0, but it covered ground both ways.

A survey vehicle on a tether

In the application below, a vehicle on a tether has v = 1.5n² − 12n + 18 meters per minute, which is zero at n = 2 and n = 6. One integral gives where it ends up; the tether the winch moves is the distance, from three pieces added without their signs.

Worked example: A Survey Vehicle That Rises, Sinks and Rises Again: Where It Ends and How Far It Went

Question A remotely operated vehicle hangs on a tether from a survey ship. Taking upward as positive, its velocity n minutes after a maneuver begins is v = 1.5n2 − 12n + 18 meters per minute, for 0 ≤ n ≤ 8. When the maneuver begins the vehicle is 40 meters below the surface. (a) How deep is it after the eight minutes? (b) How much tether does the winch move in and out altogether during the maneuver?

  1. 1.Displacement is an antiderivative of velocity. Integrating term by term, s = ∫ (1.5n2 − 12n + 18)dn = 0.5n3 − 6n2 + 18n, taking s = 0 at the start of the maneuver.

    −50510152002468n, minutes after the maneuver startsvelocity, m/mins = 0.5n3− 6n2+ 18n
    −50510152002468n, minutes after the maneuver startsvelocity, m/mins = 0.5n3− 6n2+ 18n
    Displacement is an antiderivative of velocity: s = 0.5n3 − 6n2 + 18n, taken as 0 at the start.
  2. 2.(a) Over the whole eight minutes the displacement is s(8) − s(0) = 256 − 384 + 144 = 16 meters, and it is positive, so the vehicle finishes 16 meters higher than it began. Its depth is 40 − 16 = 24 meters.

    −50510152002468n, minutes after the maneuver startsvelocity, m/min16 m up in alls = 0.5n3− 6n2+ 18n(a) s(8) = 256 − 384 + 144 = 16 m updepth 40 − 16 = 24 m
    −50510152002468n, minutes after the maneuver startsvelocity, m/min16 m up in alls = 0.5n3− 6n2+ 18n(a) s(8) = 256 − 384 + 144 = 16 m updepth 40 − 16 = 24 m
    (a) s(8) − s(0) = 256 − 384 + 144 = 16 meters up, so the depth is 40 − 16 = 24 meters.
  3. 3.The vehicle can only turn where its velocity is zero. Factorizing, v = 1.5(n − 2)(n − 6), so v = 0 at n = 2 and at n = 6, and between those two times v is negative: the vehicle is sinking.

    −50510152002468n, minutes after the maneuver startsvelocity, m/min16 m up in alls = 0.5n3− 6n2+ 18n(a) s(8) = 256 − 384 + 144 = 16 m updepth 40 − 16 = 24 mv = 0 at n = 2 and at n = 6
    −50510152002468n, minutes after the maneuver startsvelocity, m/min16 m up in alls = 0.5n3− 6n2+ 18n(a) s(8) = 256 − 384 + 144 = 16 m updepth 40 − 16 = 24 mv = 0 at n = 2 and at n = 6
    The vehicle can only turn where v = 0, and v = 1.5(n−2)(n−6) is zero at n = 2 and n = 6.
  4. 4.Take the three stretches separately. From 0 to 2, s(2) − s(0) = 4 − 24 + 36 = 16 meters up. From 2 to 6, s(6) − s(2) = 0 − 16 = −16, which is 16 meters down. From 6 to 8, s(8) − s(6) = 16 − 0 = 16 meters up.

    −50510152002468n, minutes after the maneuver startsvelocity, m/min161616each stretch is 16 ms = 0.5n3− 6n2+ 18n(a) s(8) = 256 − 384 + 144 = 16 m updepth 40 − 16 = 24 mv = 0 at n = 2 and at n = 6up 16, then down 16, then up 16
    −50510152002468n, minutes after the maneuver startsvelocity, m/min161616each stretch is 16 ms = 0.5n3− 6n2+ 18n(a) s(8) = 256 − 384 + 144 = 16 m updepth 40 − 16 = 24 mv = 0 at n = 2 and at n = 6up 16, then down 16, then up 16
    Taken separately the three stretches are 16 up, 16 down and 16 up: the middle one lies below the axis.
  5. 5.(b) The tether moves 16 + 16 + 16 = 48 meters in all. Check: putting the signs back gives 16 − 16 + 16 = 16 meters, the displacement of part (a), so the three pieces and the single integral agree.

    −50510152002468n, minutes after the maneuver startsvelocity, m/min16161648 m of tethers = 0.5n3− 6n2+ 18n(a) s(8) = 256 − 384 + 144 = 16 m updepth 40 − 16 = 24 mv = 0 at n = 2 and at n = 6up 16, then down 16, then up 16(b) 16 + 16 + 16 = 48 m of tether
    −50510152002468n, minutes after the maneuver startsvelocity, m/min16161648 m of tethers = 0.5n3− 6n2+ 18n(a) s(8) = 256 − 384 + 144 = 16 m updepth 40 − 16 = 24 mv = 0 at n = 2 and at n = 6up 16, then down 16, then up 16(b) 16 + 16 + 16 = 48 m of tether
    (b) The tether moves 16 + 16 + 16 = 48 meters, while the signed total is still 16 − 16 + 16 = 16.

Answer: (a) it is 24 meters below the surface, having risen 16 meters in all; (b) the winch moves 48 meters of tether

Common mistakes

  • Integrating the velocity straight through for part (b) and answering 16 meters. That integral is the displacement: the four minutes of sinking cancel two of the rising stretches, and the winch does not care about the sign. A distance needs the interval cut at n = 2 and n = 6 and the three answers added without their signs.
  • Looking for the turning points where the velocity is least rather than where it is zero. The velocity is least at n = 4, but v = −6 there, so the vehicle is still sinking and has not turned. A change of direction happens only where v = 0.

More using integration problems, worked step by step →

Practice Total Distance Traveled in the app