# Absolute value in integral

1. Apr 24, 2010

### sara_87

1. The problem statement, all variables and given/known data

How do split

$$\int^1_{-1}\left| \frac{1}{2}+xt\right|dt$$

2. Relevant equations

3. The attempt at a solution

$$\int_{-1}^0 -\frac{1}{2}-xt dt+\int_0^1 \frac{1}{2}+xt dt$$

Im not sure if this is right, and if it is... i still dont understand how to split the absolute value part inside an integral.

thank you

2. Apr 24, 2010

### Cyosis

Do you know how to split up $|t|$? I suggest drawing a graph of $1/2+xt$ and look closely how it differs from $|t|$.