Prove that if f is bounded on [0, 1] and continuous on [0, 1] \ {$ \frac{1}{n}: n \in \mathbb{N} $}, then f is integrable on [0, 1]
I choose N such that $\frac{1}{N} $ < $\epsilon $. Then f is integrable on [1/N, 1] because [1/N, 1] has countable discontinuous interval. But I don't know how to prove integrable on the interval between [0, 1/N].
can anybody give me a hint?
Take $\varepsilon>0$. Let $L>0$ be such that $(\forall x\in[0,1]):\bigl|f(x)\bigr|<L$. In $\left[\frac\varepsilon{4L},1\right]$, $f$ is integrable since it has finitely many points of discontinuity. Therefore, there is a partition $P$ of $\left[\frac\varepsilon{2L},1\right]$ such that$$\overline\sum\left(f|_{\left[\frac\varepsilon{4L},1\right]},P\right)-\underline\sum\left(f|_{\left[\frac\varepsilon{4L},1\right]},P\right)<\frac\varepsilon2.$$So, if $P^*=\{0\}\cup P$, $\overline\sum(f,P^*)-\underline\sum(f,P^*)<\varepsilon$.