I need to prove that
Let $f:[a,b] \to \mathbf{R}$ be a bounded map and let $f$ be an integrable map on the interval $[c,b]$ for all $c \in (a,b).$ Then, $f$ is integrable on $[a,b].$
My attempt:
By hypotesis, $f:[a,b] \to \mathbf{R}$ is bounded, so there exists $0 < K \in \mathbf{R}$ such that $|f(x)| \leq K$, for all $x \in [a,b].$ Let $\varepsilon>0,$ and take $c \in (a,b)$ such that $K \cdot (c-a) \leq \frac{\varepsilon}{4}$. By hypotesis, $f$ is integrable on $[c,b],$ then, there exists a partition $\left\{t_1, \dots, t_n \right\} \subset [a,b]$ such that $\sum_{i=2}^{n} \omega_i(t_i-t_{i-1}) < \frac{\varepsilon}{2}$. Let's make $t_{1}=a$, then we get a partition $\left\{t_0, t_1, \dots, t_n \right\}$ of $[a,b]$.
Now I need to prove that $\omega_0 \leq 2K$, for me to get that $f$ is integrable on $[a,b]$. Am I following the correct idea?
I don't know how to procceed. Any ideas would be appreciated!