The law of large numbers

In this section we will prove the strong law of large numbers.

Theorem (Strong law of large numbers)

For all 0p1 the set {x{0,1}N:limN|{1nN:x(n)=1}|N=p} has full measure with respect to μp.

Fix 0p1. Define a function Yn:{0,1}NR by Yn(x)=x(n)p for each nN. If x{0,1}N satisfies limNY1(x)++YN(x)N=0 then we have limNx(1)++x(N)N=p so it suffices to work with the Yn. We could work throughout with function Zn(x)=x(n) but it is slightly more convenient - and often done - to work with the functions Yn instead. The main advantage of Yn is that is has zero integral. We can check this directly because Yn=1Tn1[1]p is a simple function and therefore has integral μp(Tn1([1]))p=pp=0 as claimed.

We want to show that the set B={x{0,1}N:limNY1(x)++YN(x)N0} has zero measure. First note that B=rNMNNM{x{0,1}N:|Y1(x)++YN(x)N|1r} so we must show for every rN that MNNM{x{0,1}N:|Y1(x)++YN(x)N|1r} has zero measure with respect to μp. The following lemma will give us a way to do this.

Lemma (Borel-Cantelli lemma)

Let (X,B,ν) be a measure space with ν(X)=1. For any sequence A1,A2, in B the convergence n=1ν(An)< implies MNNMAN has zero measure.

Proof:

By subadditivity we can calculate that ν(NMAN)N=Mν(AN)0 as N. Since MNMAN is a decreasings sequence of sets and ν(X)=1 the result follows from continuity of measures.

Returning to the strong law of large numbers, it suffices by the Borel-Cantelli lemma to prove that Nνp({x{0,1}N:|Y1(x)++YN(x)N|1r}) is summable. Fix rN and NN.

Lemma (Markov's inequality)

Fix a measure space (X,B,ν) with ν(X)=1 and fix a measurable function f:X[0,). Then ν({xX:f(x)s})1sfdν for every s0.

Proof:

This is nothing other than the fact that 0s1{xX:f(x)s}f and monotonicity of the integral.

Applying Markov's inequality to our set gives us μp({x{0,1}N:|Y1(x)++YN(x)N|1r})r|Y1++YNN|dμprNn=1N|Yn|dμp for all NN. However |Yn|=(1p)1Tn1[1]+p1Tn1[0] so our upper bound above is just rNn=1N2p(1p) which is not summable in N.

To do better, we note that |Y1(x)++YN(x)N|1r|Y1(x)++YN(x)N|41r4 and we may therefore also take μp({x{0,1}N:|Y1(x)++YN(x)N|1r})r4|Y1++YNN|4dμp=r4N4|Y1++YN|4dμp from Markov's inequality. It remains for us to calculate the integral |Y1++YN|4=a,b,c,d=1NYaYbYcYddμp which we do by checking various possibilities.

First we note that YaYbYcYddμp=0 will be zero whenever some member of the tuple (a,b,c,d) appears only once. This is because μp is such that YaαYbβYcγYdδdμp=YaαdμpYbβμpYcγμpYdδdμp whenver α,β,γ,δ belong to N and a,b,c,d are pairwise distinct.

Thus a,b,c,d=1NYaYbYcYddμp=a,b=1NYa2Yb2dμp and from |Ya|1 we get |a,b,c,d=1NYaYbYcYddμp|N2 for all NN. To summarize, Markov's inequality gives μp({x{0,1}N:|Y1(x)++YN(x)N|1r})r4|Y1++YNN|4dμpr4N4a,b,c,d=1NYaYbYcYddμpr4N2 which is summable in N. We conclude from the Borel-Cantelli lemma that MNNM{x{0,1}N:|Y1(x)++YN(x)N|1r} has zero measure. Since rN was arbitrary, we are done.