Measurable functions

We have introduced the structure of σ-algebras. As part of understanding the structure, we should understand which functions on sets respect this structure. These are the measurable functions, and they play a role in measure theory analogous to the role played by continuous functions in topology. Their main importance to us is that they are the functions we will be able to integrate.

Definition

Let X and Y be sets. Suppose B is a σ-algebra on X and C is a σ-algebra of subsets of Y. A function f:XY is (B,C) measurable if f1(C)B for every CC.

Fortunately, in order to check that a function is measurable, it suffices to verify that f1(C) belongs to B for all sets C in a generating set for the σ-algebra.

Theorem

Let B and C be σ-algebras on sets X and Y respectively. If C is generated by a collection FP(Y) and f1(F)B for every FF then f is (B,C) measurable.

Proof:

Consider the collection G={EY:f1(E)B} and note that, by hypothesis, it contains F. It suffices to verify that G contains C. We are going to check that G is a σ-algebra on Y. It will then immediately contain C because C is the smallest σ-algebra that contains F. We will check the defining properties of a σ-algebra.

It is immediate that YG because f1(Y)=XB. Also, if EG then f1(YE)=f1(Y)f1(E)=Xf1(E) belongs to B because complements of sets from B belong to B. Finally, if E1,E2, all belong to G then f1(n=1En)=n=1f1(En) belongs to B because B is a σ-algebra.

Real-valued functions

We are most interested in functions from a given set X into the real line, partly because we wish to integrate such functions. The real line has a distinguished σ-algebra Bor(R). Given a measurable space (X,B) we would therefore like to be able to determine whether a function f:XR is (B,Bor(R)) measurable.

Proposition

Fix a measurable space (X,B) and a function f:XR. If f1(U)B for every open set UR then f is (B,Bor(R)) measurable.

Proof:

The Borel σ-algebra is generated by the open sets. By the previous theorem f is therefore (B,Bor(R)) measurable if f1(U) belongs to B for every open set UR. But this is precisely what is hypothesized.

From our understanding of open sets we can give more explicit criteria for (B,Bor(R)) measurability.

Theorem

Fix a measurable space (X,B). A function f:XR is (B,Bor(R)) measurable whenever any of the following is true.

  1. f1((a,b))B for all a<b.
  2. f1((a,))B for all a<.
Proof:

By the previous proposition it suffices in each case to deduce that f1(U) belongs to B whenever UR is open. Since every open set is a countable union U=n=1Jn of open intervals and f1(U)=n=1f1(Jn) it suffices to prove that f1(J)B whenever JR is an open interval.

The first condition tells f1(J)B for finite open intervals. As (a,)=n=1(a,a+n) and (,a)=n=1(an,a) we get what we want by taking inverse images.

The second condition says f1(J)B whenever J is a half-infinite open interval. Writing (a,b)=n=1(a,)R(b+1n,) so that f1(a,b)=n=1f1(a,)(Xf1(b+1n,)) gives f1(J)B for every finite open interval, and we can appeal to the first criterion.

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 there are sets B(1),,B(k) in B and numbers a1,,ak such that f=a11B(1)++ak1B(k).

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.