last updated: May 9, 2024

Probability with Measure

3.3 Measurable functions and open sets (Δ)

In this section we prove the remaining part of Lemma 3.1.4, in particular that part (1) of that lemma is equivalent to the other parts. We will also prove Lemma 3.2.1. Note that this section is marked with a (Δ), meaning that it is off-syllabus for those taking MAS31002 and is independent reading for those taking MAS61022. Our arguments will use open subsets of R. For purposes of this course we work from the following definition.

  • Definition 3.3.1 A set OR is open if for every xO there is an open interval IR containing x, with IO.

Some of you will have seen open sets in more general contexts e.g. metric or topological spaces. We won’t use those more general contexts within this course, but if you are familiar with metric spaces you will know that some of the results in this section are true in greater generality than we include here.

It follows immediately from Definition 3.3.1 that every open interval in R is an open set. We might ask what other kinds of open subset we can find within R. The following result gives a surprisingly clear answer, a consequence of which is that all open subsets of R are Borel sets.

  • Proposition 3.3.2 Every open set O in R is a countable union of disjoint open intervals.

Proof: Note that a ‘countable union’ includes the case where we only need finitely many intervals. Let us first note that if Oi are opens sets for all iI then (even if I is uncountable) the set O=iOi is open. See Exercise 3.7 for a proof of this fact.

For xO, let Ix be the union of all open intervals containing x for which IxO. Then Ix is open. Also, Ix is an interval, because if a<b<c with a,cIx then there are open intervals (aϵ1,x+ϵ2) and (xϵ3,c+ϵ4) within Ix and b is within their union, so bIx.

If x,yO and xy then Ix and Iy are either disjoint or identical. To see this, note that if IxIy is non-empty then IxIy is a non-empty open interval contained within O, which implies IxIy is also contained within both Ix and Iy. Thus Ix=Iy.

However, there can only be countably many different Ix, because we can only fit at most countably many (non-empty) disjoint open intervals within R. We now select a rational number r(x) in every distinct Ix and rewrite O as the countable disjoint union over intervals Ix labelled by distinct rationals r(x).   ∎

  • Lemma 3.3.3 Let O=σ(OR;O is open) be the σ-field generated by the open subsets of R. It holds that O=B(R).

Proof: Recall that, by Definition 1.4.2, B(R) is the smallest σ-field that contains the open intervals (a,b) for a<b. It follows immediately that B(R)O, because O is a σ-field containing all the such intervals and B(R) is the smallest such σ-field. To see the reverse inclusion, note by Proposition 3.3.2, every open set is an element of B(R). Thus OB(R), because B(R) therefore contains any σ-field that contains the open sets, and O is the smallest such σ-field.   ∎

  • Remark 3.3.4 () In advanced textbooks on measure theory, Lemma 3.3.3 is usually used as the definition of the Borel σ-field, because open sets make sense in a more general context than open intervals. In particular this definition makes sense for all metric spaces, and more generally for all topological spaces.

  • Lemma 3.3.5 Let f:SR. Then f is measurable if and only if f1(O)Σ for all open sets O in R.

Proof: We will prove the forwards and backwards implications in turn. Suppose first that f is measurable. Let OR be open, and note that Proposition 3.3.2 implies that OB(R). Hence, by Definition 3.1.1 we have f1(O)Σ, as required.

For the reverse implication, suppose instead that f1(O)Σ is for all open OR. Let A={ER;f1(E)Σ}. We will first show that A is a σ-field, by checking (S1)-(S3).

  • (S1): RA as S=f1(R).

  • (S2): If EA then EcA since f1(Ec)=f1(E)cΣ.

  • (S3): If (An) is a sequence of sets in A then nNAnA since f1(nAn)=nf1(An)Σ.

We are now ready to finish the proof. By our assumption, OA for all open AR. Writing O=σ(OR;O is open) as in Lemma 3.3.3, by Lemma 1.2.6 we have that OA, because A is a σ-field containing all the open subsets and O is the smallest such σ-field. By Lemma 3.3.3 we thus have B(R)A. By definition of A, this gives that f1(E)Σ for all B(R), so f is measurable.   ∎

Proof of Lemma 3.1.4, part 2 implies part 1: With Lemma 3.3.5 we can finish the proof of Lemma 3.1.4. Using the notation from that lemma, assume that part 2 holds. From what we have already proved of Lemma 3.1.4, part 4 therefore also holds. By Proposition 3.3.2 we may write any open set O as O=n(an,bn) for some an<bn, where the union is countable. Hence,

f1(O)=nf1((an,bn))=nf1((,bn))f1((an,)).

The right hand side of the above is in Σ by parts 2 and 4, which means that f1(O)Σ for any open set OR. From this, Lemma 3.3.5 gives that f is measurable.   ∎

The above completes the proof of Lemma 3.1.4, as promised from Section 3.1. We now move on to the proof of Lemma 3.2.1, starting with a proposition that links continuous functions to open sets.

  • Proposition 3.3.6 A mapping f:RR is continuous if and only if f1(O) is open for every open set O in R.

Proof: First suppose that f is continuous. Choose an open set O and let af1(O) so that f(a)O. Then there exists ϵ>0 so that (f(a)ϵ,f(a)+ϵ)O. By definition of continuity of f, for such an ϵ there exists δ>0 so that x(aδ,a+δ)f(x)(f(a)ϵ,f(a)+ϵ). But this tells us that (aδ,a+δ)f1((f(a)ϵ,f(a)+ϵ))f1(O). Since a is arbitrary we conclude that f1(O) is open.

Conversely, suppose that f1(O) is open for every open set O in R. Choose aR and let ϵ>0. Then since (f(a)ϵ,f(a)+ϵ) is open so is f1((f(a)ϵ,f(a)+ϵ)). Since af1((f(a)ϵ,f(a)+ϵ)) there exists δ>0 so that (aδ,a+δ)f1((f(a)ϵ,f(a)+ϵ)). From here you can see that whenever |xa|<δ we must have |f(x)f(a)|<ϵ. But then f is continuous at a and the result follows.   ∎

Proof of Lemma 3.2.1: Let f:RR be continuous and O be an arbitrary open set in R. By Proposition 3.3.6 f1(O) is an open set in R. Hence, by Proposition 3.3.2 we have f1(O)B(R) for all open OR. Lemma 3.3.5 gives that f is measurable.   ∎