Altanis

0.4Deficiencies of the Riemann Integral

Updated 2 Sep 2026Chapter (PDF)

This is not a section in Folland and content is drawn from a variety of places, such as Chapters 1-2 of MIRA.

We will discuss four problems with the Riemann integral.

  1. Riemann integration does not handle unbounded functions.

  2. Riemann integration does not handle functions with many discontinuities.

  3. Riemann integration does not work with limits of sequences of functions.

  4. The Riemann integral doesn't form a complete space when considering spaces of functions.

[0.4.1]Example(Riemann Integration Against Unbounded Functions)#

Consider the function f:[0,1]→Rf: [0, 1] \to \bR defined by

f(x)={1/x0<x≤1,0x=0.f(x) = \begin{cases} 1/\sqrt{x} & 0 < x \le 1, \\ 0 & x = 0. \end{cases}

For any partition P=x0,…,xnP = x_0, \dots, x_n of [0,1][0, 1], note that sup⁡[x0,x1]f=∞\sup_{[x_0, x_1]} f = \infty, and so U(f,[a,b])=∞U(f, [a, b]) = \infty (thus ∫01f(x)  dx\int_0^1 f(x) \, \dd x is undefined). But note

lim⁡a→0+∫a1f(x)  dx=lim⁡a→0+[2x]x=a1=lim⁡a→0+(2−2a)=2,\lim_{a \to 0^+} \int_a^1 f(x) \, \dd x = \lim_{a \to 0^+} [2\sqrt{x}]_{x = a}^1 = \lim_{a \to 0^+} (2 - 2\sqrt{a}) = 2,

so we'd desire the integral to equal 22. This function is well-behaved and has the classic notion of “area under the curve,” so it makes no sense for the integral to diverge.

[0.4.2]Example(Riemann Integration Against Discontinuous Functions)#

Consider the function f:[0,1]→Rf: [0, 1] \to \bR defined by f(x)=1Qf(x) = 1_\bQ. For any closed interval [a,b]⊆[0,1][a, b] \subseteq [0, 1], note inf⁡[a,b]f=0\inf_{[a, b]} f = 0 and sup⁡[a,b]f=1\sup_{[a, b]} f = 1, since any interval in R\bR contains an irrational and rational number. Thus L(f,[a,b])=0L(f, [a, b]) = 0 and U(f,[a,b])=1U(f, [a, b]) = 1 for all partitions, meaning ff is not Riemann integrable. But note that Q\bQ is countable and [0,1]∖Q[0, 1] \setminus \bQ is uncountable, so ff is zero far more often than it is 11. With this in mind, one might want to define the integral of ff to be 00, which is not possible with the Riemann integral.

[0.4.3]Example(Riemann Integration Against Sequences of Functions)#

Let r1,r2,…r_1, r_2, \dots be an injective sequence Z+→Q\bZ_+ \to \bQ that contains all rational numbers in [0,1][0, 1]. For k∈Z+k \in \bZ_+, define fk:[0,1]→Rf_k: [0, 1] \to \bR by

fk(x)={1if x∈{r1,…,rk},0otherwise.f_k(x) = \begin{cases} 1 & \text{if } x \in \{r_1, \dots, r_k\}, \\ 0 & \text{otherwise.} \end{cases}

Recall that a function is Riemann integrable if its set of discontinuities is, at most, measure zero. The set of discontinuities for each fkf_k is finite, and so this function is Riemann integrable. Indeed, ∫01fk=0\int_0^1 f_k = 0 for each k∈Z+k \in \bZ_+. But note that fk→ff_k \to f pointwise, with f=1Qf = 1_\bQ, which we have established is not Riemann integrable. Thus

lim⁡n→∞∫01fn(x)  dx≠∫01lim⁡n→∞fn(x)  dx.\lim_{n \to \infty} \int_0^1 f_n(x) \, \dd x\ne \int_0^1 \lim_{n \to \infty} f_n(x) \, \dd x.
[0.4.4]Example(Space of Continuous Functions Together with Riemann Integral Norm)#

Consider the space of continuous functions f:[0,1]→Rf: [0, 1] \to \bR, denoted C([0,1])C([0, 1]), together with the norm

∥f−g∥1=∫01∣f(x)−g(x)∣  dx.\norm{f - g}_1 = \int_0^1 |f(x) - g(x)| \, \dd x.

Ideally, we want this space to be complete with respect to the norm—we show this is not the case. Actually, we don't show it. I'm tired.

[0.4.5]Theorem(Interchanging Limit and Integral with Riemann Integration)#

Suppose {fk}\{f_k\} is a sequence of Riemann integrable functions fk:[a,b]→Rf_k: [a, b] \to \bR such that fk→ff_k \to f pointwise. If ff is Riemann integrable on [a,b][a, b], then

∫abf(x)  dx=lim⁡n→∞∫abfk(x)  dx.\int_a^b f(x) \, \dd x = \lim_{n \to \infty} \int_a^b f_k(x) \, \dd x.

This seems like it'd resolve problems the Riemann integral has with sequences of functions, but this is also not true. First of all, the proof for this theorem is unwieldy, and it immediately suggests something about our theory is not up to par. Considering the theorem further, we need that the limit function is Riemann integrable, which is undesirable. After all, we would want a sequence of Riemann integrable functions to converge pointwise to a Riemann integrable function, right? This mirrors the fact that a sequence of continuous functions need not converge pointwise to a continuous function. To fix this, we made a stronger notion of convergence (uniform convergence) that forced the limit function to be continuous.

It is true that we can repair this theorem by using uniform convergence. Indeed, if fn→ff_n \to f uniformly, then

lim⁡n→∞∫abfn=∫ablim⁡n→∞fn.\lim_{n \to \infty} \int_a^b f_n = \int_a^b \lim_{n \to \infty} f_n.

Uniform convergence is quite a strong restriction to place on a sequence of functions and is undesirable. All the problems posed by trying to swap limit and integral, together with the aforementioned problems, motivate us to throw out Riemann integration and discover a new, better integration theory. This is the purpose of measure theory.