Let f(x)={x} the fractional part of x then
∫−11 f(x)dx is equal to
1
2
0
1/2
f(x)=x−[x] so ∫−11 f(x)dx=∫−10 (x+1)dx+∫01 xdx
=0−12−1+12=1