The idea
Key formulas
Displacement
Total distance
Loading lessons…
Just a moment, getting everything ready. The first load can take up to a minute.
Calculus
Integrate velocity for signed displacement, and split at direction changes to find total distance.
Velocity records both speed and direction. Its signed area over a time interval gives the change in position: motion in opposite directions cancels. Distance instead adds the length of every part of the journey, so each section must contribute positively.