# Integrate the following equation

• December 14th 2009, 03:43 AM
zorro
Integrate the following equation
Question : Integrate $\int_{-1}^{1} |1- x| dx$
• December 14th 2009, 03:47 AM
mr fantastic
Quote:

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$.
• December 14th 2009, 04:51 AM
Krizalid
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.$
• December 14th 2009, 05:05 AM
Raoh
Quote:

Originally Posted by zorro
Question : Integrate $\int_{-1}^{1} |1- x| dx$

$\forall x\in [-1,1],1-x\geq 0$
• December 14th 2009, 12:18 PM
zorro
Is this correct?
Quote:

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???
• December 14th 2009, 12:28 PM
Raoh
Quote:

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(Nod)