Suppose I give you a position function $x(t)$ where t is time and x is position. Then i ask you to find the total distance travelled from $t = 0$ to $t = t_f$.
Which formula would give you that distance?
$$\int_{0}^{t_f} \sqrt{1 + [x'(t)]^2} dt$$
$$\int_{0}^{t_f} |x(t)| dt$$
I know the first one gives you the arc length of the path (which is the total length of the path) and the second one gives me the signed distance, but why are they fundamentally different again?