Question
Evaluate the following integrals:
$\int\limits^2_{-1}\big(|\text{x}+1|+|\text{x}|+|\text{x}-1|\big)\text{dx}$ 

Answer

We know that,
$\Rightarrow|\text{x}+1|=\begin{cases}\text{x}+1,&\text{ if }\text{ x}+1\geq0\\-(\text{x}+1),&\text{ if }\text{ x}+1<0\end{cases}\\=\begin{cases}\text{x}+1,&\text{ if }\text{ x}\geq-1\\-(\text{x}+1),&\text{ if }\text{ x}<-1\end{cases}$
$\Rightarrow|\text{x}|=\begin{cases}\text{x},&\text{ if }\text{ x}\geq0\\-\text{x},&\text{ if }\text{ x}<0\end{cases}$
$\Rightarrow|\text{x}-1|=\begin{cases}\text{x}-1,&\text{ if }\text{ x}-1\geq0\\-(\text{x}+1),&\text{ if }\text{ x}-1<0\end{cases}\\=\begin{cases}\text{x}-1,&\text{ if }\text{ x}\geq1\\-(\text{x}-1),&\text{ if }\text{ x}<1\end{cases}$
When $-1\leq\text{x}\leq0,$
$\Rightarrow|\text{x}+1|+|\text{x}|+|\text{x}-1|\\=\text{x}+1+(-\text{x})+\big[-(\text{x}-1)\big]\\=2-\text{x}$
When $0\leq\text{x}\leq1,$
$\Rightarrow|\text{x}+1|+|\text{x}|+|\text{x}-1|\\=\text{x}+1+\text{x}+\big[-(\text{x}-1)\big]\\=\text{x}+2$
When $1\leq\text{x}\leq2,$
$\Rightarrow|\text{x}+1|+|\text{x}|+|\text{x}-1|\\=\text{x}+1+\text{x}+\text{x}-1\\=3\text{x}$
$\therefore\ \int\limits^2_{-1}\big(|\text{x}+1|+|\text{x}|+|\text{x}-1|\big)\text{dx}$
$=\int\limits^0_{-1}(2-\text{x})\text{dx}+\int\limits^1_{0}(\text{x}+2)\text{dx}+\int\limits^2_{1}3\text{x dx}$
$=\bigg[\frac{(2-\text{x})^2}{2\times(-1)}\bigg]^0_{-1}+\bigg[\frac{(\text{x}+2)^2}{2}\bigg]^1_0+3\times\Big[\frac{\text{x}^2}{2}\Big]^2_1$
$=-\frac{1}{2}(4-9)+\frac{1}{2}(9-4)+\frac{3}{2}(4-1)$
$=\frac{5}{2}+\frac{5}{2}+\frac{9}{2}$
$=\frac{19}{2}$

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

Similar questions

Find the shortest distance between the following pairs of lines whose vector equation are:
$\vec{\text{r}}=\big(\hat{\text{i}}+\hat{\text{j}}\big)+\lambda\big(2\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}\big)$ and $\vec{\text{r}}=2\hat{\text{i}}+\hat{\text{j}}-\hat{\text{k}}+\mu\big(3\hat{\text{i}}-5\hat{\text{j}}+2\hat{\text{k}}\big)$
Test whether the following relations Rare:
  1. Reflexive.
  2. Symmetric.
  3. Transitive.
R1 on Q0 defined by $(\text{a, b})\in\text{R}_1\Leftrightarrow\ \text{a}=\frac{1}{\text{b}}.$
$\text{if} \overrightarrow{\text{r}} = x\hat{\text{i}} + y\hat{\text{j}} + z\hat{\text{k}}, \text{find} \overrightarrow(\text{r} \times \hat{\text{i}}). (\overrightarrow{\text{r}} \times \text{j}) + xy$
If xm + yn = 1, Prove that $\frac{\text{dy}}{\text{dx}}=-\frac{\text{my}}{\text{nx}}$
Evaluate the following intregals:
$\int\frac{1}{1+3\sin^2\text{x}}\text{ dx}$
Verify Rolle's theorem of the following function on the indicated interval
$\text{f}(\text{x})=\frac{\text{x}}{2}-\sin\frac{\pi\text{x}}{6}\text{ on }[-1,0]$
If either $\vec{\text{a}}=\vec{0}$ or $\vec{\text{b}}=\vec{0},$ then $\vec{\text{a}}.\vec{\text{b}}=0.$ But the converse need not be true. Justify your answer with an example.
Find the angle between the vectors with direction ratios proportional to 1, -2, 1 and 4, 3, 2.
If the straight line $\text{x}\cos\alpha+\text{y}\sin\alpha=\text{p}$ touches the curve $\frac{\text{x}^2}{\text{a}^2}+\frac{\text{y}^2}{\text{b}^2}=1,$ then prove that $\text{a}^2\cos^2\alpha+\text{b}^2\sin^2\alpha=\text{p}^2.$
If $\text{y}=\cos^{-1}(2\text{x})+2\cos^{-1}\sqrt{1-4\text{x}^2}, -\frac{1}{2}<\text{x}<0,$ find $\frac{\text{dy}}{\text{dx}}.$