# Math Help - Integrate the following equation

1. ## Integrate the following equation

Question : Integrate $\int_{-1}^{1} |1- x| dx$

2. Originally Posted by zorro
Question : Integrate $\int_{-1}^{1} |1- x| dx$
Note that $|1 - x| = 1 - x$ when $x < 1$ and | $1 - x| = -(1 - x) = x - 1$ when $x \geq 1$.

3. or note that the integrand is non-negative for $-1\le x\le1,$ so the absolute value is irrelevant there and you can simply evaluate $\int_{-1}^1(1-x)\,dx.$

4. Originally Posted by zorro
Question : Integrate $\int_{-1}^{1} |1- x| dx$
$\forall x\in [-1,1],1-x\geq 0$

5. ## Is this correct?

Originally Posted by Raoh
$\forall x\in [-1,1],1-x\geq 0$

$\int_{-1}^{1} |1-x|dx \$= $\int_{-1}^{1} (1-x)dx$ = ........ = $2$

Is this correct???

6. Originally Posted by zorro
$\int_{-1}^{1} |1-x|dx \$= $\int_{-1}^{1} (1-x)dx$ = ........ = $2$

Is this correct???
i believe you're right