The aim is a new definition of the integral. Its idea is drawn in Figure 1: first the integral of a simple function over a set E, then simple functions placed below the graph of a function f.
Figure 1. On the left, a simple function, constant on each of the sets D1,D2 and D3, with the region under its graph hatched, and a set E over which that region is shaded. On the right, a function f and, below its graph, the region under a simple function.
Definition 1 (Lebesgue integral of a simple function). Let (X,M,μ) be a measure space, let s:X→[0,+∞] be a simple function, written as in Definition 16 of the previous post,
s=i=1∑kaiχDi,
and let E∈M. We define the Lebesgue integral of s over E as
∫Esdμ:=i=1∑kaiμ(E∩Di),
where +∞⋅0=0, as in Definition 5 of the first post.
Remark 2. Let (X,M,μ),E and s be as in Definition 1. Then χE is simple, sχE is simple, and
∫Esdμ=∫XsχEdμ.
Definition 3 (Lebesgue integral of a nonnegative function). Let (X,M,μ) be a measure space, let f:X→[0,+∞] be measurable and let E∈M. We define the Lebesgue integral of f over E as
∫Efdμ:=sup{∫Esdμ:s simple,0≤s≤f}.
Remark 4 (Basic properties). Let (X,M,μ) be a measure space, let f1,f2:X→[0,+∞] be measurable, and let N,E,F∈M. (1) If μ(N)=0, then ∫Nf1dμ=0. (2) If f1≤f2, then ∫Ef1dμ≤∫Ef2dμ. (3) If E⊂F, then ∫Ef1dμ≤∫Ff1dμ. (4) If 0≤c≤+∞, then ∫Ecf1dμ=c∫Ef1dμ. (5)∫E(f1+f2)dμ=∫Ef1dμ+∫Ef2dμ. (6) If E∩F=∅, then ∫Ef1dμ+∫Ff1dμ=∫E∪Ff1dμ.
Properties (2) and (3) are called monotonicity, and properties (4) and (5) linearity.
Proposition 5 (Measure induced by simple functions). Let (X,M,μ) be a measure space, let s:X→[0,+∞] be simple, and let ν:M→[0,+∞] be defined by
ν(E):=∫Esdμ.
Then ν is a measure.
Proof (sketch). Only the σ-additivity of ν is proved. Let (Em)⊂M be pairwise disjoint, let E=⋃mEm, and write s as in Definition 1, so that Di∩E=⋃m(Di∩Em) for every i, as in Figure 2. The fourth equality below is the σ-additivity of μ:
Example 8. On R with the Lebesgue measure λ, the function χQ satisfies χQ=0 almost everywhere. Hence ∫RχQdλ=0 by Remark 7. The Riemann integral of this function does not exist.
Proposition 9 (Chebyshev inequality, or Markov inequality). Let (X,M,μ) be a measure space, let f:X→[0,+∞] be measurable and let c∈(0,+∞). Then
cμ({f>c})≤∫{f>c}fdμ≤∫Xfdμ,
where {f>c}={x∈X:f(x)>c}.
Proof (complete). By monotonicity with respect to the domain of integration, (3) of Remark 4, and by monotonicity with respect to the function, (2) of Remark 4,
∫Xfdμ≥∫{f>c}fdμ≥∫{f>c}cdμ=cμ({f>c}).■
From now on, the measure space (X,M,μ) is assumed complete.
Corollary 10. Let (X,M,μ) be a complete measure space, let f:X→[0,+∞] be measurable and let E∈M. (1)∫Efdμ=0 if and only if f=0 almost everywhere on E. This is the vanishing lemma for nonnegative functions. (2) If ∫Xfdμ<+∞, then μ({f=+∞})=0.
Proof (sketch). Only (1) is proved. If f=0 almost everywhere on E, then ∫Efdμ=0 by Remark 7. Conversely, suppose that ∫Efdμ=0, and for every m∈N with m≥1 let
Em={x∈E:f(x)>m1}.
Then
m⋃Em={x∈E:f(x)>0},
and the goal is to prove that this set has measure zero. By Proposition 9 with c=1/m, applied on E,
Definition 11 (Integrable function, Lebesgue integral). Let (X,M,μ) be a measure space and let f:X→R be measurable. (i) The function f is said to be integrable if ∫X∣f∣dμ<+∞.
(ii) If f is integrable, we define the Lebesgue integral of f as the real number
∫Xfdμ:=∫Xf+dμ−∫Xf−dμ.
(iii) If E∈M and f is integrable, we define the real number
∫Efdμ:=∫XfχEdμ.
Figure 4. The idea of Definition 11: a function f, its positive part f+, and its negative part f−, dashed, which is the part of f below the axis reflected above it.
Notation. The integrable functions form the set
L1(X,M,μ):={f:X→R:f integrable},
also written L1(X) or L1. The calligraphic L1 is different from L1.
Remark 12. Let (X,M,μ) be a measure space and let f:X→R be measurable. (1)f∈L1 if and only if ∣f∣∈L1, if and only if f+ and f− belong to L1. (2) If f∈L1, then ∫Xfdμ≤∫X∣f∣dμ.
Remark 13. The set L1(X,M,μ) is a vector space, and the map
∫X⋅dμ:L1f→R↦∫Xfdμ,
is linear, that is,
∫X(αf+βg)dμ=α∫Xfdμ+β∫Xgdμ
for all α,β∈R and f,g∈L1.
Proposition 14 (Vanishing lemma for real valued functions). Let (X,M,μ) be a complete measure space and let f,g∈L1(X,M,μ). The following are equivalent: (1)f=g almost everywhere; (2)∫X∣f−g∣dμ=0; (3)∫Efdμ=∫Egdμ for every E∈M.
In particular, if ∫Efdμ=0 for every E∈M, that is, if ∫XfχEdμ=0 for every E∈M, then f=0 almost everywhere.
where the first inequality is (2) of Remark 12, the second is monotonicity and the last equality is the hypothesis (2).
To prove that (3) implies (1), let E={x∈X:f(x)≥g(x)}. We prove that f=g almost everywhere on E; in the same way one gets f=g almost everywhere on {f≤g}. By (3),
0=∫Efdμ−∫Egdμ=∫E(f−g)dμ,
where f−g≥0 on E. Hence f−g=0 almost everywhere on E by the vanishing lemma for nonnegative functions, (1) of Corollary 10. ■
Notation. The set of the continuous functions with compact support, the continuous functions from RN to R whose support is compact, is denoted Cc(RN).
Theorem 15 (Vanishing for λ with respect to other classes of functions). Let f:RN→R with f∈L1(RN,L(RN),λ). If
∫RNfgdλ=0for every g∈Cc(RN),
then f=0 almost everywhere.
Notation. For an interval of R, such as (a,b) or [a,b], the family of the sets of L(R) contained in it is written L((a,b)) or L([a,b]). The set Cc((a,b)) is defined as Cc(RN) with (a,b) in place of RN, the set C∞((a,b)) is the set of the infinitely differentiable functions on (a,b), and
Cc∞(a,b):=Cc((a,b))∩C∞((a,b)).
Corollary 16 (Vanishing and constancy on intervals). Let f∈L1((a,b),L((a,b)),λ). (1) If ∫(a,b)fgdλ=0 for every g∈Cc∞(a,b), then f=0 almost everywhere. (2) If ∫(a,b)fg′dλ=0 for every g∈Cc∞(a,b), then there exists c∈R such that f=c almost everywhere. (3) If ∫(a,b)fgdλ=0 for every g∈Cc∞(a,b) such that ∫(a,b)gdλ=0, then there exists c∈R such that f=c almost everywhere.
Notation. In this part, ∫(a,b)fdλ denotes the Lebesgue integral and ∫abfdx the Riemann integral.
Theorem 17 (Comparison of Lebesgue and Riemann integrals).(1) Let a,b∈R with a<b, and let f:[a,b]→R be Riemann integrable. Then f∈L1([a,b],L([a,b]),λ) and
∫[a,b]fdλ=∫abfdx.
(2) Let −∞≤a<b≤+∞, and let f:(a,b)→R be Riemann integrable on every closed bounded interval contained in (a,b), with ∣f∣Riemann integrable in the generalized sense. Then f∈L1((a,b),L((a,b)),λ) and
∫(a,b)fdλ=∫abfdx,
where the right-hand side is the Riemann integral in the generalized sense.
Example 18. Let f:[π,+∞)→R be given by f(x)=(sinx)/x. (i) The function f is Riemann integrable in the generalized sense. Integration by parts gives, for every R>π,
Figure 5. Above, the function (sinx)/x on [π,(N+1)π], with the regions above and below the axis. Below, its absolute value and, under it on each [mπ,(m+1)π), the function ∣sinx∣/((m+1)π) used for (ii), whose integral 2/(π(m+1)) is the shaded region. The slider sets N.
From now on, ∫abf and ∫abfdλ denote Lebesgue integrals over intervals, and every integral is understood in the sense of Lebesgue.