Solveeit Logo

Question

Mathematics Question on Methods of Integration

08x5dx\int\limits_{0}^{8}| x -5| d x is equal to

A

17

B

9

C

12

D

18

Answer

17

Explanation

Solution

By splitting x5|x-5|
x5=[x5,x5\Rightarrow x-5=[x-5, x \geq 5
[x+5,x<5[-x+5, x< 5
=05(x+5)dx+58(x5)dx=\int\limits_{0}^{5}(-x+5) d x+\int\limits_{5}^{8}(x-5) d x
=[x22+5x]05+[x225x]58=\left[\frac{-x^{2}}{2}+5 x\right]_{0}^{5}+\left[\frac{-x^{2}}{2}-5 x\right]_{5}^{8}
=252+25+6422540+25=\frac{-25}{2}+25+\frac{64}{2}-25-40+25
=17=17