Integration

Fix a measurable space (X,B). A measure on (X,B) allows us to assign sizes to subsets of X. In this section we are going to understand how measures give rise to integrals. The key is the we can associate to each measurable set a function on X whose integral can reasonably be thought of as the measure of X. We will then integrate more complicated functions by approximations.

Simple functions

Fix a set X and AX. The indicator function of A is the function 1A(x)={1xA0xA from X to R.

Lemma

Fix a measurable space (X,B). For every BB the function 1B:XR is (B,P(R)) measurable.

Proof:

Fix ER. The set (1B)1(E) can only be , B, XB or X according to which of 0,1 belong to E. All four sets belong to B because BB. Therefore 1B is (B,P(R)) measurable.

Definition

Fix a measurable space (X,B). A function f:XR is simple if f=a11B(1)++ak1B(k) for sets B(1),,B(k) in B and numbers a1,,ak.

The expression a11B(1)++ak1B(k) is not unique. Indeed, when B(1) and B(2) are disjoint we can write 1B(1)+1B(2)=1B(1)B(2) and when B(1)B(2) is non-empty we can write a11B(1)+a21B(2)=a11B(1)B(2)+(a1+a2)1B(1)B(2)+a21B(2)B(1) however, it is always possible to write a simple function in the form a11B(1)++ak1B(k) where the sets B(1),,B(k) are disjoint.

Lemma

A function f:XR is simple if and only if its range is finite.

Proof:

If f can be written as a11B(1)+a21B(2)++ak1B(k) then its range is finite, as f can only take values obtained from adding together at most k of the terms a1,,ak. On the other hand, if the only values f takes are c1,,ck then f=c11f1({c1})++ck1f1({ck}) expresses f as a simple function.

Integrating simple functions

Fix a measure space (X,B,μ). We define the integral of a simple, measurable function f:XR with respect to μ to be fdμ=tRtμ(f1({t}))=i=1naiμ(f1({ai})) where a1,,an are the values that f takes.

We will first check that the integral of simple functions is linear.

Theorem

Let (X,B,μ) be a measure space. Let f,g:XR be simple and measurable. Then f+gdμ=fdμ+gdμαfdμ=αfdμ for all αR.

Proof:

The second property is immediate. For the first, write f=i=1mai1A(i)g=j=1rbj1B(j) with A(1),,A(m) pairwise disjoint and B(1),,B(r) also pairwise disjoint. We can write A(i)=j=1rA(i)B(j)B(j)=i=1mB(j)A(i) with both unions consisting of pairwise disjoint collections. Thus f(x)=i=1mj=1rai1A(i)B(j)g(x)=j=1ri=1mbi1B(j)A(i)(f+g)(x)=i=1mj=1r(ai+bj)1A(i)B(j) and adding the integrals of the first two simple functions gives the integral of the third simple function.

Integrating non-negative functions

Now that we know how to integrate simple functions, we move on to non-negative measurable functions.

Definition

Fix a measure space (X,B,μ) and a measurable function f:X[0,]. Define the integral of f with respect to μ to be fdμ=sup{ϕdμ:ϕ a simple function with 0ϕf} the idea being to approximate the area under the graph of f by the integral of a simple function.

Proposition

Fix f,g:X[0,] measurable.

  1. If fg then fdμgdμ
  2. If α0 then αfdμ=αfdμ
Proof:

The first of these is immediate because every simple function 0ϕf satisfies 0ϕg. For the second, if α=0 both sides are zero, and if α>0 then the result follows because it is true for simple functions.

We next want to prove that the integral is linear. We will not do this directly, instead proving first the fundamental convergence result on integration with respect to a measure.

Monotone convergence theorem

Theorem

For any measure space (X,B,μ) and any non-decreasing sequence fn:X[0,] of measurable functions the equality limnfndμ=limnfndμ holds.

Proof:

Define g to be the pointwise limit of the sequence nfn of functions. It is well-defined and measurable as a function from X to [0,]. We have fndμgdμ for all nN by monotonicity. Therefore limnfndμlimrfrdμ holds. It remains to prove the reverse inequality.

For the reverse inequality fix 0<α<1 and fix 0ϕg a simple function. Put E(n)={xX:fn(x)αϕ(x)} and note that ϕf together with 0<α<1 implies the sequence nEn is increasing and has union X. Writing {a1,,ar} for the range if ϕ we can then calculate that 1E(n)ϕdμ=i=1rarμ(ϕ1(ar)E(n))i=1rarμ(ϕ1(ar))=ϕdμ where the convergence follows from continuity of measures. But then limnfndμlimn1E(n)fndμlimn1E(n)αϕdμ=αϕdμ which finishes the proof because 0<α<1 was arbitrary and 0ϕf was arbitrary.

As a consequence of the monotone convergence theorem we get linearity and a useful convergence result.

Theorem

Whenever f,g:X[0,] are measurable f+gdμ=fdμ+gdμ holds.

Proof:

Fix sequences nϕn and nψn of simple functions that take non-negative values and satisfy ϕnf and ψng. Then nϕn+ψn is a sequence of non-negative simple functions that converges to f+g. We have already checked that ϕn+ψndμ=ϕndμ+ψndμ and the monotone convergence theorem allows us to take the limits on both sides by evaluating the limits inside the integrals, giving the desired conclusion.