I'm trying to show that a continuous function $f$ in $[a,b]$ is Lebesgue integrable, using approximation through step functions. It is pretty trivial to show using the connection between Riemann integral and Lebesgue integral. But I have to show it only using step functions approximation. Using the definition of Lebesgue integral which uses step functions approximation seemed to be easy but I'm confused.
Thanks for any help
Hint: Like for Riemann integral, use uniform continuity.
Edit: I add some details. Thanks to uniform continuity, for all $\epsilon>0$, you can find $\delta>0$ such that $|x-y|<\delta$ implies $|f(x)-f(y)|<\epsilon$. Now, let $(I_n)$ be a finite partition of $[a,b]$ such that $I_n$ is an interval of diameter less that $\delta$; for $n \geq 1$, let $y_n = \sup\limits_{x \in I_n} f(x)$ and $x_n= \inf\limits_{x \in I_n} f(x)$. You can considerate: $\displaystyle g_{\epsilon}(x)= \sum\limits_n x_n 1_{I_n}$ and $\displaystyle h_{\epsilon}(x)= \sum\limits_n y_n 1_{I_n}$. Notice that $g_{\epsilon} \leq f \leq h_{\epsilon}$.
Now $\displaystyle \int_a^b h_{\epsilon}(x)dx$ dicreases when $\epsilon \to 0$ and is bounded below, so it converges to $\displaystyle \ell= \inf\limits_{\epsilon>0} \int_a^b h_{\epsilon}(x)dx$. Moreover, $\displaystyle \left| \int_a^b h_{\epsilon}(x)dx-\int_a^bg_{\epsilon}(x)dx \right| \leq \epsilon(b-a)$ and for any step function $s \leq f$, $\displaystyle \int_a^b s(x)dx \leq \int_a^b h_{\epsilon}(x)dx$, hence $\displaystyle \int_a^b s(x)dx \leq \ell$.
In fact, $\displaystyle \ell= \int_a^b f(x)dx$.