The greatest integer function [x] changes its value at integer points. We split the integral into two intervals: [0,1) and [1,2).
- For 0≤x<1: [x]=0.
The integrand becomes 0⋅xsin(2πx)=0.
- For 1≤x<2: [x]=1.
The integrand becomes 1⋅xsin(2πx)=xsin(2πx).
So, the integral simplifies to:
I=π2(∫010dx+∫12xsin(2πx)dx)=π2∫12xsin(2πx)dx
We use the formula ∫udv=uv−∫vdu.
Let u=x⟹du=dx.
Let dv=sin(2πx)dx⟹v=−π2cos(2πx).
Applying the formula:
∫xsin(2πx)dx=[−x⋅π2cos(2πx)]+∫π2cos(2πx)dx
=−π2xcos(2πx)+π24sin(2πx)
Now, evaluate this from 1 to 2:
∫12xsin(2πx)dx=[−π2xcos(2πx)+π24sin(2πx)]12
=(−π4cos(π)+π24sin(π))−(−π2cos(2π)+π24sin(2π))
=(−π4(−1)+0)−(0+π24(1))
=π4−π24
Multiply the result by the π2 coefficient outside the integral:
I=π2(π4−π24)
I=4π−4=4(π−1)
The value of the integral is 4(π−1).
The correct option is (B).