Case I. If 0≤a<b, then x∣x∣=1 ∴ I=a∫b1dx=b−a=∣b∣−∣a∣ Case ∣: If a<b≤0, then ∣x∣=−x ∴ I=a∫bx−xdx=a∫b(−1)dx=[−x]ab=−b−(−a)=∣b∣−∣a∣ Case III If a<0<b. then ∣x∣=−x when a<x<0 and ∣x∣=x when 0<x<bI=a∫bx∣x∣dx=a∫0x∣x∣dx+0∫bx∣x∣dx=a∫0x−xdx+0∫bxxdx=a∫0(−1)dx+0∫b(1)dx=[−x]a0+[x]0b=a+b=b−(−a)=∣b∣−∣a∣ Hence, in all cases, I=a∫bx∣x∣dx=∣b∣−∣a∣