U draw the graph:
For -2<x<0,
min(x-[x],-x-[x])=x-[x]={x}
=>Area=1/2+1/2=1
For 0<x<2,
min(x-[x],-x-[x])=-x-[x]
=>Area=-1/2-5/2=-3
Total area=1-3=-2
(Hopefully)
limits -2 to 2 integrate min { x - [x] , - x - [x] } dx
[] denotes greatest integer function
U draw the graph:
For -2<x<0,
min(x-[x],-x-[x])=x-[x]={x}
=>Area=1/2+1/2=1
For 0<x<2,
min(x-[x],-x-[x])=-x-[x]
=>Area=-1/2-5/2=-3
Total area=1-3=-2
(Hopefully)
anurag`s method is correct.
otherwise ankit u can even try splitting into much cmaller intervals and then easily get result. and comeon u would be knowing the basic int x and {x} graphs na.