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

Show that the points $\text{A}\big(2\hat{\text{i}}-\hat{\text{j}}+\hat{\text{k}}\big),\ \text{B}\big(\hat{\text{i}}-3\hat{\text{j}}-5\hat{\text{k}}\big),$ $\text{C}\big(3\hat{\text{i}}-4\hat{\text{j}}-4\hat{\text{k}}\big)$ are the vertices of a right angled triangle.
Coloured balls are distributed in three bags as shown in the following table:
Bag Colour of the ball
Black White Red
I 1 2 3
II 2 4 1
III 4 5 3
A bag is selected at random and then two balls are randomly drawn from the selected bag. They happen to be black and red. What is the probability that they came from bag I?
The probability of a shooter hitting a target is $\frac{3}{4}.$ How many minimum number of times must he/she fire so that the probability of hitting the target at least once is more than 0.99?
Evaluate the following intregals: $\int\frac{1}{1-2\sin\text{x}}\ \text{dx}$
Form the differential equation of the family of curves represented by the equation (a being the perimeter):$(2\text{x}+\text{a})^2+\text{y}^2=\text{a}^2$
Find the equation of the perpendicular drawn from the point P(-1, 3, 2) to the line $\vec{\text{r}}=\big(2\hat{\text{j}}+3\hat{\text{k}}\big)+\lambda\big(2\hat{\text{i}}+\hat{\text{j}}+3\hat{\text{k}}\big).$ Also, find the coordinates of the foot of the perpendicular from P.
Evaluate the following integrals as limit of sum:
$\int\limits^{2}_{0}\big(\text{x}^2+2\big)\text{dx}$
If the axes are rectangular and p is the point (2, 3, -1), find the equation of the plane throught p at right angles to OP.
Using differentials, find the approximate values of the following:
$\sqrt{25.02}$
Explain if Rolle's theorem is applicable to any one of the following functions.
  1. $\text{f}(\text{x})=[\text{x}]\text{ on }\text{x}\in[5,9]$
  2. $\text{f}(\text{x})=[\text{x}]\text{ on }\text{x}\in[-2,2]$
Can you say something about the converse of Rolle's Theorem from these functions?