= Distance traveled from velocity
{title2=$d=\int_a^b|v(t)|\,dt$}
{title2=$D=\int_a^b|v(t)|\,dt$, $a<b$}
For a one-dimensional motion with <velocity> $v(t)$, total distance traveled is $\int_a^b|v(t)|\,dt$, while net <displacement> is $\int_a^bv(t)\,dt$. In several dimensions, replace <absolute value> by the <Euclidean norm> of the <velocity vector>; this is the <arc length> of the trajectory.
If $v(t)=t-1$ for $0\leq t\leq2$, the body reverses direction at $t=1$. Its <displacement> is zero, but its total distance is $\int_0^1(1-t)dt+\int_1^2(t-1)dt=1$. Splitting at reversals makes the physical meaning of the <integral> visible.
Back to article page