Question:Suppose $g$ is continuous on $[a,b]$. Let f(x)=$\int_{a}^{x}g$ where $x∊[a,b]$. Show that $\int_{a}^{x}|g|$ gives the total variation of $f$ on $[a,x]$.
I managed to prove that $V_{f}(a,x)≤\int_{a}^{x}|g|$. But I still could not find a way to prove that $V_{f}(a,x)≥\int_{a}^{x}|g|$. I would much appreciate if someone could provide me a hint. Thanks