Measurable Functions as an Algebra
On the page Intro to Lebesgue Integration we built the
Lebesgue integral in three steps. For
simple functions it is a
finite sum. For nonnegative measurable functions it is a
supremum over simple functions. For general
measurable functions it is obtained by
splitting into positive and negative parts. That
page does not establish the working rules of the integral, and this page proves them.
The rules are monotonicity, linearity and the bound
\(\bigl|\int f \, d\mu\bigr| \leq \int |f| \, d\mu\). We also show that the integral ignores sets
of measure zero and that every nonnegative measurable function is the limit of an increasing
sequence of simple functions. Finally, we study how the integral depends on the set of integration
and on the measure.
The proofs fall into two stages. Everything up to and including monotonicity needs no limit theorem,
only the definition of the integral, the axioms of a measure and the measurability results of this
section. From linearity onward we use the
monotone convergence theorem.
Besides the definition and the continuity of measure from below, the proof of that theorem uses only
results that this page proves before it turns to linearity. None of those results uses the theorem,
so no argument on this page is circular.
Convention. Throughout, \((\Omega, \mathcal{F}, \mu)\) is a measure space, with
\(\mu\) a measure on the
\(\sigma\)-algebra \(\mathcal{F}\). Functions take values in the extended real line
\(\overline{\mathbb{R}}\) unless they are called real-valued (all values finite) or complex-valued.
We keep the convention \(0 \cdot \infty = 0\) and the notation \(g_+\), \(g_-\) for the positive and
negative parts from the previous page, so that \(g = g_+ - g_-\). We also use the
indicator \(\chi_A\) of a
set \(A\) and the integral \(\int_A g \, d\mu = \int \chi_A g \, d\mu\) over \(A\) defined there. As
on that page, a property holds almost everywhere
when it holds outside a set of measure zero.
The integral of a measurable function
and the notion of integrability are those of the previous page. Thus a measurable \(g\) is
integrable exactly when \(\int g \, d\mu\) is defined and is a finite real number.
To integrate \(f + g\) we first need \(f + g\) to be measurable. The same holds for products,
positive parts, the functions \(\chi_A g\) that vanish off a set \(A\), and suprema of sequences. We
derive their measurability from the defining condition of a
measurable function,
namely \(\{g \leq a\} \in \mathcal{F}\) for every \(a \in \mathbb{R}\), without using its
description through preimages of Borel sets. Complex-valued functions are handled through their real
and imaginary parts.
Definition: Measurable Complex-Valued Function
A function \(f : \Omega \to \mathbb{C}\) is measurable if its real part
\(\operatorname{Re} f\) and its imaginary part \(\operatorname{Im} f\) are measurable real-valued
functions.
Measurability in this sense agrees with the convention of the
\(L^p\) spaces page, where a
complex-valued \(f\) is required to be
\((\mathcal{F}, \mathcal{B}(\mathbb{C}))\)-measurable. The map \(x + iy \mapsto (x, y)\)
is a bijection from \(\mathbb{C}\) onto \(\mathbb{R}^2\) that preserves distances, so it
carries the open sets of \(\mathbb{C}\) exactly onto the open sets of \(\mathbb{R}^2\).
It therefore identifies \(\mathcal{B}(\mathbb{C})\) with \(\mathcal{B}(\mathbb{R}^2)\).
Component-wise measurability,
applied to maps into \(\mathbb{R}^2\), then says that \(f\) is
\(\mathcal{B}(\mathbb{C})\)-measurable exactly when \(\operatorname{Re} f\) and
\(\operatorname{Im} f\) are \(\mathcal{B}(\mathbb{R})\)-measurable. By the criterion of
measurability via half-lines,
this is measurability in the sense used here. The arguments that follow use only the definition in
terms of real and imaginary parts.
Proposition: Operations Preserving Measurability
- If \(f, g : \Omega \to \mathbb{R}\) are measurable and \(c \in \mathbb{R}\), then \(f + g\),
\(c f\), \(f g\), \(\max\{f, g\}\), \(\min\{f, g\}\) and \(|f|\) are measurable. The
statements about \(f + g\) and \(c f\) also hold for measurable
\(f, g : \Omega \to [0, \infty]\) and \(c \in [0, \infty)\).
- If \(g\) is measurable and \(A \in \mathcal{F}\), then \(g_+\), \(g_-\) and \(\chi_A g\) are
measurable.
- If \(g_1, g_2, \ldots\) are measurable, then the pointwise \(\sup_n g_n\), \(\inf_n g_n\),
\(\limsup_{n \to \infty} g_n\) and \(\liminf_{n \to \infty} g_n\), taken in
\(\overline{\mathbb{R}}\), are measurable. If the limit
\(\lim_{n \to \infty} g_n(\omega)\) exists in \(\overline{\mathbb{R}}\) for every
\(\omega \in \Omega\), the limit function is measurable.
- If \(f, g : \Omega \to \mathbb{C}\) are measurable and \(c \in \mathbb{C}\), then \(f + g\),
\(c f\), \(f g\), the complex conjugate \(\overline{f}\) and \(|f|\) are measurable.
Proof.
Other forms of the defining condition.
Let \(h\) be measurable and \(a \in \mathbb{R}\). The sets
\[
\begin{align*}
\{h \lt a\} &= \bigcup_{n=1}^{\infty} \{h \leq a - 1/n\} \\\\
\{h \geq a\} &= \Omega \setminus \{h \lt a\} \\\\
\{h \gt a\} &= \Omega \setminus \{h \leq a\}
\end{align*}
\]
lie in \(\mathcal{F}\), as countable unions and complements of sets in \(\mathcal{F}\).
Conversely, if \(\{h \lt a\} \in \mathcal{F}\) for every \(a \in \mathbb{R}\), then
\(\{h \leq a\} = \bigcap_{n=1}^{\infty} \{h \lt a + 1/n\}\) lies in \(\mathcal{F}\), so \(h\) is
measurable. Passing to complements, we reach the same conclusion when every \(\{h \geq a\}\), or
every \(\{h \gt a\}\), lies in \(\mathcal{F}\). Any of the four families of sets may therefore
be used to test measurability.
(1) Sums.
For real numbers \(s, t\) and \(a\), the inequality \(s + t \lt a\) holds exactly when some
rational \(r\) satisfies \(s \lt r\) and \(t \lt a - r\). If \(s \lt a - t\), a rational \(r\)
strictly between \(s\) and \(a - t\) works, and conversely the two inequalities add up to
\(s + t \lt a\). Hence
\[
\{f + g \lt a\} = \bigcup_{r \in \mathbb{Q}} \bigl( \{f \lt r\} \cap \{g \lt a - r\} \bigr),
\]
a countable union of sets in \(\mathcal{F}\). The same argument applies when \(f\) and \(g\)
take values in \([0, \infty]\). If \(s\) or \(t\) is \(+\infty\), then neither \(s + t \lt a\)
nor the pair of inequalities holds.
Scalar multiples.
If \(c \gt 0\), then \(\{c f \leq a\} = \{f \leq a/c\}\). If \(c \lt 0\), then
\(\{c f \leq a\} = \{f \geq a/c\}\). If \(c = 0\), then \(\{c f \leq a\}\) is \(\Omega\) for
\(a \geq 0\) and \(\emptyset\) for \(a \lt 0\). For \(f\) with values in \([0, \infty]\), the
cases \(c \gt 0\) and \(c = 0\) hold as written, the latter by the convention
\(0 \cdot \infty = 0\).
Products.
For \(a \geq 0\) we have \(\{f^2 \leq a\} = \{f \leq \sqrt{a}\} \cap \{f \geq -\sqrt{a}\}\), and
for \(a \lt 0\) the set \(\{f^2 \leq a\}\) is empty, so \(f^2\) is measurable. The identity
\[
f g = \tfrac{1}{4} \bigl( (f + g)^2 - (f - g)^2 \bigr),
\]
with \(f - g = f + (-1) g\), builds \(f g\) from sums, scalar multiples and squares.
Maxima, minima and absolute values.
We have
\[
\begin{align*}
\{\max\{f, g\} \leq a\} &= \{f \leq a\} \cap \{g \leq a\} \\\\
\{\min\{f, g\} \leq a\} &= \{f \leq a\} \cup \{g \leq a\},
\end{align*}
\]
and \(|f| = \max\{f, -f\}\).
(2) Positive parts and \(\chi_A g\).
Since \(g_+ \geq 0\), the set \(\{g_+ \leq a\}\) is empty for \(a \lt 0\). For \(a \geq 0\)
it equals \(\{g \leq a\}\). Indeed, where \(g \gt 0\) the two functions agree, and where
\(g \leq 0\) we have both \(g_+ = 0 \leq a\) and \(g \leq a\). Next, \(-g\) is measurable
because \(\{-g \leq a\} = \{g \geq -a\}\). Since \(g_-\) is the positive part of \(-g\), it
is measurable by the case just treated. Finally, \(\chi_A g\) equals \(g\) on \(A\) and \(0\)
off \(A\), so
\[
\{\chi_A g \leq a\} =
\begin{cases}
A \cap \{g \leq a\} & \text{if \(a \lt 0\)}, \\
(A \cap \{g \leq a\}) \cup (\Omega \setminus A) & \text{if \(a \geq 0\)}.
\end{cases}
\]
(3) Sequences.
A supremum is at most \(a\) exactly when every term is, and an infimum is less than \(a\)
exactly when some term is. Hence
\[
\begin{align*}
\Bigl\{\sup_n g_n \leq a\Bigr\} &= \bigcap_{n=1}^{\infty} \{g_n \leq a\} \\\\
\Bigl\{\inf_n g_n \lt a\Bigr\} &= \bigcup_{n=1}^{\infty} \{g_n \lt a\}.
\end{align*}
\]
So \(\sup_n g_n\) and \(\inf_n g_n\) are measurable, the latter because the sets \(\{h \lt a\}\)
also test measurability. Applying these two facts twice, we see that
\(\limsup_{n} g_n = \inf_{k \geq 1} \sup_{n \geq k} g_n\) and
\(\liminf_{n} g_n = \sup_{k \geq 1} \inf_{n \geq k} g_n\) are measurable. Where the limit exists
it equals the \(\limsup\). If the limit exists everywhere, the limit function is therefore
\(\limsup_n g_n\), which is measurable.
(4) Complex-valued functions.
Write \(c = \alpha + i\beta\) with \(\alpha, \beta \in \mathbb{R}\). The real and imaginary
parts of the functions in question are
\[
\begin{align*}
\operatorname{Re}(f + g) &= \operatorname{Re} f + \operatorname{Re} g, \\\\
\operatorname{Im}(f + g) &= \operatorname{Im} f + \operatorname{Im} g, \\\\
\operatorname{Re}(c f) &= \alpha \operatorname{Re} f - \beta \operatorname{Im} f, \\\\
\operatorname{Im}(c f) &= \beta \operatorname{Re} f + \alpha \operatorname{Im} f, \\\\
\operatorname{Re}(f g) &= \operatorname{Re} f \operatorname{Re} g - \operatorname{Im} f \operatorname{Im} g, \\\\
\operatorname{Im}(f g) &= \operatorname{Re} f \operatorname{Im} g + \operatorname{Im} f \operatorname{Re} g,
\end{align*}
\]
and \(\overline{f}\) has real part \(\operatorname{Re} f\) and imaginary part
\(-\operatorname{Im} f\). Each of these is measurable by (1). Finally, \(|f|\) is the square
root of \(u = (\operatorname{Re} f)^2 + (\operatorname{Im} f)^2\), which is nonnegative and
measurable by (1). The set \(\{\sqrt{u} \leq a\}\) is empty for \(a \lt 0\) and equals
\(\{u \leq a^2\}\) for \(a \geq 0\).
Apart from sums and nonnegative multiples of \([0, \infty]\)-valued functions, statement (1) is
restricted to real-valued functions. For extended-valued \(f\) and \(g\) the sum \(f + g\) is not defined
at a point where one of them is \(+\infty\) and the other is \(-\infty\). Statement (2) supplies the
proof of the remark on the previous page that \(g_+\)
and \(g_-\) are measurable.
Simple Functions and Null Sets
We now turn to the integral and begin with nonnegative simple functions, where everything reduces to
finite sums. We then show that two measurable functions that agree outside a set of measure zero
have equal integrals of their positive parts and of their negative parts, and hence the same
integral when either is integrable.
Two elementary properties of a measure, monotonicity and subadditivity, are used below. Let
\(A \subseteq B\) be sets in \(\mathcal{F}\). Countable additivity applied to the disjoint sets
\(A, B \setminus A, \emptyset, \emptyset, \ldots\), together with \(\mu(\emptyset) = 0\), gives
\[
\mu(B) = \mu(A) + \mu(B \setminus A),
\]
so \(\mu(A) \leq \mu(B)\). For any \(A, B \in \mathcal{F}\), this identity applied to
\(A \subseteq A \cup B\) gives \(\mu(A \cup B) = \mu(A) + \mu(B \setminus A)\). Since
\(\mu(B \setminus A) \leq \mu(B)\), it follows that \(\mu(A \cup B) \leq \mu(A) + \mu(B)\).
The definition of the integral of a
simple function uses a
representation by pairwise disjoint sets. Sums of simple functions come with representations whose
sets overlap, so we first show that for every representation \(\sum_j b_j \chi_{B_j}\) with
\(b_j \geq 0\), whether or not the sets \(B_j\) are disjoint, the formula \(\sum_j b_j \mu(B_j)\)
gives the integral.
Lemma: Integral of Nonnegative Simple Functions
Let \(\varphi\) and \(\psi\) be nonnegative simple functions and \(c \in [0, \infty)\).
- If \(\varphi = \sum_{j=1}^{m} b_j \chi_{B_j}\) with \(b_j \in [0, \infty)\) and
\(B_j \in \mathcal{F}\), the sets \(B_j\) not necessarily disjoint, then
\(\int \varphi \, d\mu = \sum_{j=1}^{m} b_j \, \mu(B_j)\).
- The integral satisfies
\(\int (\varphi + \psi) \, d\mu = \int \varphi \, d\mu + \int \psi \, d\mu\) and
\(\int c \varphi \, d\mu = c \int \varphi \, d\mu\).
- If \(\varphi \leq \psi\), then \(\int \varphi \, d\mu \leq \int \psi \, d\mu\).
- If \(A \in \mathcal{F}\) and \(\varphi = \sum_{i=1}^{k} a_i \chi_{A_i}\) with
\(a_i \in [0, \infty)\) and \(A_i \in \mathcal{F}\), then
\(\int_A \varphi \, d\mu = \sum_{i=1}^{k} a_i \, \mu(A_i \cap A)\).
Proof.
(1) Overlapping representations.
For each string \(\varepsilon = (\varepsilon_1, \ldots, \varepsilon_m) \in \{0, 1\}^m\),
let \(C_\varepsilon\) be the intersection of the sets \(B_j\) with \(\varepsilon_j = 1\)
and the complements \(\Omega \setminus B_j\) with \(\varepsilon_j = 0\). The \(2^m\) sets
\(C_\varepsilon\) lie in \(\mathcal{F}\), are pairwise disjoint and cover \(\Omega\). On
\(C_\varepsilon\) the function \(\varphi\) takes the value
\(c_\varepsilon = \sum_{j=1}^{m} \varepsilon_j b_j\), so
\(\varphi = \sum_{\varepsilon} c_\varepsilon \chi_{C_\varepsilon}\) is a representation
by disjoint sets.
Each \(B_j\) is the disjoint union of the \(C_\varepsilon\) with \(\varepsilon_j = 1\), so
additivity of \(\mu\) gives
\(\mu(B_j) = \sum_{\varepsilon : \varepsilon_j = 1} \mu(C_\varepsilon)\). All numbers involved
lie in \([0, \infty]\), where finite sums may be reordered. Under the convention
\(0 \cdot \infty = 0\), the distributive law
\((x_1 + \cdots + x_m) \, y = x_1 y + \cdots + x_m y\) also holds there. Hence
\[
\begin{align*}
\int \varphi \, d\mu
&= \sum_{\varepsilon} c_\varepsilon \, \mu(C_\varepsilon) \\\\
&= \sum_{\varepsilon} \sum_{j=1}^{m} \varepsilon_j b_j \, \mu(C_\varepsilon) \\\\
&= \sum_{j=1}^{m} b_j \sum_{\varepsilon : \varepsilon_j = 1} \mu(C_\varepsilon) \\\\
&= \sum_{j=1}^{m} b_j \, \mu(B_j).
\end{align*}
\]
(2) Sums and multiples.
The functions \(\varphi + \psi\) and \(c \varphi\) are measurable, because
sums and multiples preserve measurability.
They are finite and nonnegative and take finitely many values, so they are
nonnegative simple functions.
Let \(\varphi = \sum_i a_i \chi_{A_i}\) and \(\psi = \sum_k b_k \chi_{D_k}\) be representations
by disjoint sets with \(a_i, b_k \geq 0\). Such representations exist, since we may take the
distinct values \(v\) of each function as coefficients and the sets where they are attained.
These sets lie in \(\mathcal{F}\) because
\(\{\varphi = v\} = \{\varphi \leq v\} \cap \{\varphi \geq v\}\). Then
\(\varphi + \psi = \sum_i a_i \chi_{A_i} + \sum_k b_k \chi_{D_k}\) is a representation by
possibly overlapping sets. By (1), \(\int (\varphi + \psi) \, d\mu\) equals
\(\sum_i a_i \mu(A_i) + \sum_k b_k \mu(D_k)\), which is the sum of the two integrals.
For the multiple, \(c \varphi = \sum_i c a_i \chi_{A_i}\) is a representation by disjoint sets.
Since \((c a_i) \mu(A_i) = c \bigl( a_i \mu(A_i) \bigr)\) in \([0, \infty]\),
\[
\begin{align*}
\int c \varphi \, d\mu
&= \sum_i c a_i \, \mu(A_i) \\\\
&= c \sum_i a_i \, \mu(A_i) \\\\
&= c \int \varphi \, d\mu.
\end{align*}
\]
(3) Monotonicity.
If \(\varphi \leq \psi\), the difference \(\psi - \varphi = \psi + (-1) \varphi\) is
measurable by the same statement on sums and multiples. It takes finitely many values, all
finite and nonnegative, so it is a nonnegative simple function, and
\(\psi = \varphi + (\psi - \varphi)\). By (2),
\[
\begin{align*}
\int \psi \, d\mu
&= \int \varphi \, d\mu + \int (\psi - \varphi) \, d\mu \\\\
&\geq \int \varphi \, d\mu.
\end{align*}
\]
(4) Integrals over a set.
The function \(\chi_A \varphi\) is measurable because
indicator factors preserve measurability.
It is finite and nonnegative with finitely many values, hence a nonnegative simple function.
Since it equals \(\sum_{i=1}^{k} a_i \chi_{A_i \cap A}\), statement (1) applies.
Statement (3) proves the consistency remark made on
the previous page, where the integral of a nonnegative simple function was compared with the
integrals of the simple functions that lie under it. The previous page also observed, after
computing the integral of the Dirichlet function,
that exceptions on a set of measure zero do not affect the integral. The following proposition
states this precisely.
Proposition: Modification on a Null Set
Let \(f\) and \(g\) be measurable functions with \(f = g\) almost everywhere.
- If \(f\) and \(g\) take values in \([0, \infty]\), then
\(\int f \, d\mu = \int g \, d\mu\).
- In general, \(\int f_+ \, d\mu = \int g_+ \, d\mu\) and \(\int f_- \, d\mu = \int g_- \, d\mu\).
In particular, \(f\) is integrable if and only if \(g\) is, and then
\(\int f \, d\mu = \int g \, d\mu\).
Proof.
(1)
By the meaning of "almost everywhere", there is \(N \in \mathcal{F}\) with \(\mu(N) = 0\) such
that \(f = g\) on \(\Omega \setminus N\). Let \(q \in S(f)\), that is, \(q\) is a nonnegative
simple function with \(q \leq f\) everywhere. The function \(\chi_{\Omega \setminus N} q\) is
nonnegative and simple, since
indicator factors preserve measurability,
and it satisfies \(\chi_{\Omega \setminus N} q \leq g\) everywhere. Indeed, off \(N\) it equals
\(q\), which is at most \(f = g\) there, and on \(N\) it vanishes while \(g \geq 0\). So
\(\chi_{\Omega \setminus N} q \in S(g)\).
Write \(q = \sum_i a_i \chi_{A_i}\) with disjoint \(A_i\) and \(a_i \geq 0\), as in the proof of
statement (2) of the lemma. Since \(\mu(A_i \cap N) \leq \mu(N) = 0\), additivity gives
\(\mu(A_i) = \mu(A_i \setminus N)\), and statement (4) of the lemma on the
integral of nonnegative simple functions
gives
\[
\begin{align*}
\int \chi_{\Omega \setminus N} q \, d\mu
&= \sum_i a_i \, \mu(A_i \setminus N) \\\\
&= \sum_i a_i \, \mu(A_i) \\\\
&= \int q \, d\mu.
\end{align*}
\]
Hence \(\int q \, d\mu \leq \int g \, d\mu\) for every \(q \in S(f)\), and taking the supremum
over \(S(f)\) gives \(\int f \, d\mu \leq \int g \, d\mu\). Exchanging the roles of \(f\) and
\(g\) gives the reverse inequality.
(2)
Wherever \(f = g\), we also have \(f_+ = g_+\) and \(f_- = g_-\), so these equalities hold
almost everywhere. The four functions take values in \([0, \infty]\), and since
positive and negative parts are measurable,
statement (1) applies to each pair and shows that their integrals agree. The rest follows from
the definitions of integrability and of the integral
\(\int f \, d\mu = \int f_+ \, d\mu - \int f_- \, d\mu\).
An integrable function may still take the values \(\pm\infty\), and then sums such as \(f + g\) can be
undefined at some points. The following lemma shows that this happens only on a set of measure zero.
Redefining the functions on that set removes the problem, and the
modification on a null set
shows that it changes no integral.
Lemma: Integrable Functions Are Finite Almost Everywhere
Let \(g\) be measurable.
- If \(\int g_+ \, d\mu \lt \infty\), then \(\mu(\{g = +\infty\}) = 0\). If
\(\int g_- \, d\mu \lt \infty\), then \(\mu(\{g = -\infty\}) = 0\).
- If \(g\) is integrable, let \(\tilde{g}\) equal \(g\) where \(|g| \lt \infty\) and \(0\)
elsewhere. Then \(\tilde{g}\) is real-valued, measurable and integrable, \(\tilde{g} = g\) almost
everywhere, and \(\int \tilde{g} \, d\mu = \int g \, d\mu\).
Proof.
(1)
The set \(E = \{g = +\infty\} = \bigcap_{n=1}^{\infty} \{g \gt n\}\) lies in \(\mathcal{F}\), and
\(g_+ = +\infty\) on \(E\). For each \(n \in \mathbb{N}\), the nonnegative simple function
\(n \chi_E\) satisfies \(n \chi_E \leq g_+\) everywhere, so \(n \chi_E \in S(g_+)\) and
\[
n \, \mu(E) = \int n \chi_E \, d\mu \leq \int g_+ \, d\mu.
\]
The right side is finite and does not depend on \(n\), so \(\mu(E) = 0\). Likewise
\(E' = \{g = -\infty\} = \{g_- = +\infty\} = \bigcap_{n=1}^{\infty} \{g \lt -n\}\) lies in
\(\mathcal{F}\), and each \(n \chi_{E'}\) lies in \(S(g_-)\). The bound
\(n \, \mu(E') \leq \int g_- \, d\mu \lt \infty\) for every \(n\) gives \(\mu(E') = 0\).
(2)
Let \(F = \{g = +\infty\} \cup \{g = -\infty\}\). By (1) and the subadditivity noted at the
start of this section, \(\mu(F) = 0\). Since
indicator factors preserve measurability,
the function \(\tilde{g} = \chi_{\Omega \setminus F} \, g\) is measurable. It is real-valued and
agrees with \(g\) off \(F\). The
modification on a null set
gives the remaining claims.
The last result of this section connects measurable functions with simple ones. Every nonnegative
measurable function is the increasing limit of nonnegative simple functions built from the sets where its
values lie in given intervals.
Theorem: Approximation by Simple Functions
- Let \(g : \Omega \to [0, \infty]\) be measurable. There are nonnegative simple functions
\(\varphi_1 \leq \varphi_2 \leq \cdots \leq g\) with \(\varphi_n(\omega) \to g(\omega)\) for every
\(\omega \in \Omega\). This includes the points where \(g(\omega) = +\infty\). The convergence is
uniform on each set \(\{g \leq M\}\) with \(M \in [0, \infty)\). Each \(\varphi_n\) is measurable
with respect to every \(\sigma\)-algebra on \(\Omega\) for which \(g\) is measurable.
- Let \(g : \Omega \to \mathbb{R}\) be measurable. There are simple functions \(\psi_n\) with
\(|\psi_n| \leq |g|\) and \(\psi_n(\omega) \to g(\omega)\) for every \(\omega \in \Omega\). If
\(g\) is bounded, the convergence is uniform on \(\Omega\).
Proof.
(1)
For \(n \geq 1\) and \(k = 0, 1, \ldots, n 2^n - 1\), let
\[
\begin{align*}
E_{n,k} &= \bigl\{ k 2^{-n} \leq g \lt (k+1) 2^{-n} \bigr\} \\\\
F_n &= \{g \geq n\}
\end{align*}
\]
and
\[
\varphi_n = \sum_{k=0}^{n 2^n - 1} k 2^{-n} \chi_{E_{n,k}} + n \chi_{F_n}.
\]
Let \(\mathcal{G}\) be a \(\sigma\)-algebra on \(\Omega\) for which \(g\) is measurable. The
sets \(E_{n,k} = \{g \geq k 2^{-n}\} \cap \{g \lt (k+1) 2^{-n}\}\) and \(F_n\) lie in
\(\mathcal{G}\). This follows from the other forms of the defining condition, established at the
start of the proof of the proposition on
operations preserving measurability.
That argument uses nothing about the particular \(\sigma\)-algebra. The sets are pairwise
disjoint and cover \(\Omega\). For \(a \in \mathbb{R}\), the set \(\{\varphi_n \leq a\}\) is the
union of the \(E_{n,k}\) with \(k 2^{-n} \leq a\), together with \(F_n\) when \(n \leq a\), so
it lies in \(\mathcal{G}\). Hence \(\varphi_n\) is \(\mathcal{G}\)-measurable. In particular it
is a nonnegative simple function, and the sum defining it is a representation by disjoint sets.
Unwinding the definition, we find
\[
\varphi_n(\omega) =
\begin{cases}
2^{-n} \lfloor 2^n g(\omega) \rfloor & \text{if \(g(\omega) \lt n\)}, \\
n & \text{if \(g(\omega) \geq n\)},
\end{cases}
\]
and \(\varphi_n(\omega) = n\) where \(g(\omega) = +\infty\). Where \(g(\omega)\) is finite, both
cases are covered by \(\varphi_n(\omega) = \min\{n, 2^{-n} \lfloor 2^n g(\omega) \rfloor\}\).
Indeed, if \(g(\omega) \lt n\), then
\(2^{-n} \lfloor 2^n g(\omega) \rfloor \leq g(\omega) \lt n\), because
\(\lfloor x \rfloor \leq x\). If \(g(\omega) \geq n\), then \(2^n g(\omega) \geq n 2^n\), an
integer, so \(2^{-n} \lfloor 2^n g(\omega) \rfloor \geq n\).
First let \(g(\omega)\) be finite. For every real \(t \geq 0\), the number
\(2 \lfloor t \rfloor\) is an integer at most \(2t\), so
\(\lfloor 2t \rfloor \geq 2 \lfloor t \rfloor\). Hence
\(2^{-(n+1)} \lfloor 2^{n+1} g(\omega) \rfloor \geq 2^{-n} \lfloor 2^n g(\omega) \rfloor\). Both
terms of the minimum therefore increase with \(n\), so
\(\varphi_n(\omega) \leq \varphi_{n+1}(\omega)\). Since \(\lfloor x \rfloor \leq x\), we also
have \(\varphi_n(\omega) \leq g(\omega)\) in both cases.
If instead \(g(\omega) = +\infty\), then \(\varphi_n(\omega) = n\) increases to \(+\infty\). If
\(g(\omega) \leq M\) with \(M \lt \infty\), then for every \(n \geq M\) either
\(g(\omega) = n\), where \(\varphi_n(\omega) = g(\omega)\), or \(g(\omega) \lt n\), where
\[
0 \leq g(\omega) - 2^{-n} \lfloor 2^n g(\omega) \rfloor \lt 2^{-n}.
\]
So \(0 \leq g - \varphi_n \lt 2^{-n}\) on \(\{g \leq M\}\) for all \(n \geq M\), which is the
uniform convergence. Every \(\omega\) with \(g(\omega)\) finite lies in some \(\{g \leq M\}\),
so this also gives the pointwise convergence at such points.
(2)
Applying (1) to the measurable functions \(g_+\) and \(g_-\) gives simple functions
\(\varphi_n^{+} \uparrow g_+\) and \(\varphi_n^{-} \uparrow g_-\). Set
\(\psi_n = \varphi_n^{+} - \varphi_n^{-}\), a real-valued function with finitely
many values. Since
sums and multiples preserve measurability,
it is measurable and hence simple.
At each \(\omega\) at most one of
\(g_+(\omega)\) and \(g_-(\omega)\) is nonzero, and \(0 \leq \varphi_n^{\pm} \leq g_\pm\), so at
most one of \(\varphi_n^{+}(\omega)\) and \(\varphi_n^{-}(\omega)\) is nonzero. Hence
\(|\psi_n| \leq g_+ + g_- = |g|\), and \(\psi_n \to g_+ - g_- = g\) pointwise. If
\(|g| \leq M\), then \(g_+ \leq M\) and \(g_- \leq M\), so by (1) both \(\varphi_n^{+}\) and
\(\varphi_n^{-}\) converge uniformly on \(\Omega\), and so does \(\psi_n\).
In computing terms, \(\varphi_n(\omega)\) is \(g(\omega)\) rounded down to a multiple of \(2^{-n}\)
and then clipped at \(n\). The rounding step is truncation to \(n\) fractional binary digits, as in
a fixed-point number format. The theorem says that increasing \(n\) never decreases the stored
value, and its proof shows that for values in \([0, M]\) the error is less than \(2^{-n}\) as soon
as \(n \geq M\).
Monotonicity Without Limits
Monotonicity of the integral follows from the definition alone, because a larger function
admits more simple functions below it. Positive homogeneity, the bound
\(\bigl|\int f \, d\mu\bigr| \leq \int |f| \, d\mu\) and one half of additivity follow in
the same spirit. Each comes from comparing the sets of simple functions that lie below
the functions involved.
Proposition: Monotonicity and Positive Homogeneity of the Lebesgue Integral
- Let \(f, g : \Omega \to [0, \infty]\) be measurable. If \(f \leq g\), then
\(\int f \, d\mu \leq \int g \, d\mu\). For \(c \in [0, \infty)\), we have
\(\int c f \, d\mu = c \int f \, d\mu\).
- Let \(f, g : \Omega \to [0, \infty]\) be measurable. If \(f \leq g\) almost everywhere, then
\(\int f \, d\mu \leq \int g \, d\mu\).
- Let \(f\) and \(g\) be measurable with \(f \leq g\) almost everywhere. Then
\(\int f_+ \, d\mu \leq \int g_+ \, d\mu\) and \(\int g_- \, d\mu \leq \int f_- \, d\mu\). In
particular, \(\int f \, d\mu \leq \int g \, d\mu\) whenever both integrals are defined.
- Let \(f\) be measurable. Then \(\int f_+ \, d\mu \leq \int |f| \, d\mu\) and
\(\int f_- \, d\mu \leq \int |f| \, d\mu\). In particular, \(f\) is integrable if
\(\int |f| \, d\mu \lt \infty\), and if \(f\) is integrable, then
\(\bigl|\int f \, d\mu\bigr| \leq \int |f| \, d\mu\).
- Let \(f, g : \Omega \to [0, \infty]\) be measurable. Then
\(\int f \, d\mu + \int g \, d\mu \leq \int (f + g) \, d\mu\).
Proof.
(1)
If \(f \leq g\), every \(q \in S(f)\) satisfies \(q \leq f \leq g\), so \(S(f) \subseteq S(g)\),
and the supremum over the larger set is at least as large.
For homogeneity, the function \(c f\) is measurable because
nonnegative multiples preserve measurability.
If \(c = 0\), then \(c f = 0\) and \(c \int f \, d\mu = 0\), both by the convention
\(0 \cdot \infty = 0\). Since \(\int 0 \, d\mu = 0\), both sides of the homogeneity identity
vanish. If \(c \gt 0\), a nonnegative simple function \(p\) satisfies \(p \leq c f\) exactly
when \(p / c \leq f\). So the map \(q \mapsto c q\) is a bijection from \(S(f)\) onto
\(S(c f)\). The
integral of nonnegative simple functions
satisfies \(\int c q \, d\mu = c \int q \, d\mu\), and multiplying by \(c \gt 0\) commutes with
suprema in \([0, \infty]\). Hence
\[
\begin{align*}
\int c f \, d\mu
&= \sup_{q \in S(f)} c \int q \, d\mu \\\\
&= c \sup_{q \in S(f)} \int q \, d\mu \\\\
&= c \int f \, d\mu.
\end{align*}
\]
(2)
Let \(N \in \mathcal{F}\) with \(\mu(N) = 0\) be such that \(f \leq g\) on
\(\Omega \setminus N\). The function \(\chi_{\Omega \setminus N} f\) is measurable, since
indicator factors preserve measurability.
It satisfies \(\chi_{\Omega \setminus N} f \leq g\) everywhere. Off \(N\) it equals \(f\), which
is at most \(g\) there, and on \(N\) it vanishes while \(g \geq 0\). It agrees with \(f\) off
\(N\), so the
modification on a null set
and (1) give
\[
\begin{align*}
\int f \, d\mu
&= \int \chi_{\Omega \setminus N} f \, d\mu \\\\
&\leq \int g \, d\mu.
\end{align*}
\]
(3)
The previous page defines \(f_+ = f \chi_{\{f \gt 0\}}\) and \(f_- = -f \chi_{\{f \lt 0\}}\).
Pointwise, these products equal \(\max\{f, 0\}\) and \(\max\{-f, 0\}\), with values in
\([0, \infty]\). Indeed, where \(f \leq 0\) the first product vanishes, and where \(f \geq 0\)
the second does, by the convention \(0 \cdot \infty = 0\) at \(f = -\infty\) and at
\(f = +\infty\). At every point where \(f \leq g\), we have \(\max\{f, 0\} \leq \max\{g, 0\}\)
and \(\max\{-g, 0\} \leq \max\{-f, 0\}\). So \(f_+ \leq g_+\) and \(g_- \leq f_-\) almost
everywhere. These four functions are measurable because
positive and negative parts are measurable,
so (2) gives the two inequalities between integrals.
Suppose now that both \(\int f \, d\mu\) and \(\int g \, d\mu\) are defined. If
\(\int f_- \, d\mu = \infty\), the integral of \(f\) is defined only when
\(\int f_+ \, d\mu \lt \infty\), and then \(\int f \, d\mu = -\infty\). If
\(\int g_+ \, d\mu = \infty\), then in the same way \(\int g \, d\mu = \infty\). In both cases
\(\int f \, d\mu \leq \int g \, d\mu\) holds. Otherwise \(\int f_- \, d\mu\) and
\(\int g_+ \, d\mu\) are finite, so all four integrals are finite by the two inequalities, and
\[
\begin{align*}
\int f \, d\mu
&= \int f_+ \, d\mu - \int f_- \, d\mu \\\\
&\leq \int g_+ \, d\mu - \int g_- \, d\mu \\\\
&= \int g \, d\mu.
\end{align*}
\]
(4)
At every point at most one of \(f_+\) and \(f_-\) is nonzero, so \(|f| = f_+ + f_-\) with values
in \([0, \infty]\). It is measurable because
sums of nonnegative measurable functions are measurable.
Since \(f_+ \leq |f|\) and \(f_- \leq |f|\), statement (1) gives the two inequalities. If
\(\int |f| \, d\mu \lt \infty\), both \(\int f_+ \, d\mu\) and \(\int f_- \, d\mu\) are finite,
so \(f\) is integrable. Finally, for two numbers \(a, b \in [0, \infty)\) we have
\(|a - b| \leq \max\{a, b\}\). With \(a = \int f_+ \, d\mu\) and \(b = \int f_- \, d\mu\), this
gives \(\bigl|\int f \, d\mu\bigr| \leq \max\{a, b\} \leq \int |f| \, d\mu\).
(5)
The function \(f + g\) is measurable with values in \([0, \infty]\), for the same reason as
\(|f|\) in (4). If \(q_1 \in S(f)\) and \(q_2 \in S(g)\), then \(q_1 + q_2\) is a nonnegative
simple function with \(q_1 + q_2 \leq f + g\), so \(q_1 + q_2 \in S(f + g)\). Additivity of the
integral of nonnegative simple functions gives
\[
\begin{align*}
\int q_1 \, d\mu + \int q_2 \, d\mu
&= \int (q_1 + q_2) \, d\mu \\\\
&\leq \int (f + g) \, d\mu.
\end{align*}
\]
Fix \(q_2 \in S(g)\). Adding a fixed element of \([0, \infty]\) commutes with suprema of
nonempty subsets of \([0, \infty]\), and \(S(f)\) contains the zero function. So taking the
supremum over \(q_1 \in S(f)\) gives
\(\int f \, d\mu + \int q_2 \, d\mu \leq \int (f + g) \, d\mu\). Taking the supremum over
\(q_2 \in S(g)\) in the same way gives the claim.
The reverse of (5) is where the definition alone stops. A simple function below \(f + g\) need not
split into a simple function below \(f\) plus one below \(g\). Take \(\Omega = (0, 1]\) with its
Borel \(\sigma\)-algebra and
Lebesgue measure,
and let \(f(x) = x\) and \(g(x) = 1 - x\). Both are measurable. Indeed, \(\{f \leq a\}\) is
\((0, a]\) for \(0 \lt a \leq 1\) and is empty or all of \((0, 1]\) otherwise. The function
\(g = 1 + (-1) f\) is measurable as the sum of the constant function \(1\) and a multiple of
\(f\).
Consider the constant function \(1 = f + g\), which lies in \(S(f + g)\). If \(1 = q_1 + q_2\) with
\(q_1 \in S(f)\) and \(q_2 \in S(g)\), then \(q_1 = 1 - q_2 \geq 1 - g = f\), so \(q_1 = f\). But
\(f\) takes infinitely many values and is not simple. Additivity therefore needs an approximation
argument, and the
monotone convergence theorem
supplies it in the section on linearity.
Linearity
To prove additivity for nonnegative functions, we approximate the two summands from below by simple
functions, add the approximations, and pass to the limit with the
monotone convergence theorem.
We apply that theorem only to sequences that are nonnegative and increasing at every point.
Theorem: Additivity for Nonnegative Functions
- If \(f, g : \Omega \to [0, \infty]\) are measurable, then
\(\int (f + g) \, d\mu = \int f \, d\mu + \int g \, d\mu\).
- If \(f\) is measurable, then \(\int |f| \, d\mu = \int f_+ \, d\mu + \int f_- \, d\mu\). In
particular, \(f\) is integrable if and only if \(\int |f| \, d\mu \lt \infty\).
Proof.
(1)
The approximation by simple functions
gives nonnegative simple functions \(\varphi_n \uparrow f\) and \(\psi_n \uparrow g\) at every
point of \(\Omega\). The sums \(\varphi_n + \psi_n\) are nonnegative simple functions that
increase with \(n\). They converge to \(f + g\) at every point, since in \([0, \infty]\) the
limit of a sum of two increasing sequences is the sum of their limits. The
integral of nonnegative simple functions
is additive. Three applications of the monotone convergence theorem, to \((\varphi_n)\),
\((\psi_n)\) and \((\varphi_n + \psi_n)\), give
\[
\begin{align*}
\int (f + g) \, d\mu
&= \lim_{n \to \infty} \int (\varphi_n + \psi_n) \, d\mu \\\\
&= \lim_{n \to \infty} \Bigl( \int \varphi_n \, d\mu + \int \psi_n \, d\mu \Bigr) \\\\
&= \lim_{n \to \infty} \int \varphi_n \, d\mu + \lim_{n \to \infty} \int \psi_n \, d\mu \\\\
&= \int f \, d\mu + \int g \, d\mu.
\end{align*}
\]
The third equality again uses the fact that limits of increasing sequences in \([0, \infty]\)
add. The integrals \(\int \varphi_n \, d\mu\) and \(\int \psi_n \, d\mu\) do increase with
\(n\), by statement (3) of the lemma on the integral of nonnegative simple functions.
(2)
As in the proof of the
monotonicity of the integral,
\(|f| = f_+ + f_-\) with \(f_+\) and \(f_-\) measurable and \([0, \infty]\)-valued, so (1) gives the
identity. The right side is finite exactly when both of its terms are finite, which is the definition
of integrability.
For functions of both signs, linearity follows by applying additivity to the positive and negative
parts. We state it for real-valued functions, where sums are always defined.
Theorem: Linearity of the Lebesgue Integral
Let \(f, g : \Omega \to \mathbb{R}\) be integrable and \(a, b \in \mathbb{R}\). Then \(a f + b g\) is
integrable, and
\[
\int (a f + b g) \, d\mu = a \int f \, d\mu + b \int g \, d\mu.
\]
Proof.
Multiples.
We first show that \(a f\) is integrable with \(\int a f \, d\mu = a \int f \, d\mu\). The
function \(a f\) is measurable because
multiples preserve measurability.
For \(a = 0\) both sides vanish. For \(a \gt 0\) we have \((a f)_+ = a f_+\) and
\((a f)_- = a f_-\). For \(a \lt 0\) we have \((a f)_+ = |a| f_-\) and \((a f)_- = |a| f_+\). By
positive homogeneity, which is statement (1) of the proposition on the
monotonicity of the integral,
the integrals of these parts are finite. For \(a \lt 0\),
\[
\begin{align*}
\int a f \, d\mu
&= |a| \int f_- \, d\mu - |a| \int f_+ \, d\mu \\\\
&= a \int f \, d\mu,
\end{align*}
\]
and the case \(a \gt 0\) is the same computation without the exchange of the two parts.
Sums.
Let \(h = f + g\), which is measurable because
sums preserve measurability.
Pointwise \(|h| \leq |f| + |g|\). Monotonicity and statement (1) of the theorem on
additivity for nonnegative functions
give \(\int |h| \, d\mu \leq \int |f| \, d\mu + \int |g| \, d\mu\). The right side is finite
by (2) of the same theorem because \(f\) and \(g\) are integrable. So \(h\) is integrable,
again by (2).
All values are finite, so \(h_+ - h_- = f_+ - f_- + g_+ - g_-\) can be rearranged into
\[
h_+ + f_- + g_- = h_- + f_+ + g_+,
\]
an identity between sums of nonnegative measurable functions. Integrating both sides, with (1)
of the additivity theorem applied twice on each side, gives
\[
\int h_+ \, d\mu + \int f_- \, d\mu + \int g_- \, d\mu
= \int h_- \, d\mu + \int f_+ \, d\mu + \int g_+ \, d\mu.
\]
All six integrals are finite, so moving them across the equality yields
\[
\int h \, d\mu = \int f \, d\mu + \int g \, d\mu.
\]
Combining this with the case of multiples gives the theorem.
On a probability space, the theorem above is the linearity statement in the
properties of expectation.
For random variables \(X\) and \(Y\), that statement assumes \(\mathbb{E}[|X|] \lt \infty\) and
\(\mathbb{E}[|Y|] \lt \infty\). By (2) of the additivity theorem, these two conditions state that
\(X\) and \(Y\) are integrable, so the linearity theorem proves the statement.
Without the restriction to real-valued functions, the sum need not be defined. On
\(\Omega = (0, 1]\) with its
Borel \(\sigma\)-algebra and
Lebesgue measure
\(\lambda\), let \(f = +\infty\) at the point \(1\) and \(f = 0\) elsewhere, and let \(g = -f\).
The set \(\{1\} = \bigcap_{n=1}^{\infty} (1 - 1/n, 1]\) is a Borel set with
\(\lambda(\{1\}) \leq \lambda((1 - 1/n, 1]) = 1/n\) for every \(n \geq 1\), so
\(\lambda(\{1\}) = 0\). Then \((0, 1) = (0, 1] \setminus \{1\}\) is a Borel set too. Each set
\(\{f \leq a\}\) and \(\{g \leq a\}\) is one of \(\emptyset\), \(\{1\}\), \((0, 1)\) and \((0, 1]\),
so both functions are measurable. Both vanish off the null set \(\{1\}\), so they are \(0\) almost
everywhere, and the
modification on a null set
shows that they are integrable with integral \(0\). But \(f + g\) is not defined at \(1\).
The restriction costs nothing, however. For integrable \(u\) and \(v\), the lemma that
integrable functions are finite almost everywhere
gives real-valued \(\tilde{u}\) and \(\tilde{v}\) that equal \(u\) and \(v\) almost everywhere and
have the same integrals. Linearity applies to \(\tilde{u} + \tilde{v}\), which agrees with \(u + v\)
outside a set of measure zero.
For complex-valued functions we integrate the real and imaginary parts. Let
\(f : \Omega \to \mathbb{C}\) be
measurable with
\(\int |f| \, d\mu \lt \infty\). Since \(|\operatorname{Re} f| \leq |f|\) and
\(|\operatorname{Im} f| \leq |f|\), both parts are integrable by monotonicity and the additivity
theorem. The page on
integrals against complex measures
uses the formula of the definition below for a finite positive measure, as the first step toward
integrating against a complex measure. Here any positive measure is allowed, and for a finite one
the value is the same.
Definition: Integral of a Complex-Valued Function
A measurable function \(f : \Omega \to \mathbb{C}\) is integrable if
\(\int |f| \, d\mu \lt \infty\). For such \(f\), its integral is
\[
\int f \, d\mu = \int \operatorname{Re} f \, d\mu + i \int \operatorname{Im} f \, d\mu,
\]
and \(\int_A f \, d\mu = \int \chi_A f \, d\mu\) for \(A \in \mathcal{F}\).
A real-valued function is also complex-valued with imaginary part \(0\). It is integrable in this
sense exactly when it is integrable in the real sense, by (2) of the additivity theorem, and the two
integrals agree. Let \(f : \Omega \to \mathbb{C}\) be integrable and \(A \in \mathcal{F}\). The
function \(\chi_A f\) has real part \(\chi_A \operatorname{Re} f\) and imaginary part
\(\chi_A \operatorname{Im} f\), which are measurable because
indicator factors preserve measurability.
Since \(|\chi_A f| \leq |f|\), the function \(\chi_A f\) is integrable and
\(\int_A f \, d\mu\) is defined.
Theorem: Linearity, the Absolute-Value Bound and Null Sets for Complex Integrals
Let \(f, g : \Omega \to \mathbb{C}\) be integrable.
- For \(a, b \in \mathbb{C}\), the function \(a f + b g\) is integrable. Its integral is
\(\int (a f + b g) \, d\mu = a \int f \, d\mu + b \int g \, d\mu\).
- The integral satisfies \(\bigl|\int f \, d\mu\bigr| \leq \int |f| \, d\mu\).
- If \(h : \Omega \to \mathbb{C}\) is measurable and \(h = f\) almost everywhere, then \(h\) is
integrable and \(\int h \, d\mu = \int f \, d\mu\).
Proof.
(1)
The function \(a f + b g\) is measurable, because
sums and multiples of complex measurable functions are measurable.
Pointwise \(|a f + b g| \leq |a| \, |f| + |b| \, |g|\). Monotonicity, homogeneity and additivity
for nonnegative functions bound \(\int |a f + b g| \, d\mu\) by
\(|a| \int |f| \, d\mu + |b| \int |g| \, d\mu \lt \infty\).
For the sum, the real and imaginary parts of \(f + g\) are the sums of those of \(f\) and
\(g\). Real linearity then gives
\(\int (f + g) \, d\mu = \int f \, d\mu + \int g \, d\mu\). For a multiple, write
\(a = \alpha + i \beta\) with \(\alpha, \beta \in \mathbb{R}\). Then
\(\operatorname{Re}(a f) = \alpha \operatorname{Re} f - \beta \operatorname{Im} f\) and
\(\operatorname{Im}(a f) = \beta \operatorname{Re} f + \alpha \operatorname{Im} f\). With
\(R = \int \operatorname{Re} f \, d\mu\) and \(I = \int \operatorname{Im} f \, d\mu\),
real linearity gives
\[
\begin{align*}
\int a f \, d\mu
&= (\alpha R - \beta I) + i (\beta R + \alpha I) \\\\
&= (\alpha + i \beta)(R + i I) \\\\
&= a \int f \, d\mu.
\end{align*}
\]
The bound above with \(b = 0\) and with \(a = 0\) shows that \(a f\) and \(b g\) are integrable.
Applying the case of sums to them gives the statement.
(2)
Let \(z = \int f \, d\mu\). If \(z = 0\) there is nothing to prove. Otherwise let
\(\theta = \overline{z} / |z|\), a complex number with \(|\theta| = 1\) and \(\theta z = |z|\). By (1),
\(\int \theta f \, d\mu = \theta z = |z|\), which is real. By the definition of the integral, its real
part is \(\int \operatorname{Re}(\theta f) \, d\mu\). Pointwise
\(\operatorname{Re}(\theta f) \leq |\theta f| = |f|\), and both functions are integrable and
real-valued, so monotonicity gives
\[
\begin{align*}
\Bigl|\int f \, d\mu\Bigr|
&= \int \operatorname{Re}(\theta f) \, d\mu \\\\
&\leq \int |f| \, d\mu.
\end{align*}
\]
(3)
Where \(h = f\), also \(|h| = |f|\), \(\operatorname{Re} h = \operatorname{Re} f\) and
\(\operatorname{Im} h = \operatorname{Im} f\). The
modification on a null set
gives \(\int |h| \, d\mu = \int |f| \, d\mu \lt \infty\), so \(h\) is integrable. It also gives
equal integrals for the real parts and for the imaginary parts.
The Integral as a Function of the Set and of the Measure
Up to now the measure and the domain of integration have been fixed, and only the integrand has
varied. We now fix the integrand and let the other two vary. Monotonicity in the measure needs only
the definition of the integral, while additivity over sets and linearity in the measure rest on the
monotone convergence theorem.
Theorem: Countable Additivity of the Integral over Sets
Let \(A_1, A_2, \ldots \in \mathcal{F}\) be pairwise disjoint and \(A = \bigcup_{k=1}^{\infty} A_k\).
- If \(f : \Omega \to [0, \infty]\) is measurable, then
\(\int_A f \, d\mu = \sum_{k=1}^{\infty} \int_{A_k} f \, d\mu\). Consequently,
\(\nu(B) = \int_B f \, d\mu\) defines a measure \(\nu\) on \(\mathcal{F}\), and \(\nu(B) = 0\)
whenever \(\mu(B) = 0\).
- If \(f\) is an integrable real-valued or complex-valued function, then each \(\chi_{A_k} f\)
is integrable, \(\sum_{k=1}^{\infty} \bigl|\int_{A_k} f \, d\mu\bigr| \lt \infty\), and
\(\int_A f \, d\mu = \sum_{k=1}^{\infty} \int_{A_k} f \, d\mu\).
Proof.
(1)
Let \(B_n = A_1 \cup \cdots \cup A_n\). Since the sets \(A_k\) are disjoint, at most one of the
functions \(\chi_{A_k} f\) is nonzero at each point, so
\(\chi_{B_n} f = \sum_{k=1}^{n} \chi_{A_k} f\). These functions are measurable because
indicator factors preserve measurability.
Applying statement (1) of the theorem on
additivity for nonnegative functions
\(n - 1\) times, we find
\[
\int \chi_{B_n} f \, d\mu = \sum_{k=1}^{n} \int_{A_k} f \, d\mu.
\]
The functions \(\chi_{B_n} f\) are nonnegative, increase with \(n\), and converge to
\(\chi_A f\) at every point. The
monotone convergence theorem
shows that the left side of the preceding identity converges to \(\int_A f \, d\mu\) as
\(n \to \infty\). The right side is the \(n\)-th partial sum of the series
\(\sum_{k=1}^{\infty} \int_{A_k} f \, d\mu\) of nonnegative terms, and therefore converges
to that sum. Since the two sides agree for every \(n\), their limits agree. This is the
identity in (1).
For the measure \(\nu\), we have \(\nu(\emptyset) = \int 0 \, d\mu = 0\), and countable
additivity is the identity just proved. If \(\mu(B) = 0\), then \(\chi_B f = 0\) almost
everywhere, and the
modification on a null set
gives \(\nu(B) = 0\).
(2)
Let \(f\) be real-valued. The function \(\chi_{A_k} f\) is measurable, and
\(|\chi_{A_k} f| \leq |f|\), so it is integrable. For every \(B \in \mathcal{F}\), the positive
and negative parts of \(\chi_B f\) are \(\chi_B f_+\) and \(\chi_B f_-\). By (1), applied to
\(f_+\) and to \(f_-\),
\[
\begin{align*}
\int_A f_+ \, d\mu &= \sum_{k=1}^{\infty} \int_{A_k} f_+ \, d\mu, \\\\
\int_A f_- \, d\mu &= \sum_{k=1}^{\infty} \int_{A_k} f_- \, d\mu,
\end{align*}
\]
and both left sides are at most \(\int |f| \, d\mu \lt \infty\). Subtracting the two convergent
series term by term gives \(\int_A f \, d\mu = \sum_k \int_{A_k} f \, d\mu\).
Statement (4) of the proposition on the
monotonicity of the integral,
applied to \(\chi_{A_k} f\), yields
\(\bigl|\int_{A_k} f \, d\mu\bigr| \leq \int_{A_k} |f| \, d\mu\). Summing over \(k\) and
applying (1) to \(|f|\), we obtain
\(\sum_k \bigl|\int_{A_k} f \, d\mu\bigr| \leq \int_A |f| \, d\mu \lt \infty\).
For complex-valued \(f\), each \(\chi_{A_k} f\) is integrable, as shown after the definition of
the integral of a complex-valued function. The real and imaginary parts of \(\chi_{A_k} f\) are
\(\chi_{A_k} \operatorname{Re} f\) and \(\chi_{A_k} \operatorname{Im} f\). The real case applied
to \(\operatorname{Re} f\) and \(\operatorname{Im} f\) gives the identity, and the absolute
convergence follows in the same way from the
absolute-value bound for complex integrals.
For real-valued integrable \(f\), statement (2) shows that \(B \mapsto \int_B f \, d\mu\)
is a finite
signed measure.
The measure \(\nu\) in (1) is
absolutely continuous
with respect to \(\mu\). The
Radon-Nikodym theorem
proves a converse. Let \(\mu\) and \(\nu\) be
\(\sigma\)-finite
measures on \((\Omega, \mathcal{F})\) such that \(\nu\) vanishes on the \(\mu\)-null sets. Then
there is a nonnegative measurable \(f\) with \(\nu(B) = \int_B f \, d\mu\) for every
\(B \in \mathcal{F}\).
For example, take \(\Omega = \mathbb{R}\) with its
Borel \(\sigma\)-algebra and let \(\mu\) be
Lebesgue measure,
which is \(\sigma\)-finite because the sets \((-n, n]\) cover \(\mathbb{R}\) and
have measure \(2n\). Let \(\nu\) be a probability measure that vanishes on every set of Lebesgue
measure zero. Being finite, \(\nu\) is \(\sigma\)-finite too. The function \(f\) that the
Radon-Nikodym theorem provides is then a Lebesgue density of \(\nu\), the density function familiar
from elementary probability.
The integral also depends linearly and monotonically on the measure. For measures \(\mu\) and
\(\nu\) on \((\Omega, \mathcal{F})\) and \(a, b \in [0, \infty)\), write \(a \mu + b \nu\) for the
set function \(B \mapsto a \mu(B) + b \nu(B)\). Write \(\mu \leq \nu\) when \(\mu(B) \leq \nu(B)\)
for every \(B \in \mathcal{F}\).
Theorem: Linearity and Monotonicity in the Measure
Let \(\mu\) and \(\nu\) be measures on \((\Omega, \mathcal{F})\) and \(a, b \in [0, \infty)\).
- The set function \(a \mu + b \nu\) is a measure.
- For every measurable \(g : \Omega \to [0, \infty]\),
\(\int g \, d(a \mu + b \nu) = a \int g \, d\mu + b \int g \, d\nu\).
- Let \(g\) be real-valued or complex-valued and integrable with respect to both \(\mu\) and
\(\nu\). Then \(g\) is integrable with respect to \(a \mu + b \nu\), and the identity in (2)
holds for \(g\). Conversely, if \(a, b \gt 0\), then every real-valued or complex-valued
\(g\) that is integrable with respect to \(a \mu + b \nu\) is integrable with respect to
both \(\mu\) and \(\nu\).
- If \(\mu \leq \nu\), then \(\int g \, d\mu \leq \int g \, d\nu\) for every measurable
\(g : \Omega \to [0, \infty]\), and integrability with respect to \(\nu\) implies
integrability with respect to \(\mu\) for every real-valued or complex-valued \(g\).
Proof.
(1)
Since \(\mu(\emptyset) = \nu(\emptyset) = 0\), we have \((a \mu + b \nu)(\emptyset) = 0\). For
pairwise disjoint \(B_1, B_2, \ldots \in \mathcal{F}\), the partial sums of
\(\sum_k \bigl( a \mu(B_k) + b \nu(B_k) \bigr)\) are \(a\) times those of \(\sum_k \mu(B_k)\)
plus \(b\) times those of \(\sum_k \nu(B_k)\). All terms lie in \([0, \infty]\), where limits of
increasing sequences add and commute with nonnegative multiples under the convention
\(0 \cdot \infty = 0\). So the series sums to \(a \mu(\bigcup_k B_k) + b \nu(\bigcup_k B_k)\).
(2)
For a nonnegative simple function \(q = \sum_i c_i \chi_{C_i}\) with disjoint \(C_i\) and
\(c_i \geq 0\), the integral formula for simple functions and the distributive law in
\([0, \infty]\) under the same convention give
\[
\begin{align*}
\int q \, d(a \mu + b \nu)
&= \sum_i c_i \bigl( a \mu(C_i) + b \nu(C_i) \bigr) \\\\
&= a \int q \, d\mu + b \int q \, d\nu.
\end{align*}
\]
For general \(g\), the
approximation by simple functions
gives nonnegative simple functions \(\varphi_n \uparrow g\). The approximating sequence is built
from \(g\) alone and does not depend on the measure. The monotone convergence theorem holds for
every measure. Applying it to \(a \mu + b \nu\), to \(\mu\) and to \(\nu\), we let
\(n \to \infty\) in the identity for \(\varphi_n\) and obtain the identity for \(g\). The limits
are taken in \([0, \infty]\), and passing to them uses the rules for sums and nonnegative
multiples of increasing sequences noted in (1).
(3)
By statement (2) of the theorem on
additivity for nonnegative functions
in the real case and by definition in the complex case, \(g\) is integrable with respect to a
measure exactly when the integral of \(|g|\) is finite. By the identity in (2), applied to
\(|g|\), the integral \(\int |g| \, d(a \mu + b \nu)\) equals
\(a \int |g| \, d\mu + b \int |g| \, d\nu\), which is therefore finite. So \(g\) is integrable
with respect to \(a \mu + b \nu\).
For real \(g\), apply (2) to \(g_+\) and to \(g_-\). All six integrals are finite, since each is
at most the corresponding integral of \(|g|\). Subtracting gives the identity. For complex
\(g\), apply the real case to \(\operatorname{Re} g\) and \(\operatorname{Im} g\).
Conversely, let \(a, b \gt 0\) and \(\int |g| \, d(a \mu + b \nu) \lt \infty\). Then (2) applied
to \(|g|\) shows that \(\int |g| \, d\mu\) and \(\int |g| \, d\nu\) are finite. Just as for
\(a \mu + b \nu\) above, \(g\) is therefore integrable with respect to \(\mu\) and to \(\nu\).
(4)
The set \(S(g)\) of nonnegative simple functions below \(g\) is the same for \(\mu\) and
\(\nu\). For \(q = \sum_i c_i \chi_{C_i}\) in it, with disjoint \(C_i\) and
\(c_i \geq 0\), we have
\[
\begin{align*}
\int q \, d\mu
&= \sum_i c_i \, \mu(C_i) \\\\
&\leq \sum_i c_i \, \nu(C_i) \\\\
&= \int q \, d\nu.
\end{align*}
\]
Taking the supremum over \(S(g)\) gives \(\int g \, d\mu \leq \int g \, d\nu\).
For real-valued \(g\), the inequality for \(g_+\) and for \(g_-\) gives
\(\int g_\pm \, d\mu \leq \int g_\pm \, d\nu \lt \infty\), which is integrability with respect
to \(\mu\). For complex-valued \(g\), the inequality for \(|g|\) gives
\(\int |g| \, d\mu \leq \int |g| \, d\nu \lt \infty\), where the right side is finite by the
definition of integrability. The same definition, read for \(\mu\), then gives the claim.
In probability, (1) and (3) describe mixtures. For \(t \in [0, 1]\), the mixture \(t P + (1 - t) Q\)
of two probability measures \(P\) and \(Q\) is again a probability measure. For every real-valued or
complex-valued \(g\) integrable under both,
\[
\int g \, d\bigl(t P + (1 - t) Q\bigr) = t \int g \, dP + (1 - t) \int g \, dQ.
\]
The two-component identity extends to finite mixtures by repeated application of (1) and (3).
Consider a mixture \(\sum_{k=1}^{K} \pi_k P_k\) with \(\pi_k \geq 0\) and \(\sum_k \pi_k = 1\), such
as one whose components are Gaussian distributions. For any real-valued or complex-valued quantity
integrable under every component \(P_k\), its expected value under the mixture is the weighted
average of its expected values under the components.