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

Solve the following differential equation:
$\text{x}\frac{\text{dy}}{\text{dx}}+\text{y}=\text{x}\log\text{x}$
Evaluate the following definite integrals:
$\int_{0}^\limits{\frac{\pi}{2}}\sqrt{1+\sin\text{x}}\text{ dx}$
At every point on a curve the slope is the sum of the abscissa and the product of the ordinate and the abscissa, and the curve passes through (0, 1). Find the equation of the curve.
Find $\frac{\text{dy}}{\text{dx}}$
$\text{y}=\text{x}^{\log\text{x}}+(\log\text{x}^\text{x})$
Verify mean value theorem for the function:
$\text{f(x)}=\sin\text{x}-\sin2\text{x in }[0,\pi].$
A die is thrown three times. Let X be ‘the number of twos seen’. Find the expectation of X.
A manufacturer of Furniture makes two products : chairs and tables. processing of these products is done on two machines $A$ and $B$. $A$ chair requires $2$ hrs on machine $A$ and $6$ hrs on machine $B$. $A$ table requires $4$ hrs on machine $A$ and $2$ hrs on machine $B.$ There are $16$ hrs of time per day available on machine $A$ and $30$ hrs on machine $B$. Profit gained by the manufacturer from a chair and a table is Rs. $3$ and Rs. $5$ respectively. Find with the help of graph what should be the daily production of each of the two products so as to maximize his profit.
There are three coins. One is two headed coin, another is a biased coin that comes up heads $75\%$ of the time and third is an unbiased coin. One of the three coins is chosen at random and tossed, it shows heads, what is the probability that it was the two headed coin?
Find the maximum slope of the curve $y = −x^3+ 3x^2+ 2x − 27.$
Using differentials, find the approximate values of the following:
$\sqrt{25.02}$