I have that every Riemann sum $$S := |\sum_{i=1}^n f(t_i)(x_i - x_{i-1})| \le \sum_{i = 1}^n M(x_i - x_{i-1}) = M(b-a),$$ where $t_i$ is an arbitrary $x \in (x_{i-1}, x_i)$, and $x_1 \le ... \le x_n$ is a partitioning of $[a, b].$
I'm not sure how to extend that to $|\int_a^b f(x)| \le M(b-a).$
Does anyone have any pointers?
Thanks!
For any partition $\mathcal{P} = \{a = t_0 < t_1 < \cdots < t_n = b\}$ of $[a,b]$ we know that $$ \int_a^b f \le U(f, \mathcal{P}) $$ where $$ U(f, \mathcal{P}) = \sum_{i=0}^n \sup_{[t_{i-1}, t_i]} f(x) (t_i - t_{i-1}) $$ is the upper Riemann sum of $f$ with the partition $\mathcal{P}$. Furthermore, as you state in your question, you know that $$ \left|U(f, \mathcal{P})\right| \le M(b-a). $$ Can you see how to combine these facts to obtain the result?