Average Value and Motion Revisited
AP Calculus AB · Unit 8 — Applications of Integration
Average value
$$f_{\text{avg}}=\frac{1}{b-a}\int_a^b f(x)\,dx$$Notice this is the integral divided by the length of the interval, not by $n$. The Mean Value Theorem for Integrals guarantees that a continuous $f$ actually attains this average value at some $c$ in $[a,b]$.
Distance versus displacement
For a particle with velocity $v(t)$ on $[a,b]$:
$$\text{displacement}=\int_a^b v(t)\,dt,\qquad \text{distance}=\int_a^b\left|v(t)\right|dt$$They agree only when $v$ never changes sign. To compute total distance by hand, split at the zeros of $v$ and add the absolute values of the pieces.
Worked example: distance includes backtracking
A particle has $v(t)=t^2-4t+3$ on $[0,4]$. Find the displacement and the distance traveled.
Solution
$v=(t-1)(t-3)$: positive on $[0,1)$, negative on $(1,3)$, positive on $(3,4]$.
Displacement: the antiderivative is $\frac{t^3}{3}-2t^2+3t$. At $t=4$: $\frac{64}{3}-32+12=\frac{64}{3}-20=\frac43$. At $t=0$: $0$. So the displacement is $\frac43$.
Distance: split at $t=1$ and $t=3$.
- $[0,1]$: $\frac13-2+3=\frac43$
- $[1,3]$: $\left(9-18+9\right)-\frac43=-\frac43$ ⇒ take the absolute value, $\frac43$
- $[3,4]$: $\frac43-0=\frac43$
Total distance $=\frac43+\frac43+\frac43=4$.
The difference between $4$ and $\frac43$ is exactly the backward motion that was counted twice.