Altanis

Integration of Complex Functions

Updated 26 Oct 2026Chapter (PDF)

Once again, we fix the measure space (X,M,μ)(X, \M, \mu). Recall that any measurable, real-valued function admits the sign decomposition f=f+−f−f = f^+ - f^{-}, where the summands are both nonnegative. Note that ∫∣f∣<∞\int |f| < \infty if and only if ∫f+\int f^+ and ∫f−\int f^- are both finite. We use this to develop a notion of integration for general measurable, real-valued functions.

[2.2.17]Definition(Integral of Measurable Functions)#

Suppose f:X→[−∞,∞]f: X \to [-\infty, \infty] is a measurable, (extended) real-valued function. If one of f+f^+ and f−f^- is finite, then we define the integral of ff by

∫f  dμ=∫f+  dμ−∫f−  dμ.\int f \, \dd \mu = \int f^+ \, \dd \mu - \int f^- \, \dd \mu.

We say ff is integrable if ∫∣f∣<∞\int |f| < \infty.

Now suppose f:X→C^f: X \to \hat{\bC} is a measure, (extended) complex-valued function. Again, we say ff is integrable if ∫∣f∣<∞\int |f| < \infty. Moreover, since ∣f∣≤∣ℜ(f)∣+∣ℑ(f)∣≤2∣f∣|f| \le |\Re(f)| + |\Im(f)| \le 2|f|, ff is integrable if and only if ℜ(f)\Re(f) and ℑ(f)\Im(f) are both integrable. Thus, we define

∫f=∫ℜ(f)+i∫ℑ(f).\int f = \int \Re(f) + i \int \Im(f).

Note that, in this definition, ff takes values in ±∞\pm \infty. This will soon prove to be inconsequential since we will only really consider integrable functions, and a function that takes ±∞\pm \infty on a set of nonzero measure is not integrable (if it takes ±∞\pm \infty on a set of measure zero, we will still be fine, as we will show soon that measure zero sets are invisible to the integral.)

We will prove a few theorems about integration that will prove to be useful.

[2.2.18]Theorem(Triangle Inequality)#

For any integrable ff, note ∣∫f∣≤∫∣f∣\abs{\int f} \le \int \abs{f}.

Proof.

If ff is real-valued, then the theorem is trivial.

∣∫f∣=∣∫f+−∫f−∣≤∣∫f+∣+∣∫f−∣=∫f++∫f−=∫f.\abs{\int f} = \abs{\int f^+ - \int f^-} \le \abs{\int f^+} + \abs{\int f^-} = \int f^+ + \int f^- = \int f.

If ff is complex-valued, take α=sgn(∫f)\alpha = \sgn(\int f), recalling that sgn(z)=z/∣z∣\sgn(z) = z/|z|. Then note ∣∫f∣=α∫f=∫αf\abs{\int f} = \alpha \int f = \int \alpha f. In particular, ∫αf\int \alpha f is real, so

∣∫f∣=ℜ(∫αf)=∫ℜ(αf)≤∫∣ℜ(αf)∣≤∫∣αf∣=∫∣f∣.\abs{\int f} = \Re\left( \int \alpha f \right) = \int \Re(\alpha f) \le \int \abs{\Re(\alpha f)} \le \int \abs{\alpha f} = \int \abs{f}.
[2.2.19]Theorem(Integral of Functions Equivalent Almost Everywhere)#

If f,gf, g are integrable functions, then, for every E∈ME \in \M, we have that

∫Ef  dμ=∫Eg  dμ  ⟺  ∫∣f−g∣  dμ=0  ⟺  f=g almost everywhere.\int_E f \, \dd \mu = \int_E g \, \dd \mu \iff \int |f - g| \, \dd \mu = 0 \iff f = g \text{ almost everywhere.}
Proof.

We have established that the second equivalence is true for nonnegative, integrable functions, and it is straightforward to conclude it for general functions. Thus we prove the first equivalence.

(⟹)(\Longrightarrow): Suppose ∫Ef  dμ=∫Eg  dμ\int_E f \, \dd\mu = \int_E g \, \dd\mu for every E∈ME \in \M. Let h=f−g=u+ivh = f-g = u+iv, where u=ℜ(h)u = \Re(h) and v=ℑ(h)v = \Im(h). By linearity, ∫Eh  dμ=0\int_E h \, \dd\mu = 0 for every E∈ME \in \M, and hence ∫Eu  dμ=∫Ev  dμ=0\int_E u \, \dd\mu = \int_E v \, \dd\mu = 0.

In particular, taking E={u>0}E = \{u > 0\} and E={u<0}E = \{u < 0\} gives ∫u+  dμ=∫u−  dμ=0\int u^+ \, \dd\mu = \int u^- \, \dd\mu = 0, so ∫∣u∣  dμ=0\int |u| \, \dd\mu = 0. Analogously, ∫∣v∣  dμ=0\int |v| \, \dd\mu = 0. Since ∣h∣≤∣u∣+∣v∣|h| \le |u| + |v|, we have

∫∣f−g∣  dμ=∫∣h∣  dμ≤∫∣u∣  dμ+∫∣v∣  dμ=0.\int |f-g| \, \dd\mu = \int |h| \, \dd\mu \le \int |u| \, \dd\mu + \int |v| \, \dd\mu = 0.

(⟸)(\Longleftarrow): Suppose ∫∣f−g∣  dμ=0\int |f-g| \, \dd\mu = 0. For every E∈ME \in \M, by linearity and the integral triangle inequality,

∣∫Ef  dμ−∫Eg  dμ∣=∣∫E(f−g)  dμ∣≤∫E∣f−g∣  dμ≤∫∣f−g∣  dμ=0.\left|\int_E f \, \dd\mu - \int_E g \, \dd\mu\right| = \left|\int_E (f-g) \, \dd\mu\right| \le \int_E |f-g| \, \dd\mu \le \int |f-g| \, \dd\mu = 0.

Thus ∫Ef  dμ=∫Eg  dμ\int_E f \, \dd\mu = \int_E g \, \dd\mu for every E∈ME \in \M.

From this proposition, note that integrals truly are invisible to differences of functions on sets of measure zero. The theorem establishes that if two functions are equal a.e., then their integral is equivalent on any measurable set, and their distance is zero. We say distance provisionally here, but we will establish that the space of all integrable functions takes the norm ∥f∥1=∫∣f∣\norm{f}_1 = \int |f|, and so the distance is zero with respect to ∥⋅∥1\norm{\cdot}_1.

Returning to the main point, we note that, for the purposes of integration, the value of a function on a set of measure zero is immaterial to the integral. In this vein, we can go so far as to say we can integrate functions defined only on a conull set by informally letting the function take dummy values on the complement. In particular, we can now say that an integrable function is real-valued or complex-valued without caring for it taking values at ±∞\pm \infty: if it takes the value ±∞\pm \infty, then it must be on a set of measure zero (otherwise it wouldn't be integrable), and so we can ignore it.

We will define the space of integrable functions in a way that ignores how functions behave on sets of measure zero.

[2.2.20]Definition(Space of Integrable Functions)#

Temporarily, let LL be the space of all complex-valued, integrable functions.

L={f:X→C:∫∣f∣<∞}.L = \left\{ f: X \to \bC : \int |f| < \infty \right\}.

Define ∼\sim on LL to be such that f∼gf \sim g if and only if f=gf = g almost everywhere. It is quick to verify this is is an equivalence relation. We define the space of integrable functions, denoted as L1L^1 (or L1(μ)L^1(\mu), or L1(X,μ)L^1(X, \mu)), by

L1(X,μ)=L/∼.L^1(X, \mu) = L/{\sim}.

We will say the canonical representative for any [f]∼∈L1[f]_\sim \in L^1 is the function that is zero on all null sets. From now on, when we say f∈L1f \in L^1, we take ff to be the canonical representative of its coset. Scalar operations like addition and multiplication are done by moving to the cosets, computing the result, then taking its canonical representative.

[2.2.21]Theorem(Space of Integrable Functions is a Vector Space)#

The space L1L^1 forms a vector space over C\bC. The map ∫:L1→C\int: L^1 \to \bC is a linear functional.

We omit the proof, as it is trivial.

[2.2.22]Definition(L1L^1 Norm, L1L^1 Metric)#

We may define the norm of L1L^1 by

∥f∥1=∫∣f∣  dμ.\norm{f}_1 = \int |f| \, \dd \mu.

With this, L1L^1 also has the standard metric

d(f,g)=∥f−g∥1=∫∣f−g∣  dμ.d(f, g) = \norm{f - g}_1 = \int |f - g| \, \dd \mu.

It is quick to check that this establishes a norm. Indeed, it is homogeneous and satisfies the triangle inequality. Positive-definiteness is quick to check too. Of course, if f≥gf \ge g, then ∥f∥≥∥g∥\norm{f} \ge \norm{g} by monotonicity of the integral. But positive-definiteness also entails that ∥f∥=0\norm{f} = 0 if and only if f=0f = 0, which is true on L1L^1. But note that if we didn't make functions in L1L^1 equivalent if they agreed almost everywhere, then this would fail (indeed, if ff took 11 on null sets, it is still possible that ∥f∥=0\norm{f} = 0). Since ∥⋅∥1\norm{\cdot}_1 is a norm, the metric it induces is valid.

Note that the norm induces a topology, and so convergence in L1L^1 is well defined. We say that fn→ff_n \to f in L1L^1 if ∥fn−f∥→0\norm{f_n - f} \to 0, or otherwise if ∫∣fn−f∣→0\int \abs{f_n - f} \to 0.

[2.2.23]Definition(Set-Theoretic Support)#

Suppose f:X→Cf: X \to \bC is a function. Then the support of the function ff is given by

supp(f)=f−1({0}c)={x∈X:f(x)≠0}.\supp(f) = f^{-1}(\{0\}^c) = \{ x \in X: f(x) \ne 0 \}.

The support of ff initially refers to the set of points where ff is nonzero. If XX is a topological space, we define supp(f)=f−1({0}c)‾\supp(f) = \bar{f^{-1}(\{0\}^c)}. Equivalently, x∈supp(f)x \in \supp(f) if every neighborhood of xx contains some point yy such that f(y)≠0f(y) \ne 0. Thus, taking the closure allows the support to include points where ff vanishes, provided that ff is nonzero arbitrarily close to those points.

[2.2.24]Theorem(Support of Integrable Function is σ\sigma-Finite)#

If f∈L1f \in L^1, then supp(f)\supp(f) is σ\sigma-finite.

Proof.

Since ff is integrable, ∣f∣|f| is nonnegative and integrable. For each n∈Z+n \in \bZ_+, let En={x∈X:∣f(x)∣>1/n}E_n = \{x \in X: |f(x)| > 1/n\}. Then

1nμ(En)≤∫En∣f∣  dμ≤∫∣f∣  dμ<∞,\frac{1}{n}\mu(E_n) \le \int_{E_n} |f| \, \dd\mu \le \int |f| \, \dd\mu < \infty,

so μ(En)<∞\mu(E_n) < \infty for every n∈Z+n \in \bZ_+. Moreover, ⋃n∈Z+En=supp(f)\bigcup_{n \in \bZ_+} E_n = \supp(f), and hence supp(f)\supp(f) is σ\sigma-finite.

We will now prove an important convergence theorem for integrals, the Dominated Convergence Theorem.

[2.2.25]Theorem(Dominated Convergence Theorem)#

Suppose {fn}n=1∞\{f_n\}_{n = 1}^\infty is a sequence in L1L^1 so that fn→ff_n \to f. Suppose there is some nonnegative g∈L1g \in L^1 so that ∣fn∣≤g|f_n| \le g for each n∈Z+n \in \bZ_+. Then f∈L1f \in L^1, and

∫f  dμ=lim⁡n→∞∫fn  dμ.\int f \, \dd \mu = \lim_{n \to \infty} \int f_n \, \dd \mu.
Proof.

First, we show f∈L1f \in L^1. Since each fnf_n is measurable, note that lim⁡(fn)=f\lim(f_n) = f is measurable as well. Moreover, with ∣fk∣≤g|f_k| \le g for each k∈Z+k \in \bZ_+ together with the absolute value being continuous, we have that ∣f∣≤g\abs{f} \le g. Thus ∫∣f∣≤∫g≤∫∣g∣<∞\int \abs{f} \le \int g \le \int \abs{g} < \infty, and so f∈L1f \in L^1 as desired.

For simplicity, let us first take ff and each fkf_k to be real-valued. Since ∣fk∣≤g\abs{f_k} \le g, we have that −g≤fk≤g-g \le f_k \le g for each kk. From this, we deduce that g+fk≥0g + f_k \ge 0 and g−fk≥0g - f_k \ge 0 for each kk. Since these are nonnegative, measurable functions, Fatou's lemma kicks in.

∫g+∫f=∫(g+f)≤lim inf⁡n→∞∫(g+fn)=∫g+lim inf⁡n→∞∫fn,\int g + \int f = \int (g + f) \le \liminf_{n \to \infty} \int (g + f_n) = \int g + \liminf_{n \to \infty} \int f_n,
∫g−∫f=∫(g−f)≤lim inf⁡n→∞∫(g−fn)=∫g+lim inf⁡n→∞(−∫fn)=∫g−lim sup⁡n→∞∫fn.\int g - \int f = \int (g - f) \le \liminf_{n \to \infty} \int (g - f_n) = \int g + \liminf_{n \to \infty} \left(-\int f_n\right) = \int g - \limsup_{n \to \infty} \int f_n.

Simplifying, we yield

lim sup⁡k→∞∫fk≤∫f≤lim inf⁡k→∞∫fk.\limsup_{k \to \infty} \int f_k \le \int f \le \liminf_{k \to \infty} \int f_k.

Thus lim inf⁡∫fk=lim sup⁡∫fk\liminf \int f_k = \limsup \int f_k, and so ∫f=lim⁡∫fk\int f = \lim \int f_k as desired. The extension to complex-valued functions is immediate by realizing ff and each fkf_k as a linear combination of real-valued functions.

As per usual, we can weaken the hypothesis to fn→ff_n \to f a.e., since the integral is unaffected by changes on null sets.

We have now covered the three major theorems for convergence of integrals: the Monotone Convergence Theorem, Fatou's Lemma, and now the Dominated Convergence Theorem. Each, when viewed through the lens of (R,L,μ)(\bR, \mathcal{L}, \mu), have obvious geometric realizations. MCT tells us that if a sequence of functions fnf_n approaches ff monotonically and from below, the area of the “undergraph” of each fnf_n becomes arbitrarily close to the area of the “undergraph” of ff. Fatou tells us that for any sequence of functions, some area can be lost by escaping to infinity, but no area can be gained. Finally, DCT tells us that if a sequence of integrable functions is bounded above by an integrable function, then its limit is both integrable and equal to the integral of the limit.

A powerful theorem about interchanging sum and integral follows from DCT.

[2.2.26]Theorem#

Suppose {fk}k=1∞\{f_k\}_{k = 1}^\infty is a sequence of functions in L1L^1 so that ∑k=1∞∫∣fk∣<∞\sum_{k = 1}^\infty \int |f_k| < \infty. Then ∑k=1∞fk\sum_{k = 1}^\infty f_k converges to a function in L1L^1 almost everywhere. Moreover, we have that

∫∑k=1∞fk=∑k=1∞∫fk.\int \sum_{k = 1}^\infty f_k = \sum_{k = 1}^\infty \int f_k.
Proof.

We will use DCT to prove this theorem. To start, define g=∑k=1∞∣fk∣g = \sum_{k = 1}^\infty |f_k|. Recall that arbitrary sums of nonnegative functions can be swapped with the integral, and so

∫∣g∣=∫∑k=1∞∣fk∣=∑k=1∞∫∣fk∣<∞,\int |g| = \int \sum_{k = 1}^\infty |f_k| = \sum_{k = 1}^\infty \int |f_k| < \infty,

with the last inequality by hypothesis. Thus g∈L1g \in L^1, and as consequence, gg is finite on a conull set EE. Thus gg converges on the conull set EE, and since absolute convergence implies convergence, we have that S=∑k=1∞fkS = \sum_{k = 1}^\infty f_k converges on EE. For each n∈Z+n \in \bZ_+, define Sn=∑k=1nfkS_n = \sum_{k = 1}^n f_k. Since L1L^1 is a vector space, finite sums of L1L^1 functions are L1L^1, and so each Sn∈L1S_n \in L^1. Moreover, note Sn→SS_n \to S almost everywhere. Finally, note

∣Sn∣=∣∑k=1nfk∣≤∑k=1n∣fk∣≤g,\abs{S_n} = \abs{\sum_{k = 1}^n f_k} \le \sum_{k = 1}^n \abs{f_k} \le g,

and so gg dominates SnS_n. Thus DCT applies, and so

∫∑k=1∞fk=∫lim⁡n→∞∑k=1nfk=DCTlim⁡n→∞∫∑k=1nfk=lim⁡n→∞∑k=1n∫fk=∑k=1∞∫fk.\int \sum_{k = 1}^\infty f_k = \int \lim_{n \to \infty} \sum_{k = 1}^n f_k \stackrel{\text{DCT}}{=} \lim_{n \to \infty} \int \sum_{k = 1}^n f_k = \lim_{n \to \infty} \sum_{k = 1}^n \int f_k = \sum_{k = 1}^\infty \int f_k.

Finally, DCT implies that the limit of the functions is L1L^1, and so S∈L1S \in L^1 as desired.

[2.2.27]Theorem(Density of Simple Functions in L1L^1)#

Fix ε>0\epsilon > 0, and suppose f∈L1f \in L^1. Then there exists a simple function φ\phi so that

∫∣φ−f∣  dμ<ε.\int \abs{\phi - f} \, \dd \mu < \epsilon.

Equivalently, the set of all integrable simple functions is dense in L1L^1.

Proof.

Since f∈L1f \in L^1, ff is measurable, so there is a sequence of complex-valued, simple functions {φk}k=1∞\{\phi_k\}_{k = 1}^\infty so that 0≤∣φ1∣≤∣φ2∣≤⋯≤∣f∣0 \le |\phi_1| \le |\phi_2| \le \cdots \le |f| and φk→f\phi_k \to f. Since each φk≤f\phi_k \le f, note each φk∈L1\phi_k \in L^1. Thus ∣φk−f∣∈L1|\phi_k - f| \in L^1, since f∈L1f \in L^1, L1L^1 is a vector space, and f∈L1f \in L^1 if and only if ∣f∣∈L1|f| \in L^1. Moreover, note that ∣φk−f∣≤2∣f∣|\phi_k - f| \le 2|f|. Thus, by DCT, we have that

lim⁡n→∞∫∣φn−f∣=∫lim⁡n→∞∣φn−f∣=∫∣f−f∣=0.\lim_{n \to \infty} \int \abs{\phi_n - f} = \int \lim_{n \to \infty} \abs{\phi_n - f} = \int \abs{f - f} = 0.

As such, we can choose NN large enough so that ∫∣φN−f∣<ε\int \abs{\phi_N - f} < \epsilon, completing the proof.

Note the proof of this statement can also be achieved by MCT, namely splitting ff into its real and imaginary parts, then splitting each of those into their positive and negative parts and approximating them from below by nonnegative simple functions.

There are two perspectives on this theorem. One is that the set of all integrable simple functions is dense in L1L^1. The other perspective is that, given any f∈L1f \in L^1 and some ε>0\epsilon > 0, there is some integrable simple function φ\phi so that ∫∣f−φ∣<ε\int \abs{f - \phi} < \epsilon. In other words, we can choose a simple function to be arbitrarily close to ff.

This theorem can be strengthened when we consider a Lebesgue-Stieltjes measure on R\bR, since Lebesgue-Stieltjes measures have remarkable regularity properties. Considering L1(R,μ)L^1(\bR, \mu), where μ\mu is a Lebesgue-Stieltjes measure, it turns out that this simple function can be chosen in such a way that it is equal to a linear combination of indicators on bounded open intervals. This is powerful: instead of being handed any simple function whose level sets may be subject to the monstrosities of the Borel hierarchy (or worse), we can choose one whose constituent sets are extremely tame in comparison.

From the density perspective, μ\mu being a Lebesgue-Stieltjes measure tells us that the set of integrable, simple functions expressible as linear combinations of indicators on bounded open intervals is dense in L1(R,μ)L^1(\bR, \mu). In other words, μ\mu being Lebesgue-Stieltjes drastically reduces the size of the subset of simple functions needed to be dense in the Lebesgue space.

[2.2.28]Theorem#

Fix ε>0\epsilon > 0, and suppose f∈L1(R,μ)f \in L^1(\bR, \mu), where μ\mu is a Lebesgue-Stieltjes measure. Then there is some integrable simple function ψ\psi, expressible as a linear combination of indicators on bounded open intervals, such that

∫∣f−ψ∣<ε.\int \abs{f - \psi} < \epsilon.

Equivalently, the set of all integrable, simple functions formed by linear combinations of indicators on bounded open intervals form a dense subset of L1(R,μ)L^1(\bR, \mu).

Proof.

Fix ε>0\epsilon > 0. As per the density of simple functions in L1L^1, there is an integrable simple function φ=∑k=1mak1Ek\phi = \sum_{k = 1}^m a_k 1_{E_k} so that ∫∣f−φ∣<ε/2\int \abs{f - \phi} < \epsilon/2, where the EkE_k are disjoint and the aka_k are nonzero. Since φ\phi is integrable, we have that

∣ak∣μ(Ek)=∫Ek∣φ∣≤∫∣φ∣<∞,\abs{a_k} \mu(E_k) = \int_{E_k} \abs{\phi} \le \int \abs{\phi} < \infty,

and so μ(Ek)<∞\mu(E_k) < \infty for each kk.

Since μ\mu is a Lebesgue-Stieltjes measure, each set EkE_k can be approximated in measure by a finite union of bounded open intervals. In particular, for each kk, let AkA_k be a finite union of bounded open intervals so that μ(Ek△Ak)<ε/(2m∣ak∣)\mu(E_k \symdiff A_k) < \epsilon/(2m \abs{a_k}). Let ψ=∑k=1mak1Ak\psi = \sum_{k = 1}^m a_k 1_{A_k}. Then note that

∫∣f−ψ∣=∫∣f−φ+φ−ψ∣≤∫∣f−φ∣+∫∣φ−ψ∣<ε/2+∫∣φ−ψ∣.\int \abs{f - \psi} = \int \abs{f - \phi + \phi - \psi} \le \int \abs{f - \phi} + \int \abs{\phi - \psi} < \epsilon/2 + \int \abs{\phi - \psi}.

We demonstrate that the second summand is less than ε/2\epsilon/2. Indeed, note that

∫∣φ−ψ∣=∫∣∑k=1mak(1Ek−1Ak)∣≤∫∑k=1m∣ak(1Ek−1Ak)∣=∑k=1m∣ak∣∫∣1Ek−1Ak∣=∑k=1m∣ak∣μ(Ek△Ak)<∑k=1m∣ak∣ε2m∣ak∣=ε/2.\begin{align*} \int \abs{\phi - \psi} &= \int \abs{\sum_{k = 1}^m a_k(1_{E_k} - 1_{A_k})} \\ &\le \int \sum_{k = 1}^m \abs{a_k(1_{E_k} - 1_{A_k})} \\ &= \sum_{k = 1}^m \abs{a_k} \int \abs{1_{E_k} - 1_{A_k}} \\ &= \sum_{k = 1}^m \abs{a_k} \mu(E_k \symdiff A_k) \\ &< \sum_{k = 1}^m \abs{a_k} \frac{\epsilon}{2m \abs{a_k}} = \epsilon/2. \end{align*}

Thus ∫∣f−ψ∣<ε\int \abs{f - \psi} < \epsilon. Note that ψ\psi can be rewritten to be a linear combinations of indicators on bounded open intervals instead of finite unions of bounded open intervals, since we can just split the union, completing the proof.

Most of the steps are straightforward, but the most important step was realizing that ∣1Ek−1Ak∣\abs{1_{E_k} - 1_{A_k}} is 11 for the elements in EkE_k not in AkA_k and vice versa, and 00 otherwise. Thus the expression boils down to the integral of 11 on Ek△AkE_k \symdiff A_k, and so it resolves to μ(Ek△Ak)\mu(E_k \symdiff A_k), which we are able to control since μ\mu is a Lebesgue-Stieltjes measure.

The last statement follows from this proof and the fact that all simple functions defined on finitely many bounded open intervals are integrable and thus in L1L^1.

Note the statement of this theorem is equivalent to saying every f∈L1(R,μ)f \in L^1(\bR, \mu) is the limit, in the L1L^1 metric, of some sequence of integrable, simple functions with nice constituent sets. In particular, if ψn→f\psi_n \to f in L1L^1, then

∣∫ψn−∫f∣≤∫∣ψn−f∣→0,\abs{\int \psi_n - \int f} \le \int \abs{\psi_n - f} \to 0,

and so the integrals converge as well.

Being able to reduce the number of simple functions needed to make a dense subset of L1(R,μ)L^1(\bR, \mu) is useful. It turns out that this is the first step in showing L1(R,μ)L^1(\bR, \mu) is separable.

[2.2.29]Definition(Space of Continuous Functions, Space of Continuous Functions with Compact Support)#

Let XX be a topological space. Then the space of continuous functions, denoted C(X)C(X), is the set of all continuous functions f:X→Cf: X \to \bC.

C(X)={f:X→C:f is continuous}.C(X) = \{f: X \to \bC : f \text{ is continuous} \}.

Moreover, the space of compactly supported continuous functions, denoted Cc(X)C_c(X), is the set of all continuous functions f:X→Cf: X \to \bC whose support is compact.

Cc(X)={f∈C(X):supp(f) is compact}.C_c(X) = \{f \in C(X): \supp(f) \text{ is compact}\}.

If X=RX = \bR, then note that f:R→Cf: \bR \to \bC having compact support amounts to f−1({0}c)‾\bar{f^{-1}(\{0\}^c)} being compact. But it is already closed, so by Heine-Borel, we need supp(f)\supp(f) to only be bounded. That is, f∈Cc(R)f \in C_c(\bR) is equivalent to ff being continuous and supported on a bounded set.

[2.2.30]Theorem#

Fix ε>0\epsilon > 0, and suppose f∈L1(R,μ)f \in L^1(\bR, \mu), where μ\mu is a Lebesgue-Stieltjes measure. Then there is g∈Cc(R)g \in C_c(\bR) so that

∫∣f−g∣<ε.\int \abs{f - g} < \epsilon.

Moreover, Cc(R)⊆L1(R,μ)C_c(\bR) \subseteq L^1(\bR, \mu), and so Cc(R)C_c(\bR) forms a dense subset of L1(R,μ)L^1(\bR, \mu).

Proof.

By the previous result, recall there is some φ=∑k=1mck1(ak,bk)\phi = \sum_{k = 1}^m c_k 1_{(a_k, b_k)} in L1(R,μ)L^1(\bR, \mu) so that ∫∣f−φ∣<ε/2\int \abs{f - \phi} < \epsilon/2. Let λ=max⁡{ε/(2m∣ck∣)}k=1m\lambda = \max\{\epsilon/(2m|c_k|)\}_{k = 1}^m. For each kk, define gk:R→Cg_k: \bR \to \bC so that

gk(x)={1if x∈[ak,bk],2mλε(x−ak)+1if x∈(ak−ε2mλ,ak),−2mλε(x−bk)+1if x∈(bk,bk+ε2mλ),0otherwise.g_k(x) = \begin{cases} 1 & \text{if } x \in [a_k, b_k], \\ \frac{2m\lambda}{\epsilon} (x - a_k) + 1 & \text{if } x \in (a_k - \frac{\epsilon}{2m\lambda}, a_k), \\ -\frac{2m\lambda}{\epsilon} (x - b_k) + 1 & \text{if } x \in (b_k, b_k + \frac{\epsilon}{2m\lambda}), \\ 0 & \text{otherwise}. \end{cases}

Then we have that gk∈Cc(R)g_k \in C_c(\bR) and ∫∣1(ak,bk)−gk∣≤ε/(2mλ)\int \abs{1_{(a_k, b_k)} - g_k} \le \epsilon/(2m\lambda) for each kk. Thus

∫∣φ−g∣=∫∣∑k=1mck1(ak,bk)−gk∣≤∫∑k=1m∣ck1(ak,bk)−gk∣=∑k=1m∫∣ck1(ak,bk)−gk∣≤∑k=1m∣ck∣∫∣1(ak,bk)−gk∣≤∑k=1m∣ck∣ε2mλ≤ε/2.\begin{align*} \int \abs{\phi - g} &= \int \abs{\sum_{k = 1}^m c_k1_{(a_k, b_k)} - g_k} \\ &\le \int \sum_{k = 1}^m \abs{c_k 1_{(a_k, b_k)} - g_k} \\ &= \sum_{k = 1}^m \int \abs{c_k1_{(a_k, b_k)} - g_k} \\ &\le \sum_{k = 1}^m |c_k| \int \abs{1_{(a_k, b_k)} - g_k} \\ &\le \sum_{k = 1}^m |c_k| \frac{\epsilon}{2m \lambda} \le \epsilon/2. \end{align*}

Note Cc(R)C_c(\bR) is a vector space, so it is closed under finite addition. Thus g=∑k=1mgkg = \sum_{k = 1}^m g_k is an element of Cc(R)C_c(\bR). Moreover, we have that

∫∣f−g∣=∫∣f−φ+φ−g∣≤∫∣f−φ∣+∫∣φ−g∣≤ε2+ε2=ε,\int \abs{f - g} = \int \abs{f - \phi + \phi - g} \le \int \abs{f - \phi} + \int \abs{\phi - g} \le \frac{\epsilon}{2} + \frac{\epsilon}{2} = \epsilon,

completing the proof of the first statement.

We now prove the second statement, that Cc(R)C_c(\bR) is a dense subset of L1(R,μ)L^1(\bR, \mu). We simply prove that Cc(R)⊆L1(R,μ)C_c(\bR) \subseteq L^1(\bR, \mu), and the previous statements show Cc(R)C_c(\bR) is dense. If f∈Cc(R)f \in C_c(\bR), then supp(f)\supp(f) is a closed and bounded set by Heine-Borel. Since supp(f)\supp(f) is closed, it is Borel and thus must be measurable with respect to the Lebesgue-Stieltjes measure μ\mu (its domain is Lebesgue measurable sets). Since ff and the absolute value function are continuous, ∣f∣|f| attains an upper bound by EVT, and so there is M∈CM \in \bC so that ∣f∣≤M|f| \le M for every x∈Rx \in \bR. Thus

∫∣f∣≤∫supp(f)M=Mμ(supp(f)).\int |f| \le \int_{\supp(f)} M = M \mu(\supp(f)).

Since μ\mu is Lebesgue-Stieltjes, it assigns a finite measure to bounded sets, so Mμ(supp(f))<∞M \mu(\supp(f)) < \infty, meaning f∈L1(R,μ)f \in L^1(\bR, \mu) as desired.

Note that Cc(R)C_c(\bR) is not necessarily a subset of L1(R,μ)L^1(\bR, \mu) if μ\mu isn't Lebesgue-Stieltjes. For example, we can define a Borel measure so that (a,∞)(a, \infty) takes infinite measure, and then a function whose support lies in this range is not integrable. However, Cc(R)∩L1C_c(\bR) \cap L^1 is always a subset of L1L^1, and this is usually dense in L1L^1 with appropriate regularity conditions on μ\mu.

In sum, we note that the set of all integrable, simple functions is dense in L1L^1. Instead, if we consider L1(R,μ)L^1(\bR, \mu) where μ\mu is Lebesgue-Stieltjes, then the set of integrable, simple functions that can be expressed as a linear combination of indicators on bounded open intervals is dense, and so is Cc(R)C_c(\bR), the space of functions whose support is compact (or, equivalently, bounded).

We have enough theory to prove a version of DUTIS (differentiation under the integral sign, Lebiniz's rule) with more lax requirements.

[2.2.31]Theorem(Differentiation under the Integral Sign)#

Suppose f:X×[a,b]→Cf: X \times [a, b] \to \bC is a function so that f(−,t)∈L1f(-, t) \in L^1 for each t∈[a,b]t \in [a, b]. Define the function

F(t)=∫Xf(x,t)  dμ(x).F(t) = \int_X f(x, t) \, \dd \mu(x).
  1. Continuity. Suppose there is some g∈L1g \in L^1 so that ∣f(x,t)∣≤g(x)|f(x, t)| \le g(x) for each x∈Xx \in X and each t∈[a,b]t \in [a, b]. If we have that f(x,t)→f(x,t0)f(x, t) \to f(x, t_0) (where t→t0t \to t_0) for each x∈Xx \in X, then we have that F(t)→F(t0)F(t) \to F(t_0). In particular, if f(x,−)f(x, -) is continuous for each x∈Xx \in X, then so is F(x,−)F(x, -) for each x∈Xx \in X.

  2. Differentiability. Suppose ∂∂t[f(x,t)]\frac{\partial}{\partial t} [f(x, t)] exists and that exists g∈L1g \in L^1 so that

    ∣∂∂t[f(x,t)]∣≤g\abs{ \frac{\partial}{\partial t} [f(x, t)] } \le g

    for each x∈Xx \in X and t∈[a,b]t \in [a, b]. Then FF is differentiable, and notably

    F′(t)=∫X∂∂t[f(x,t)]  dμ(x).F'(t) = \int_X \frac{\partial}{\partial t} [f(x, t)] \, \dd \mu(x).
Proof.
  1. Consider the sequence of functions f(x,tn)f(x, t_n), where tn→t0t_n \to t_0. By hypothesis, we note that f(x,tn)→f(x,t0)f(x, t_n) \to f(x, t_0). Moreover, we have that ∣f(x,tn)∣≤g(x)|f(x, t_n)| \le g(x) for each x∈Xx \in X, and so each f(x,tn)∈L1f(x, t_n) \in L^1. Again, since ∣f(x,tn)∣≤g(x)|f(x, t_n)| \le g(x), DCT applies. Thus

    F(t0)=∫Xf(x,t0)  dμ(x)=∫Xlim⁡n→∞f(x,tn)  dμ(x)=DCTlim⁡n→∞∫Xf(x,tn)  dμ(x)=lim⁡n→∞F(tn).F(t_0) = \int_X f(x, t_0) \, \dd \mu(x) = \int_X \lim_{n \to \infty} f(x, t_n) \, \dd \mu(x) \stackrel{\text{DCT}}{=} \lim_{n \to \infty} \int_X f(x, t_n) \, \dd \mu(x) = \lim_{n \to \infty} F(t_n).

    Thus, by the sequential characterization of continuity, FF is continuous for all t∈[a,b]t \in [a, b].

  2. Note that

    ∂f∂t (x,t0)=lim⁡n→∞hn(x)hn(x)=f(x,tn)−f(x,t0)tn−t0,\frac{\partial f}{\partial t} \, (x, t_0) = \lim_{n \to \infty} h_n(x) \quad h_n(x) = \frac{f(x, t_n) - f(x, t_0)}{t_n - t_0},

    where tn→t0t_n \to t_0. Since f(−,t)∈L1f(-, t) \in L^1, we have that each hnh_n is measurable, and thus so is its limit.

    First, we consider f:X→Rf: X \to \bR. Fix n∈Z+n \in \bZ_+. Without loss of generality, take t0≤tnt_0 \le t_n, and note that f(x,−)f(x, -) is both continuous and differentiable on the interval [t0,tn]⊆[a,b][t_0, t_n] \subseteq [a, b]. By the Mean Value Theorem, there is some tc∈(t0,tn)t_c \in (t_0, t_n) so that

    ∂f∂t  (x,tc)=f(x,tn)−f(x,t0)tn−t0=hn(x).\frac{\partial f}{\partial t} \, \, (x, t_c) = \frac{f(x, t_n) - f(x, t_0)}{t_n - t_0} = h_n(x).

    Then note

    ∣hn(x)∣≤∣∂f∂t (x,tc)∣≤sup⁡t∈[a,b]∣∂∂t[f(x,t)]∣≤g(x).\abs{h_n(x)} \le \abs{\frac{\partial f}{\partial t} \, (x, t_c)} \le \sup_{t \in [a, b]} \abs{\frac{\partial}{\partial t} [f(x, t)]} \le g(x).

    Since nn is arbitrary, we note each hn∈L1h_n \in L^1 and each ∣hn(x)∣≤g(x)\abs{h_n(x)} \le g(x), and so DCT applies. If f=u+ivf = u + iv, applying the MVT separately to uu and vv gives ∣ℜhn(x)∣,∣ℑhn(x)∣≤g(x)\abs{\Re h_n(x)}, \abs{\Im h_n(x)} \le g(x), and thus ∣hn(x)∣≤2g(x)\abs{h_n(x)} \le \sqrt{2}g(x). Since 2g∈L1\sqrt{2}g \in L^1, DCT still applies. Thus

    F′(t0)=lim⁡n→∞F(tn)−F(t0)tn−t0=lim⁡n→∞∫Xf(x,tn)−f(x,t0)tn−t0  dμ(x)=DCT∫Xlim⁡n→∞f(x,tn)−f(x,t0)tn−t0  dμ(x)=∫X∂f∂t (x,t0)  dμ(x).F'(t_0) = \lim_{n \to \infty} \frac{F(t_n) - F(t_0)}{t_n - t_0} = \lim_{n \to \infty} \int_X \frac{f(x, t_n) - f(x, t_0)}{t_n - t_0} \, \dd \mu(x) \stackrel{\text{DCT}}{=} \int_X \lim_{n \to \infty} \frac{f(x, t_n) - f(x, t_0)}{t_n - t_0} \, \dd \mu(x) = \int_X \frac{\partial f}{\partial t} \, (x, t_0) \, \dd \mu(x).

When μ\mu is the Lebesgue measure on R\bR, integrating a function against μ\mu is said to be the Lebesgue integral. We compare this with the Riemann integral. We quickly revisit Darboux's characterization of the Riemann integral.

Let [a,b][a, b] be a compact interval, and consider a partition labeled PP given by {tk}k=1n\{t_k\}_{k = 1}^n so that a=t0<t1<⋯<tn=ba = t_0 < t_1 < \cdots < t_n = b. Let f:[a,b]→Rf: [a, b] \to \bR be a bounded function on this interval. We define the upper sum and lower sum by

S‾(f,P)=∑k=1nsup⁡[tk−1,tk]f×(tk−1−tk)S‾(f,p)=∑k=1ninf⁡[tk−1,tk]f×(tk−1−tk),\bar{S}(f, P) = \sum_{k = 1}^n \sup_{[t_{k - 1}, t_k]} f \times (t_{k - 1} - t_k) \quad \underline{S}(f, p) = \sum_{k = 1}^n \inf_{[t_{k - 1}, t_k]} f \times (t_{k - 1} - t_k),

respectively. Since ff is bounded on [a,b][a, b], its infimum and supremum over [tk−1,tk][t_{k - 1}, t_k] is well defined. Considering the upper and lower sum over all partitions, as well as ff being bounded, it is natural to consider the upper integral and lower integral of ff, given by

∫ab‾f=inf⁡PS‾(f,P)∫ab‾f=sup⁡PS‾(f,P).\bar{\int_a^b} f = \inf_P \bar{S}(f, P) \quad \underline{\int_a^b} f = \sup_P \underline{S}(f, P).

Indeed, as we consider all partitions, the upper sum overapproximates (resp. lower sum underapproximates) the true accumulation of ff. As we consider finer and finer partitions, we get closer to the true value, since the upper sum decreases (resp. lower sum increases) as we consider the infimum (resp. supremum) over all partitions. Finally, if the upper and lower integrals agree, ff is said to be Riemann integrable over [a,b][a, b].

[2.2.32]Theorem(Riemann Integration vs. Lebesgue Integration)#

Let f:[a,b]→Rf: [a, b] \to \bR be a bounded function.

  1. If ff is Riemann integrable, then ff is Lebesgue measurable (and thus integrable, since ff is bounded). Moreover,

    ∫abf(x)  dx=∫[a,b]f  dμ.\int_a^b f(x) \, \dd x = \int_{[a, b]} f \, \dd \mu.
  2. ff is Riemann intgerable if and only if the set of points for which ff is discontinuous is a set of Lebesgue measure zero.

The Lebesgue integral thus generalizes the proper Riemann integral, but not every improper Riemann integral corresponds to a Lebesgue integral. Suppose ff is Riemann integrable on [0,b][0, b] for every b>0b > 0, and f∈L1([0,∞))f \in L^1([0, \infty)). By applying DCT to f1[0,b]f 1_{[0, b]} as b→∞b \to \infty, we obtain

∫[0,∞)f  dμ=lim⁡b→∞∫0bf(x)  dx.\int_{[0, \infty)} f \, \dd \mu = \lim_{b \to \infty} \int_0^b f(x) \, \dd x.

However, the limit on the right may exist even when f∉L1([0,∞))f \notin L^1([0, \infty)), since cancellation can allow an improper Riemann integral to converge without absolute integrability.

We should now compare the actual procedure of constructing the Riemann and Lebesgue integrals. Suppose we have a bounded, Riemann integrable function f:[a,b]→Rf: [a, b] \to \bR, nonnegative for convenience. Since ff is Riemann integrable, it is also Lebesgue integrable and Lebesgue measurable. Riemann integration tells us to partition the domain [a,b][a, b] and consider the accumulation of functions that are locally constant on these partitions. Namely, we consider the functions that take the supremum and infimum of ff over each step in the partition, then we take the infimum and supremum over their accumulations and label it the Riemann integral.

In contrast, we defined the integral to be the supremum of the integrals of all nonnegative simple functions bounded above by ff. We can somewhat think of Lebesgue integration as a version of Riemann integration, but with partitions of the range instead. Indeed, recall that we can construct a sequence of nonnegative simple functions so that φn↗f\phi_n \nearrow f. We do this by partitioning the range of ff into intervals IkI_k with dyadic endpoints and considering their preimages Ek=f−1(Ik)E_k = f^{-1}(I_k), which are measurable. Writing Ik=[ck,ck+δ)I_k = [c_k, c_k + \delta), we construct a simple function taking the value ckc_k on EkE_k. As we refine these partitions, the resulting simple functions increase monotonically to ff. By MCT, their integrals converge to the integral of ff, so we are essentially accumulating approximations of the values of ff over their corresponding preimages. In this sense, Riemann integration partitions the xx-axis, whereas Lebesgue integration partitions the yy-axis. In the general setting, this shift is essentially forced if we want to partition into intervals, since our domain may be an arbitrary measurable space with no connected structure whatsoever.

Note that our biggest problems with the integral are fixed. We have theorems that let the integral and pointwise limit be exchanged that aren't nearly as restrictive as demanding uniform convergence. A larger class of functions can now be integrated, such as 1Q1_\bQ. While in practice, we do not care for the integrals of these pathological functions, increasing the class of integrable functions is extremely useful. When considering a space of functions endowed with a metric in terms of an integral, having more integrable functions makes it easier for the space to be complete with respect to its metric. Enlarging the class of integrable functions by switching to measure-theoretic integration helps us form complete metric spaces with respect to an integral metric.

We conclude by defining the Gamma function. If z∈Cz \in \bC and ℜ(z)>0\Re(z) > 0, we define

Γ(z)=∫0∞tz−1e−t  dt.\Gamma(z) = \int_0^\infty t^{z - 1} e^{-t} \, \dd t.

This integral converges absolutely, since ∣tz−1e−t∣=tℜ(z)−1e−t\abs{t^{z - 1} e^{-t}} = t^{\Re(z) - 1} e^{-t}, which is integrable near zero when ℜ(z)>0\Re(z) > 0, while the exponential decay ensures integrability at infinity. By integration by parts, we obtain the functional equation Γ(z+1)=zΓ(z)\Gamma(z + 1) = z \Gamma(z), which allows us to extend Γ\Gamma to all of C\bC except the nonpositive integers by repeatedly defining Γ(z)=Γ(z+1)/z\Gamma(z) = \Gamma(z + 1)/z. Finally, since Γ(1)=1\Gamma(1) = 1, repeated application of the functional equation yields Γ(n+1)=n!\Gamma(n + 1) = n!, so the Gamma function generalizes the factorial function to noninteger arguments.

[2.2.33]Problem#

Suppose f∈L1f \in L^1. Show that, for any ε>0\epsilon > 0, there exists a δ>0\delta > 0 so that

μ(E)<δ  ⟹  ∫Ef  dμ<ε.\mu(E) < \delta \implies \int_E f \, \dd \mu < \epsilon.

This is called absolute continuity of the integral.

[2.2.34]Problem#

Recall. Suppose {fn}n=1∞\{f_n\}_{n = 1}^\infty is a sequence of measurable functions fn:X→R‾f_n: X \to \bar{\bR}. Show that sup⁡nfn\sup_n f_n and lim sup⁡fn\limsup f_n are measurable, and analogously so are inf⁡nfn\inf_n f_n and lim inf⁡fn\liminf f_n.