The integral to evaluate is ∫−2π2π(3+[sinx]+[cosx]12(3+[x]))dx, where [⋅] denotes the greatest integer function.
The interval [−2π,2π] is divided into subintervals based on the values of [x], [sinx], and [cosx], which are constant in each subinterval. The subintervals and the corresponding values are determined as follows:
- For x∈[−2π,−1): [x]=−2, [sinx]=−1, [cosx]=0.
Denominator: 3+(−1)+0=2.
Numerator: 12(3+(−2))=12×1=12.
So, the integrand is 212=6.
- For x∈[−1,0): [x]=−1, [sinx]=−1, [cosx]=0.
Denominator: 3+(−1)+0=2.
Numerator: 12(3+(−1))=12×2=24.
So, the integrand is 224=12.
- For x∈[0,1): [x]=0, [sinx]=0, [cosx]=0.
Denominator: 3+0+0=3.
Numerator: 12(3+0)=12×3=36.
So, the integrand is 336=12.
- For x∈[1,2π]: [x]=1, [sinx]=0 for x∈[1,2π), [cosx]=0.
Denominator: 3+0+0=3.
Numerator: 12(3+1)=12×4=48.
So, the integrand is 348=16 (and at x=2π, it is 12, but this point has measure zero).
The integral is split accordingly:
∫−2π2πf(x)dx=∫−2π−16dx+∫−1012dx+∫0112dx+∫12π16dx
Evaluating each integral:
- ∫−2π−16dx=6[x]−2π−1=6[−1−(−2π)]=6(−1+2π)=−6+3π
- ∫−1012dx=12[x]−10=12[0−(−1)]=12×1=12
- ∫0112dx=12[x]01=12(1−0)=12
- ∫12π16dx=16[x]12π=16(2π−1)=16×2π−16×1=8π−16
Summing these results:
(−6+3π)+12+12+(8π−16)=3π+8π+(−6+12+12−16)=11π+(24−22)=11π+2
Thus, the integral evaluates to 11π+2.