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

Verify Lagrange's mean value theorem for the following function on the indicated intervals. find a point 'c' in the indicated interval as stated by the Lagrange's mean value theorem.
f(x) = 2x - xon [0, 1]
Differentiate the following functions with respect to x:
$\tan^{-1}\Big(\frac{\text{a}+\text{b}\tan\text{x}}{\text{b}-\text{a}\tan\text{x}}\Big)$
Solve the following differential equations:

$\text{y}(1+\text{e}^{\text{x}})\text{dy}=(\text{y}+1)\text{e}^{\text{x}}\text{ dx}$

Let $\text{f}:[-1,\infty)\rightarrow[-1,\infty)$ be given by f(x) = (x + 1)2 - 1, $\text{x}\geq-1.$ Show that f is invertible. Also, find the set S = {x : f(x) = f-1(x)}.
Show that $\begin{vmatrix}\text{x}-3&\text{x}-4&\text{x}-\alpha\\\text{x}-2&\text{x}-3&\text{x}-\beta\\\text{x}-1&\text{x}-2&\text{x}-\gamma\end{vmatrix}=0,$ where $\alpha,\beta,\gamma$ are in A.P.
Evaluate the following intregals:
$\int\frac{\text{x}+2}{\sqrt{\text{x}^2-1}}\text{dx}$
In the following, determine the values of constants involved in the definition so that the given function is continuous:
$\text{f(x)}=\begin{cases}2,&\text{if }\text{ x}\leq3\\\text{ax}+\text{b},&\text{if }3<\text{ x}<5\\9,&\text{if }\text{ x}\geq5\end{cases}$
Solve the following differential equation:

$\frac{\text{dy}}{\text{dx}}+\text{y}=\text{e}^{-2\text{x}}$

Evaluate the following integrals:
$\int(3\text{x}+1)\sqrt{4-3\text{x}-2\text{x}^2}\text{dx}$
Show that the points A(-1, 4, -3), B(3, 2, -5), C(-3, 8, -5) and D(-3, 2, 1) are coplanar.