Question
Evaluate the following integrals:
$\int\limits^4_0|\text{x}-1|\text{dx}$

Answer

$\int\limits^4_0|\text{x}-1|\text{dx}$
We know that,
$|\text{x}-1|=\begin{cases}-(\text{x}-1),&0\leq\text{x}\leq1\\\text{x}-1,&1<\text{x}\leq4\end{cases}$
$\therefore\ \text{I}=\int\limits^4_0|\text{x}-1|\text{dx}$
$\Rightarrow\text{I}=\int\limits^{1}_0-(\text{x}-1)\text{dx}+\text{I}=\int\limits^{4}_1(\text{x}-1)\text{dx}$
$\Rightarrow\text{I}=\Big[-\frac{\text{x}^2}{2}+\text{x}\big]^1_0+\Big[\frac{\text{x}^2}{2}-\text{x}\big]^4_1$
$\Rightarrow\text{I}=\frac{-1}{2}+1-0+8-4-\frac{1}{2}+1$
$\Rightarrow\text{I}=5$

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free