We need to find 10π2∫−1010f(x)cosπxdx where f(x)={x−[x],1+[x]−x,if [x] is oddif [x] is even.
Note that {x}=x−[x] is the fractional part of x. So:
When [x] is odd: f(x)={x}
When [x] is even: f(x)=1−{x}
This is a triangular wave function with period 2. On each interval [n,n+1), f is a sawtooth going from 0 to 1 (when n is odd) or from 1 to 0 (when n is even). The function is periodic with period 2 and symmetric.
Since f(x) has period 2, and cosπx also has period 2, the integrand f(x)cosπx has period 2. The interval [−10,10] has length 20, which is exactly 10 periods.
∫−1010f(x)cosπxdx=10∫02f(x)cosπxdx
On [0,1): [x]=0 (even), so f(x)=1−x.
On [1,2): [x]=1 (odd), so f(x)=x−1.
∫02f(x)cosπxdx=∫01(1−x)cosπxdx+∫12(x−1)cosπxdx
Using integration by parts with u=1−x, dv=cosπxdx:
I1=[π(1−x)sinπx]01+∫01πsinπxdx
=0+π1[−πcosπx]01=π21(−cosπ+cos0)=π21(1+1)=π22
Substitute t=x−1, so x=t+1, dx=dt, limits: t from 0 to 1:
I2=∫01tcosπ(t+1)dt=−∫01tcosπtdt
since cosπ(t+1)=−cosπt.
Using integration by parts with u=t, dv=cosπtdt:
∫01tcosπtdt=[πtsinπt]01−∫01πsinπtdt=0−π1[−πcosπt]01
=−π21(−cosπ+cos0)=−π21(2)=−π22
So I2=−(−π22)=π22.
∫02f(x)cosπxdx=π22+π22=π24
∫−1010f(x)cosπxdx=10⋅π24=π240
10π2⋅π240=4
The answer is Option A: 4.