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 equation of the plane through the line of intersection of the planes x + y + z = 1 and 2x + 3y + 4z = 5 and twice of its y-intercept is equal to three times its z-intercept.
A bag $A$ contains $2$ white and $3$ red balls and a bag $B$ contains $4$ white and $5$ red balls. One ball is drawn at random from one of the bags and is found to be red. Find the probability that it was drawn from bag $B.$
A balloon in the form of a right circular cone surmounted by a hemisphere, having a diametre equal to the height of the cone, is being inflated. How fast is its volume changing with respect to its total height h, when h = 9cm.
Differentiate the following functions with respect to x:
$\tan^{-1}\Big(\frac{\text{x}-\text{a}}{\text{x}+\text{a}}\Big)$
Differentiate the following functions from first principles:
$\text{e}^{\sqrt{\cot\text{x}}}$
There are two types of fertilizers $F_1$ and $F_2 . F_1$ consists of $10 \%$ nitrogen and $6 \%$ phosphoric acid and $F_2$ consists of $5 \%$ nitrogen and $10 \%$ phosphoric acid. After testing the soil conditions, a farmer finds the she needs atleast $14 \ kg$ of nitrogen and $14 \ kg$ of phosphoric acid for her crop. If $F _1$ costs Rs $6 / kg$ and $F _2$ costs $Rs 5 / kg$, determine how much of each type of fertilizer should be used so that the nutrient requirements are met at minimum cost. What is the minimum cost?
Find the equations of the tangent and the normal to the following curves at the indicated points.
$\text{xy}=\text{c}^2\text{ at }\big(\text{ct},\frac{\text{c}}{\text{t}}\big)$
A coin is tossed three times. Let the events A, B and C be defined as follows:
A = first toss is head, B = second toss is head, and C = exactly two heads are tossed in a row. Check the independence of,
  1. A and B.
  2. B and C.
  3. C and A.
If the points with position vectors $10\hat{\text{i}}+3\hat{\text{j}},\ 12\hat{\text{i}}-5\hat{\text{j}}$ and $\text{a}\hat{\text{i}}+11\hat{\text{j}}$ are collinear, find the value of a.
Using vectors find the area of the triangle with vertices, A(2, 3, 5), B(3, 5, 8) and C(2, 7, 8).