`int_0^2 |2x - 1| dx` Evaluate the integral

1 Answer

tiburtius's profile pic

tiburtius | High School Teacher | (Level 2) Educator

Posted on

We have to be careful because of the absolute value. We need to know where the function under absolute values is positive and when it is negative in the given interval. It is also a good idea to sketch the function.

Obviously, the point where the function changes sign is `x=1/2.` Therefore, we have  

`int_0^2|2x-1|dx=int_0^(1/2)-(2x-1)dx+int_(1/2)^2 (2x-1)dx=`



` `