We have to show that
2∫02πf(x)g(x)dx−∫02πg(x)dx=0,
where f(x)=sin2x and g(x)=2πx−x2=x(2π−x).
Step 1: Evaluate ∫02πg(x)dx
Put x=2πt,0≤t≤1.
Then dx=2πdt and
g(x)=2πx−x2=4π2t−4π2t2=2πt(1−t).
Thus
∫02πg(x)dx=∫012πt(1−t)2πdt=4π2∫01t21(1−t)21dt.
The integral is the Beta-function B(23,23)=Γ(3)Γ(23)2.
Using Γ(23)=2π and Γ(3)=2,
B(23,23)=2π/4=8π.
Hence
∫02πg(x)dx=4π2⋅8π=32π3.−(1)
Step 2: Evaluate ∫02πf(x)g(x)dx
With the same substitution x=2πt,
f(x)g(x)=sin2(2πt)(2πt(1−t)),dx=2πdt.
Therefore
∫02πf(x)g(x)dx=4π2∫01sin2(2πt)t(1−t)dt.−(2)
Step 3: Simplify the inner integral
Write sin2θ=21−cos2θ.
Thus
sin2(2πt)=21−cos(πt).
Let
I=∫01sin2(2πt)t(1−t)dt=21∫01t(1−t)dt−21K∫01cos(πt)t(1−t)dt.
Step 4: Show K=0 by symmetry
Set t=21+u,dt=du, so u∈[−21,21].
Then t(1−t)=41−u2, an even function of u, while
cos(πt)=cos(2π+πu)=−sin(πu),
which is an odd function of u.
The product −sin(πu)41−u2 is odd, hence its integral over the symmetric interval vanishes: K=0.
Step 5: Evaluate I and then the required integral
Using K=0 and ∫01t(1−t)dt=8π,
I=21⋅8π=16π.
Substituting into (2):
∫02πf(x)g(x)dx=4π2⋅16π=64π3.−(3)
Step 6: Form the required expression
2∫02πf(x)g(x)dx−∫02πg(x)dx=2(64π3)−32π3=32π3−32π3=0.
Hence the required value is 0.