The absolute value ∣x+3∣ changes definition at x=−3:
When x<−3: ∣x+3∣=−x−3
When x≥−3: ∣x+3∣=x+3
Since the function changes at x=−3, the integral must be split:
∫−55∣x+3∣dx=∫−5−3∣x+3∣dx+∫−35∣x+3∣dx
For −5≤x<−3, we have ∣x+3∣=−x−3:
∫−5−3(−x−3)dx=[−2x2−3x]−5−3
At x=−3:
−2(−3)2−3(−3)=−29+9=29
At x=−5:
−2(−5)2−3(−5)=−225+15=25
Result: 29−25=2
For −3≤x≤5, we have ∣x+3∣=x+3:
∫−35(x+3)dx=[2x2+3x]−35
At x=5:
2(5)2+3(5)=225+15=255
At x=−3:
2(−3)2+3(−3)=29−9=−29
Result: 255−(−29)=255+29=32
Total: 2+32=34
Therefore, ∫−55∣x+3∣dx=34