Question
Mathematics Question on integral
By using the properties of definite integrals, evaluate the integral: ∫04∣x−1∣dx
Answer
I=∫04∣x−1∣dx
It can be seen that,(x−1)≤0 when 0≤x≤1and(x−1)≥0 when1≤x≤4
I=∫01∣x−1∣dx+∫14∣x−1∣dx ∵∫abf(x)=∫0af(x)+∫bcf(x)
=∫01−(x−1)dx+∫04(x−1)dx
=1−(21)+2(42)−4−(21)+1
=5