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

A dealer in a rural area wishes to purchase some sewing machines. He has only to invest and has space for at most 20 items. An electronic machine costs him 3,600 and a manually operated machine costs 2,400. He can sell an electronic machine at a profit of 220 and a manually operated machine at a profit of 180. Assuming that he can sell all the machines that he buys, how should he invest his money in order to maximise his profit? Make it as a LPP and solve it graphically.
Find the intervals in which the function$ f(x) = 3x^4- 4x^3 - 12x^2 + 5$ is
  1. strictly increasing.
  2. strictly decreasing.
A merchant plans to sell two types of personal computers- a desktop model and a portable model that will cost Rs 25000 and Rs 40000 respectively. He estimates that the total monthly demand of computers will not exceed 250 units. Determine the number of units of each type of computers which the merchant should stock to get maximum profit if he does not want to invest more than Rs 70 lakhs and if his profit on the desktop model is Rs 4500 and on portable model is Rs 5000.
Integrate the rational function $\frac{3 x+5}{x^{3}-x^{2}-x+1}$
Find the equation of the plane which is perpendicular to the plane 5x + 3y + 6z + 8 = 0 and which contains the line of intersection of the planes x + 2y + 3z – 4 = 0 and 2x + y – z + 5 = 0.
Solve the following differential equations:
$\text{y}\sqrt{1+\text{x}^2}+\text{x}\sqrt{1+\text{y}^2}\ \frac{\text{dy}}{\text{dx}}=0$
Evaluate the following integrals:
$\int\limits^{\pi}_0\text{x}\sin^3\text{x}\text{ dx}$
Show that the following systems of linear equations is inconsistent:
3x - y + 2z = 3,
2x + y + 3z = 5,
x - 2y - z = 1
Prove by vector method that the internal bisectors of the angles of a triangle are concurrent.
Find the points on the curve $y = x^3 - 3x$, where the tangent to the curve is parallel to the chord joining $(1, -2)$ and $(2, 2)$.