which tends to 0 as N→∞ for any k∈Z. Indeed, α is irrational, so the denominator is never 0. On the other hand,
∫01e2πikxdx=0
since e2πikx is 1-periodic. Thus, limN→∞EN(e2πikx)=∫01e2πikxdx. By linearity of integration, the equality is established for any trigonometric polynomial, i.e., any real linear combination of {e2πikx∣k∈Z}. Let A denote the set of trigonometric polynomials.
Notice that by definition, A is a vector space over R, A is closed under multiplication since e2πikxe2πiℓx=e2πi(k+ℓ)x∈A, and 1∈A. Hence, A is a subalgebra of C(R/Z) which separates points, so by Stone-Weierstrass, A is dense in C(R/Z) with respect to the uniform norm.
Let f∈C(R/Z) and ε>0. By density, we may pick g∈A such that ∥f−g∥L∞<ε. By our preliminary result, for N large enough, we also have ∣∣EN(g)−∫01gdx∣∣<ε, so
Let f=χ[a,b], and pick sequences of continuous functions gk,hk which converge to f almost everywhere and such that 0≤gk≤f≤hk≤1. For example, we can pick gk to be
0 outside of [a,b] (possibly nowhere),
linear on [a,a+k1],
1 on [a+k1,b−k1],
linear on [b−k1,b].
Similarly, hk can be
0 outside of [a−k1,b+k1] (possibly nowhere),
linear on [a−k1,a],
1 on [a,b],
linear on [b,b+k1].
By monotonicity and (1) applied to gk,hk, we have