- Interpret the integrand carefully
We need to evaluate
π2∫02(sin2πx)(x−[x])[x]dx.
Here [x] is the greatest integer function.
Since the interval is [0,2], we split according to the value of [x]:
- For 0≤x<1, [x]=0
- For 1≤x<2, [x]=1
(The single point x=2 does not affect the integral.)
So,
(x−[x])[x]={(x−0)0=1,(x−1)1=x−1,0≤x<1,1≤x<2.
Thus
I=π2∫02(sin2πx)(x−[x])[x]dx=π2[∫01sin2πxdx+∫12(x−1)sin2πxdx].
- First integral
Let
I1=∫01sin2πxdx.
Using
∫sin(ax)dx=−acos(ax),
with a=2π,
I1=[−π2cos2πx]01=−π2(cos2π−cos0)=−π2(0−1)=π2.
- Second integral
Let
I2=∫12(x−1)sin2πxdx.
Put
t=x−1⇒x=t+1,
so when x=1, t=0, and when x=2, t=1.
Then
I2=∫01tsin2π(t+1)dt.
Now,
sin(2πt+2π)=cos2πt,
so
I2=∫01tcos2πtdt.
Use integration by parts:
- u=t⇒du=dt
- dv=cos2πtdt⇒v=π2sin2πt
Hence
I2=[t⋅π2sin2πt]01−∫01π2sin2πtdt.
Evaluate the boundary term:
[t⋅π2sin2πt]01=π2sin2π=π2.
Now,
∫01sin2πtdt=π2
(from the same calculation as I1), so
I2=π2−π2⋅π2=π2−π24.
- Add the two parts
Therefore,
I=π2(I1+I2)=π2(π2+π2−π24)=π2(π4−π24).
Simplify:
I=4π−4=4(π−1).
- Compare with options
The value is
4(π−1).
So the correct option is B.
- Comparison with stored answer
Stored correct answer: B
Our derived answer: B
So they agree.