Continuous Real Function is Darboux Integrable

Theorem
Let $f$ be a real function which is continuous on the closed interval $\closedint a b$.

Then $f$ is Darboux integrable on $\closedint a b$.

Proof
We have the result $f$ is bounded by Continuous Real Function is Bounded.

By Condition for Darboux Integrability, it suffices to show that for all $\epsilon > 0$, there exists a subdivision $P$ of $\closedint a b$ such that:
 * $\map U P – \map L P < \epsilon$

where $\map U P$ and $\map L P$ denote the upper sum and lower sum of $f$ on $\closedint a b$ belonging to the subdivision $P$.

Let $\epsilon > 0$.

We have the result Continuous Function on Closed Real Interval is Uniformly Continuous.

By the definition of uniform continuity, there exists a $\delta > 0$ such that if $x, y \in \closedint a b$ are such that $\size {x – y} < \delta$, then:
 * $\size {\map f x – \map f y} < \dfrac \epsilon {b - a}$

Let $P = \set {x_0, x_1, x_2, \ldots, x_n}$ be a subdivision of $\closedint a b$ such that:
 * $\ds \max_{1 \mathop \le k \mathop \le n} \paren {x_k – x_{k - 1} } < \delta$

For all integers $k$ satisfying $1 \le k \le n$, it follows from the Heine-Borel theorem that $\closedint {x_{k - 1} } {x_k}$ is compact.

So we can apply Corollary 3 to Continuous Image of Compact Space is Compact to conclude that there exist $u_k, v_k \in \closedint {x_{k - 1} } {x_k}$ such that:

By assumption, $x_k – x_{k - 1} < \delta$, so:
 * $\size {u_k – v_k} < \delta$

It follows from the definition of $\delta$ that:
 * $\ds \map f {u_k} – \map f {v_k} < \frac \epsilon {b – a}$

This gives:

as desired.