I have the following assignment problem on which I have been stuck for over a week now.
Let $f: [a,b] \rightarrow \mathbb{R}$ be function such that there is a number $K>0$ such that
$\sum_{j=1}^{n}|f(a_j)-f(a_{j-1})| \leq K$
whenever $\{a=a_o < a_1 < ... < a_n = b\}$ is a partition of $[a,b]$. Show that $f$ is integrable on $[a,b]$.
I have tried using the Cauchy criterion to establish integrability. But I don't know how to proceed. Here's what I tried. Begin with two arbitrary tagged partitions $P = \{[x_{k-1},x_k]\}_{k=1}^{n}$ and $Q = \{[y_{k-1},y_k]\}_{k=1}^{n}$ of $[a,b]$. We obviously have
$\begin{align*} |R(f,P) - R(f,Q)| &= |\sum_{k=1}^{n}f(x_k^*)(x_k - x_{k-1}) - \sum_{k=1}^{n}f(y_k^*)(y_k - y_{k-1})|\\ &\leq |\sum_{k=1}^{n}f(x_k^*)(x_k - x_{k-1})| + |\sum_{k=1}^{n}f(y_k^*)(y_k - y_{k-1})|\\ &\leq \sum_{k=1}^{n}|f(x_k^*)|\cdot||P|| + \sum_{k=1}^{n}|f(y_k^*)|\cdot||Q|| \end{align*}$
Here, $x_k^*$ and $y_k^*$ are the tags of $P$ and $Q$, and $||P||$ and $||Q||$ are their norms. Now I don't know how to link the last line above with the condition given in the problem. Any hints would be very helpful.
Here is a direct approach which avoids any mention of functions of bounded variation.
Let $\epsilon>0$ be pre-assigned and let $n$ be a positive integer such that $K/n<\epsilon/3$. Let us define a partition $$P_n=\{x_0,x_1,\dots,x_n\} $$ by $$x_j=a+j\cdot\frac{b-a} {n} $$ so that each subinterval $[x_{j-1},x_j]$ is of the same length $(b-a) /n$.
Let us observe that if the function $f$ satisfies the conditions given in question then it is bounded on $[a, b] $. And then we can define $$M_j=\sup\, \{f(x) \mid x\in[x_{j-1},x_j]\}, m_j=\inf\, \{f(x) \mid x\in[x_{j-1},x_j]\} $$ Also let the points $a_j, b_j\in[x_{j-1},x_j]$ be such that $$0\leq M_j-f(a_j) <\frac{\epsilon} {3(b-a)},0\leq f(b_j) - m_j<\frac{\epsilon} {3(b-a)}$$ Such points exists because of the way $M_j, m_j$ are defined. We now consider the difference between upper sum $$U(f, P_n) =\sum_{j=1}^{n}M_j(x_j-x_{j-1})$$ and the lower sum $$L(f, P_n) =\sum_{j=1}^{n}m_j(x_j-x_{j-1})$$ We have \begin{align} U(f, P_n) - L(f, P_n) & =\sum_{j=1}^n (M_j-m_j) (x_j-x_{j-1})\notag\\ &=\left|\sum_{j=1}^n(M_j-f(a_j)+f(b_j)-m_j+f(a_j)-f(b_j))(x_j-x_{j-1})\right|\notag\\ &\leq\sum_{j=1}^n (M_j-f(a_j)) (x_j-x_{j-1})+\sum_{j=1}^{n}(f(b_j)-m_j)(x_j-x_{j-1})+\sum_{j=1}^n|f(a_j)-f(b_j)|(x_j-x_{j-1})\notag\\ &<\frac{\epsilon}{3(b-a)}\cdot(b-a)+\frac{\epsilon}{3(b-a)}\cdot(b-a) +\frac{K} {n} \notag\\ &<\epsilon \end{align} By Darboux criterion $f$ is Riemann integrable on $[a, b] $.