5.9 Bonus: Darboux Sums, Compactness, and Integrability

In Section 5.4, we defined the definite integral as a limit of general Riemann sums. While tagged Riemann sums are indispensable for physical modeling and numerical quadrature, their arbitrary choice of sample tags xk∗∈[xk−1,xk]x_{k}^{*}\in[x_{k-1},x_{k}] creates substantial technical friction when establishing theorems.

To overcome this, Gaston Darboux (1875) introduced an elegant alternative: rather than allowing sample points to float unpredictably, one evaluates the extreme behavior on each subinterval. By taking the infimum and supremum of the function over each slice, we construct the sharpest possible under- and over-estimates for the area. The exact integral is trapped between these bounds. In this section, we develop this framework from first principles and deploy the fundamental property of real numbers—the Heine–Borel theorem—to prove that every continuous function on a closed, bounded interval is integrable.

5.9.1 Axiomatic Properties and Construction of Darboux Sums

We begin by isolating the fundamental geometric properties that any coherent theory of integration must obey.

Hypothesis 5.9.1 (Axiomatic properties of the integral).

For any continuous function f:[a,b]→ℝf\colon[a,b]\to\mathbb{R}, the integral operator satisfies:

  1. (i)
    ​

    Interval additivity: If a<c<ba<c<b, then

    equation (5.15) (5.15)
    ∫abf⁢(t)⁢dt=∫acf⁢(t)⁢dt+∫cbf⁢(t)⁢dt.\int_{a}^{b}f(t)\,\mathrm{d}t=\int_{a}^{c}f(t)\,\mathrm{d}t+\int_{c}^{b}f(t)\,% \mathrm{d}t.
  2. (ii)
    ​

    Order and bounding property: If m≤f⁢(t)≤Mm\leq f(t)\leq M for all t∈[a,b]t\in[a,b], then

    equation (5.16) (5.16)
    m⁢(b−a)≤∫abf⁢(t)⁢dt≤M⁢(b−a).m\,(b-a)\leq\int_{a}^{b}f(t)\,\mathrm{d}t\leq M\,(b-a).
Definition 5.9.2 (Lower and upper Darboux sums).

Let 𝒫︀={a0,a1,…,an}\mathcal{P}=\{a_{0},a_{1},\dots,a_{n}\} be a partition of [a,b][a,b]:

a=a0<a1<a2<⋯<an−1<an=b.a=a_{0}<a_{1}<a_{2}<\dots<a_{n-1}<a_{n}=b.

Because ff is continuous on each compact subinterval [ai−1,ai][a_{i-1},a_{i}], the Extreme Value Theorem guarantees that ff attains an absolute minimum mim_{i} and an absolute maximum MiM_{i}:

mi≔mint∈[ai−1,ai]⁡f⁢(t),Mi≔maxt∈[ai−1,ai]⁡f⁢(t).m_{i}\coloneqq\min_{t\in[a_{i-1},a_{i}]}f(t),\qquad M_{i}\coloneqq\max_{t\in[a% _{i-1},a_{i}]}f(t).

We define the lower Darboux sum and upper Darboux sum of ff with respect to 𝒫︀\mathcal{P} by

L⁢(f,𝒫︀)≔∑i=1nmi⁢(ai−ai−1),U⁢(f,𝒫︀)≔∑i=1nMi⁢(ai−ai−1).L(f,\mathcal{P})\coloneqq\sum_{i=1}^{n}m_{i}(a_{i}-a_{i-1}),\qquad U(f,% \mathcal{P})\coloneqq\sum_{i=1}^{n}M_{i}(a_{i}-a_{i-1}).

Applying the interval additivity property (5.15) across all nn subintervals yields

∫abf⁢(t)⁢dt=∑i=1n∫ai−1aif⁢(t)⁢dt.\int_{a}^{b}f(t)\,\mathrm{d}t=\sum_{i=1}^{n}\int_{a_{i-1}}^{a_{i}}f(t)\,% \mathrm{d}t.

On each subinterval [ai−1,ai][a_{i-1},a_{i}], the bounding property (5.16) dictates that

mi⁢(ai−ai−1)≤∫ai−1aif⁢(t)⁢dt≤Mi⁢(ai−ai−1).m_{i}(a_{i}-a_{i-1})\leq\int_{a_{i-1}}^{a_{i}}f(t)\,\mathrm{d}t\leq M_{i}(a_{i% }-a_{i-1}).

Summing these bounds over all i=1,…,ni=1,\dots,n yields the squeeze inequality:

equation (5.17) (5.17)
L⁢(f,𝒫︀)≤∫abf⁢(t)⁢dt≤U⁢(f,𝒫︀).L(f,\mathcal{P})\leq\int_{a}^{b}f(t)\,\mathrm{d}t\leq U(f,\mathcal{P}).
Intuition (Darboux sums as architectural bounding boxes).

Every tagged Riemann sum ∑i=1nf⁢(ti∗)⁢Δ⁢ai\sum_{i=1}^{n}f(t_{i}^{*})\,\Delta a_{i} satisfies mi≤f⁢(ti∗)≤Mim_{i}\leq f(t_{i}^{*})\leq M_{i} for each strip, meaning that

L⁢(f,𝒫︀)≤R⁢(f,𝒫︀,{ti∗})≤U⁢(f,𝒫︀).L(f,\mathcal{P})\leq R(f,\mathcal{P},\{t_{i}^{*}\})\leq U(f,\mathcal{P}).

The lower Darboux sum is the largest possible floor constructed from under-approximating rectangular pillars, while the upper Darboux sum is the lowest ceiling constructed from over-approximating pillars. Proving integrability reduces to showing that as we refine the partition, the ceiling and the floor converge to the exact same value.

5.9.2 The Engine of Global Regularity: Heine–Borel–Cantor

This section should be skipped during the first reading, readers only need to understand the first paragraph and the statement of Theorem 5.9.5, then move on to Section 5.9.3.

To force the gap U⁢(f,𝒫︀)−L⁢(f,𝒫︀)U(f,\mathcal{P})-L(f,\mathcal{P}) to zero, we need the local variations Mi−miM_{i}-m_{i} to be simultaneously small across all subintervals. The local definition of continuity states that for each point x∈[a,b]x\in[a,b] and any ε>0\varepsilon>0, there exists a δ⁢(x)>0\delta(x)>0 such that

|t−x|<δ⁢(x)⟹|f⁢(t)−f⁢(x)|<ε2.\left\lvert t-x\right\rvert<\delta(x)\implies\left\lvert f(t)-f(x)\right\rvert% <\frac{\varepsilon}{2}.

However, the modulus of continuity δ⁢(x)\delta(x) can shrink arbitrarily close to zero as xx approaches a steep gradient, preventing us from picking a single mesh size that controls the entire interval at once.

To bridge this chasm between local continuity and global control, we invoke the topology of the real numbers.

Definition 5.9.3 (Open cover and compactness).

Let K⊂ℝK\subset\mathbb{R}. A collection of open sets 𝒰︀={Vα}α∈𝒜︀\mathcal{U}=\{V_{\alpha}\}_{\alpha\in\mathcal{A}} is an cover open of KK if K⊂⋃α∈𝒜︀VαK\subset\bigcup_{\alpha\in\mathcal{A}}V_{\alpha}. We say that KK is compact if every open cover of KK has a finite subcover: there exist indices α1,…,αN∈𝒜︀\alpha_{1},\dots,\alpha_{N}\in\mathcal{A} such that

K⊂Vα1∪Vα2∪⋯∪VαN.K\subset V_{\alpha_{1}}\cup V_{\alpha_{2}}\cup\dots\cup V_{\alpha_{N}}.
Theorem 5.9.4 (Heine–Borel).

A subset K⊂ℝK\subset\mathbb{R} is compact if and only if it is closed and bounded. In particular, every interval of the form [a,b][a,b] is compact.

Proof.

We prove that [a,b][a,b] is compact via Dedekind completeness (the least upper bound property). Let 𝒰︀={Vα}α∈𝒜︀\mathcal{U}=\{V_{\alpha}\}_{\alpha\in\mathcal{A}} be an open cover of [a,b][a,b]. Consider the set of points up to which [a,b][a,b] can be covered by finitely many members of 𝒰︀\mathcal{U}:

S≔{x∈[a,b]:[a,x]⁢ is covered by a finite subcollection of ⁢𝒰︀}.S\coloneqq\bigl{\{}x\in[a,b]:[a,x]\text{ is covered by a finite subcollection % of }\mathcal{U}\bigr{\}}.
  1. Step 1.
    ​

    SS is non-empty and bounded above. Clearly a∈Sa\in S because a∈[a,b]⊂⋃αVαa\in[a,b]\subset\bigcup_{\alpha}V_{\alpha}, so a∈Vα0a\in V_{\alpha_{0}} for some α0\alpha_{0}, covering the singleton [a,a][a,a]. Furthermore, S⊂[a,b]S\subset[a,b] is bounded above by bb. By the completeness of ℝ\mathbb{R}, the supremum s≔supSs\coloneqq\sup S exists and satisfies a≤s≤ba\leq s\leq b.

  2. Step 2.
    ​

    Show that s∈Ss\in S. Since s∈[a,b]s\in[a,b], there is some open set Vα∗∈𝒰︀V_{\alpha^{*}}\in\mathcal{U} containing ss. Because Vα∗V_{\alpha^{*}} is open, there exists r>0r>0 such that (s−r,s+r)⊂Vα∗(s-r,s+r)\subset V_{\alpha^{*}}. By definition of the supremum, there exists x1∈Sx_{1}\in S with s−r<x1≤ss-r<x_{1}\leq s. Because x1∈Sx_{1}\in S, the interval [a,x1][a,x_{1}] is covered by finitely many sets Vα1,…,VαkV_{\alpha_{1}},\dots,V_{\alpha_{k}}. Adjoining Vα∗V_{\alpha^{*}} to this collection gives a finite cover of [a,s]⊂[a,x1]∪Vα∗[a,s]\subset[a,x_{1}]\cup V_{\alpha^{*}}. Thus s∈Ss\in S.

  3. Step 3.
    ​

    Show that s=bs=b. Suppose for contradiction that s<bs<b. Since (s−r,s+r)⊂Vα∗(s-r,s+r)\subset V_{\alpha^{*}}, we may select a point x2x_{2} such that s<x2<min⁡{b,s+r}s<x_{2}<\min\{b,s+r\}. Then [a,x2]⊂[a,s]∪Vα∗[a,x_{2}]\subset[a,s]\cup V_{\alpha^{*}}, meaning [a,x2][a,x_{2}] is also covered by our finite collection. Therefore x2∈Sx_{2}\in S, directly contradicting that ss is an upper bound of SS. Hence s=bs=b, and [a,b][a,b] is covered by finitely many sets from 𝒰︀\mathcal{U}.∎

Story (The emergence of compactness).

Eduard Heine introduced the property of uniform continuity in 1872, implicitly using interval-covering arguments. Émile Borel formally formulated the finite-covering theorem in his 1895 doctoral thesis for countable covers. The formulation for arbitrary open covers was established by Pierre Cousin and Henri Lebesgue. The Heine–Borel theorem transformed real analysis by demonstrating that compactness is the rigorous topological generalization of finiteness: it allows one to trade an infinite continuum of local guarantees for a single, uniform global guarantee.

Theorem 5.9.5 (Heine–Cantor).

Let f:[a,b]→ℝf\colon[a,b]\to\mathbb{R} be continuous on a compact interval [a,b][a,b]. Then ff is continuous uniformly: for every ε>0\varepsilon>0, there exists δ>0\delta>0 such that

|t−s|<δ⟹|f⁢(t)−f⁢(s)|<εfor all ⁢t,s∈[a,b].\left\lvert t-s\right\rvert<\delta\implies\left\lvert f(t)-f(s)\right\rvert<% \varepsilon\qquad\text{for all }t,s\in[a,b].
Proof.

Let ε>0\varepsilon>0. By ordinary continuity, for every x∈[a,b]x\in[a,b], there exists δx>0\delta_{x}>0 such that

|t−x|<δx⟹|f⁢(t)−f⁢(x)|<ε2.\left\lvert t-x\right\rvert<\delta_{x}\implies\left\lvert f(t)-f(x)\right% \rvert<\frac{\varepsilon}{2}.

For each x∈[a,b]x\in[a,b], construct the open interval Ix≔(x−δx2,x+δx2)I_{x}\coloneqq\bigl{(}x-\frac{\delta_{x}}{2},x+\frac{\delta_{x}}{2}\bigr{)}. The family {Ix}x∈[a,b]\{I_{x}\}_{x\in[a,b]} forms an open cover of [a,b][a,b]. By Theorem 5.9.4, there exists a finite subcover:

[a,b]⊂Ix1∪Ix2∪⋯∪IxN.[a,b]\subset I_{x_{1}}\cup I_{x_{2}}\cup\dots\cup I_{x_{N}}.

Define the uniform modulus of continuity as the minimum of the finitely many half-radii:

δ≔min⁡{δx12,δx22,…,δxN2}>0.\delta\coloneqq\min\Bigl{\{}\frac{\delta_{x_{1}}}{2},\frac{\delta_{x_{2}}}{2},% \dots,\frac{\delta_{x_{N}}}{2}\Bigr{\}}>0.

Now, let t,s∈[a,b]t,s\in[a,b] with |t−s|<δ\left\lvert t-s\right\rvert<\delta. Because the sets IxkI_{x_{k}} cover [a,b][a,b], the point tt must belong to some IxjI_{x_{j}}, which means |t−xj|<δxj2\left\lvert t-x_{j}\right\rvert<\frac{\delta_{x_{j}}}{2}. By the triangle inequality:

|s−xj|≤|s−t|+|t−xj|<δ+δxj2≤δxj2+δxj2=δxj.\left\lvert s-x_{j}\right\rvert\leq\left\lvert s-t\right\rvert+\left\lvert t-x% _{j}\right\rvert<\delta+\frac{\delta_{x_{j}}}{2}\leq\frac{\delta_{x_{j}}}{2}+% \frac{\delta_{x_{j}}}{2}=\delta_{x_{j}}.

Both tt and ss lie within δxj\delta_{x_{j}} of the center point xjx_{j}. Applying the triangle inequality to ff:

|f⁢(t)−f⁢(s)|≤|f⁢(t)−f⁢(xj)|+|f⁢(xj)−f⁢(s)|<ε2+ε2=ε.∎\left\lvert f(t)-f(s)\right\rvert\leq\left\lvert f(t)-f(x_{j})\right\rvert+% \left\lvert f(x_{j})-f(s)\right\rvert<\frac{\varepsilon}{2}+\frac{\varepsilon}% {2}=\varepsilon.\qed
Moral (From local to global).

It is the intuition of compactness that allows us to pass from the microscopic, local continuity of a function to its macroscopic, global control.

5.9.3 Convergence via Uniform Continuity

With Theorem 5.9.5 established, we answer the central foundational question: can the definite integral ∫abf⁢(t)⁢dt\int_{a}^{b}f(t)\,\mathrm{d}t be determined to arbitrary precision solely by refining the partition?

Theorem 5.9.6 (Integrability of continuous functions).

Let f:[a,b]→ℝf\colon[a,b]\to\mathbb{R} be continuous on the compact interval [a,b][a,b]. Then for every precision tolerance ε>0\varepsilon>0, there exists a partition 𝒫︀\mathcal{P} of [a,b][a,b] such that the discrepancy between the upper and lower sums satisfies

U⁢(f,𝒫︀)−L⁢(f,𝒫︀)<ε⁢(b−a).U(f,\mathcal{P})-L(f,\mathcal{P})<\varepsilon\,(b-a).

Consequently, the lower and upper Darboux approximations squeeze the value of ∫abf⁢(t)⁢dt\int_{a}^{b}f(t)\,\mathrm{d}t to within an error tolerance strictly bounded by ε⁢(b−a)\varepsilon\,(b-a).

Proof.

Let ε>0\varepsilon>0. By the Heine–Cantor theorem (Theorem 5.9.5), ff is uniformly continuous on [a,b][a,b]. Thus, there exists δ>0\delta>0 such that

|t−s|<δ⟹|f⁢(t)−f⁢(s)|<εfor all ⁢t,s∈[a,b].\left\lvert t-s\right\rvert<\delta\implies\left\lvert f(t)-f(s)\right\rvert<% \varepsilon\qquad\text{for all }t,s\in[a,b].

Choose a partition 𝒫︀={a0,a1,…,an}\mathcal{P}=\{a_{0},a_{1},\dots,a_{n}\} of [a,b][a,b] whose mesh size satisfies ∥𝒫︀∥=max1≤i≤n⁡(ai−ai−1)<δ\left\lVert\mathcal{P}\right\rVert=\max_{1\leq i\leq n}(a_{i}-a_{i-1})<\delta.

On each subinterval [ai−1,ai][a_{i-1},a_{i}], the Extreme Value Theorem guarantees that ff attains its minimum and maximum at points tmin,tmax∈[ai−1,ai]t_{\min},t_{\max}\in[a_{i-1},a_{i}]. Since |tmax−tmin|≤ai−ai−1<δ\left\lvert t_{\max}-t_{\min}\right\rvert\leq a_{i}-a_{i-1}<\delta, uniform continuity ensures that

Mi−mi=f⁢(tmax)−f⁢(tmin)<ε.M_{i}-m_{i}=f(t_{\max})-f(t_{\min})<\varepsilon.

We now evaluate the total discrepancy between the upper and lower Darboux sums:

U⁢(f,𝒫︀)−L⁢(f,𝒫︀)=∑i=1nMi⁢(ai−ai−1)−∑i=1nmi⁢(ai−ai−1)=∑i=1n(Mi−mi)⁢(ai−ai−1)<∑i=1nε⁢(ai−ai−1)=ε⁢∑i=1n(ai−ai−1)=ε⁢(b−a).\begin{split}U(f,\mathcal{P})-L(f,\mathcal{P})&{}=\sum_{i=1}^{n}M_{i}(a_{i}-a_% {i-1})-\sum_{i=1}^{n}m_{i}(a_{i}-a_{i-1})\\ &{}=\sum_{i=1}^{n}(M_{i}-m_{i})(a_{i}-a_{i-1})\\ &{}<\sum_{i=1}^{n}\varepsilon(a_{i}-a_{i-1})\\ &{}=\varepsilon\sum_{i=1}^{n}(a_{i}-a_{i-1})\\ &{}=\varepsilon\,(b-a).\end{split}

Because b−ab-a is a fixed positive constant, choosing ε=ε0b−a\varepsilon=\frac{\varepsilon_{0}}{b-a} makes U⁢(f,𝒫︀)−L⁢(f,𝒫︀)<ε0U(f,\mathcal{P})-L(f,\mathcal{P})<\varepsilon_{0} arbitrarily small (e.g., smaller than 10−310^{-3} or 10−610^{-6}), ensuring that the upper and lower Darboux bounds converge uniquely to ∫abf⁢(t)⁢dt\int_{a}^{b}f(t)\,\mathrm{d}t.∎

Moral.

Uniform continuity levels the playing field: it ensures that no subinterval fluctuates faster than any other. Because the total width of all subintervals telescopes strictly to b−ab-a, bounding the local oscillation by ε\varepsilon automatically bounds the global error by ε⁢(b−a)\varepsilon\,(b-a).

Exercise 5.9.7 (Classes of integrable functions).

Prove that if a function f:[a,b]→ℝf\colon[a,b]\to\mathbb{R} is bounded on [a,b][a,b] and possesses at most finitely many points of discontinuity, then ff is Riemann integrable on [a,b][a,b].

Hint: Let M=sup[a,b]|f⁢(t)|M=\sup_{[a,b]}\left\lvert f(t)\right\rvert. If ff has a single discontinuity at c∈(a,b)c\in(a,b), isolate cc in a tiny subinterval [c−η,c+η][c-\eta,c+\eta] of total width 2⁢η2\eta such that its contribution to U⁢(f,𝒫︀)−L⁢(f,𝒫︀)U(f,\mathcal{P})-L(f,\mathcal{P}) is at most 2⁢M⁢(2⁢η)<ε22M(2\eta)<\frac{\varepsilon}{2}. On the remaining compact sets [a,c−η][a,c-\eta] and [c+η,b][c+\eta,b], the function is continuous; apply Theorem 5.9.6 to control their contributions by ε2\frac{\varepsilon}{2}.