Integration of Absolute Value Function

First of all remember the definition of Absolute Value,

So, we can define absolute value as a piecewise function. Now integrate the following absolute function.

Related Questions:

Solution:
Consider, x - 2 = 0 and x = 2 which is the turning point.
Now, check that,
x - 2 is negative if x < 2 and
x - 2 is positive if x > 2
So, we can write

Answer

Solution:


Answer