I want to prove that the total variation of, $f:[a,b] \to \mathbb{R}$, is $0$ iff $f$ is a constant function, but i'm not entirely sure how. I can intuitively see why that it would be zero since the Total Variation of a function represents the number of peaks of the function. Though, how to rigorously prove it i'm not sure.