Set ∥g∥1=0∫b∣g(x)∣dx and
ω(f,t)=sup{∣f(x)−f(y)∣:x,y∈[0,b], ∣x−y∣≤t}.
In view of the uniform continuity of f we have ω(f,t)→0 as
t→0. Using the periodicity of g we get
∫0bf(x)g(nx)dx=k=1∑n∫b(k−1)/nbk/nf(x)g(nx)dx=k=1∑nf(bk/n)∫b(k−1)/nbk/ng(nx)dx+k=1∑n∫b(k−1)/nbk/n{f(x)−f(bk/n)}g(nx)dx=n1k=1∑nf(bk/n)∫0bg(x)dx+O(ω(f,b/n)∥g∥1)=b1k=1∑n∫b(k−1)/nbk/nf(x)dx∫0bg(x)dx+b1k=1∑n(nbf(bk/n)−∫b(k−1)/nbk/nf(x)dx)∫0bg(x)dx+O(ω(f,b/n)∥g∥1)=b1∫0bf(x)dx∫0bg(x)dx+O(ω(f,b/n)∥g∥1).
This proves a). For b) we set b=π, f(x)=sinx,
g(x)=(1+3cos2x)−1. From a) and
∫0πsinxdx=2,∫0π(1+3cos2x)−1dx=2π
we get
n→∞lim∫0π1+3cos2nxsinxdx=1.