Solution:
Since x+2≤0 on [−5,−2] and x+2≥0 on [−2,5],
∣x+2∣={−(x+2),x+2,−5≤x≤−2−2≤x≤5
Using property P2: ∫abf(x)dx=∫acf(x)dx+∫cbf(x)dx,
∫−55∣x+2∣dx=∫−5−2−(x+2)dx+∫−25(x+2)dx
Integrating,
=−[2(x+2)2]−5−2+[2(x+2)2]−25
Substituting the limits,
=−(0−29)+(249−0)=29+249
Therefore,
∫−55∣x+2∣dx=29
Hence, the value of the integral is 29.