This lesson evaluates definite integrals containing a modulus by splitting the interval at the point where the inside of the absolute value changes sign, using property P2 from Exercise 7.10. Three questions are worked in full, and one is also solved with a shortcut formula.
The splitting property (P2)
The core tool is the property that an integral over an interval equals the sum of the integrals over its two parts, where c lies between a and b:
∫abf(x)dx=∫acf(x)dx+∫cbf(x)dx
For a modulus, we choose c to be the point where the expression inside changes sign, and use the definition
∣u∣={u−uu≥0u<0
Question 5: ∫−55∣x+2∣dx
Here x+2≥0 when x≥−2 and x+2<0 when x<−2, so the sign changes at c=−2. Split there:
∫−55∣x+2∣dx=∫−5−2−(x+2)dx+∫−25(x+2)dx
Left piece
∫−5−2−(x+2)dx=[−(2x2+2x)]−5−2=−[(2−4)−(225−10)]=29
Right piece
∫−25(x+2)dx=[2x2+2x]−25=(225+10)−(2−4)=249
Adding the two pieces:
29+249=258=29
Question 6: ∫28∣x−5∣dx
Now x−5≥0 when x≥5 and x−5<0 when x<5, so c=5, which lies between 2 and 8. Split there:
∫28∣x−5∣dx=∫25−(x−5)dx+∫58(x−5)dx
Left piece
∫25−(x−5)dx=[−(2x2−5x)]25=−[(225−25)−(2−10)]=29
Right piece
∫58(x−5)dx=[2x2−5x]58=(32−40)−(225−25)=29
Adding the pieces:
29+29=9
Question 5 again, using a shortcut
The same integral can be done with the formula
∫∣u∣du=2u∣u∣
Applied to ∣x+2∣:
∫−55∣x+2∣dx=[2(x+2)∣x+2∣]−55=27⋅7−2(−3)⋅3=249+29=29
which matches the answer found by splitting.
Question 18: ∫04∣x−1∣dx
Here x−1≥0 when x≥1 and x−1<0 when x<1, so c=1. Split there:
∫04∣x−1∣dx=∫01−(x−1)dx+∫14(x−1)dx
Left piece
∫01−(x−1)dx=[−(2x2−x)]01=−[(21−1)−0]=21
Right piece
∫14(x−1)dx=[2x2−x]14=(8−4)−(21−1)=29
Adding the pieces:
21+29=210=5
Key takeaways
- To integrate a modulus, split the interval at the point c where the inside changes sign, and use ∫ab=∫ac+∫cb.
- On each piece, replace ∣u∣ by u where u≥0 and by −u where u<0, then integrate as normal.
- For a simple linear inside, the shortcut ∫∣u∣du=2u∣u∣ gives the same result more quickly.