Question
Evaluate the following integrals:
$\int\limits^4_1\big\{|\text{x}-1|+|\text{x}-2|+|\text{x}-4\big\}\text{dx}$

Answer

$\text{I}=\int\limits^4_1\big\{|\text{x}-1|+|\text{x}-2|+|\text{x}-4\big\}\text{dx}$
$\Rightarrow\text{I}=\int\limits^4_1|\text{x}-1|\text{dx}+\int\limits^4_1|\text{x}-2|\text{dx}+\int\limits^4_1|\text{x}-4|\text{dx}$
We know that,
$|\text{x}-2|=\begin{cases}-(\text{x}-1),&\text{x}\leq1\\\text{x}-1,&1<\text{x}\leq4\end{cases}$
$|\text{x}-2|=\begin{cases}-(\text{x}-2),&1\leq\text{x}\leq2\\\text{x}-2,&2<\text{x}\leq4\end{cases}$
$|\text{x}-4|=\begin{cases}-(\text{x}-4),&1\leq\text{x}\leq4\\\text{x}-4,&\text{x}>4\end{cases}$
$\therefore\ \text{I}=\int\limits^4_1(\text{x}-1)\text{dx}-\int\limits^2_1(\text{x}-2)\text{dx}+\int\limits^4_2(\text{x}-2)\text{dx}-\int\limits^4_1(\text{x}-4)\text{dx}$
$\Rightarrow\text{I}=\Big[\frac{\text{x}^2}{2}-\text{x}\Big]^4_1-\Big[\frac{\text{x}^2}{2}-\text{x}\Big]^2_1+\Big[\frac{\text{x}^2}{2}-\text{x}\Big]^4_2-\Big[\frac{\text{x}^2}{2}-\text{x}\Big]^4_1$
$\Rightarrow\text{I}=8-4-\frac{1}{2}+1-\Big(2-4-\frac{1}{2}+2\Big)+8-8-2+4-\Big(8-16-\frac{1}{2}+4\Big)$
$\Rightarrow\text{I}=\frac{23}{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 angle of intersecting of the following curves:
$\text{y}=4-\text{x}^2\text{ and }\text{y}=\text{x}^2$
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}\sin^2\text{A}&\cot\text{A}&1\\\sin^2\text{B}&\cot\text{B}&1\\\sin^2\text{C}&\cot\text{C}&1\end{vmatrix}$
Two tailors, A and B earn Rs. 15 and Rs. 20 per day respectively. A can stitch 6 shirts and 4 pants  while B can stitch 10 shirts and 4 pants per day. How many days shall each work if it is desired to produce (at least) 60 shirts and 32 pants at a minimum labour cost?
There are two types of fertilisers 'A' and 'B'. 'A' consists of 12% nitrogen and 5% phosphoric acid whereas 'B' consists of 4% nitrogen and 5% phosphoric acid. After testing the soil conditions, farmer finds that he needs at least 12kg of nitrogen and 12kg of phosphoric acid for his crops. If 'A' costs Rs. 10 per kg and 'B' cost Rs. 8 per kg, then graphically determine how much of each type of fertiliser should be used so that nutrient requiremnets are met at a minimum cost.
Find the differential equation of all the parabolas with latus rectum '4a' and whose axes are parallel to x-axis.
Show that the points A, B, C with position vectors $2\hat{\text{i}} - \hat{\text{j}} + \hat{\text{k}}, \hat{\text{i}} - 3\hat{\text{j}} - 5\hat{\text{k}} \text{ and } 3\hat{\text{i}} - 4\hat{\text{j}} - 4\hat{\text{k}}$ respectively, are the vertices of a right-angled triangle. Hence find the area of the triangle.
Solve the equation 
$\cos^{-1}\frac{\text{a}}{\text{x}}-\cos^{-1}\frac{\text{b}}{\text{x}}=\cos^{-1}\frac{1}{\text{b}}-\cos^{-1}\frac{1}{\text{b}}-\cos^{-1}\frac{1}{\text{a}}$
$\begin{bmatrix}2&3\\5&7\end{bmatrix}\begin{bmatrix}1&-3\\-2&4\end{bmatrix}=\begin{bmatrix}-4&6\\-9&\text{x}\end{bmatrix}$ find x.
Show that the following curves intersect orthogonally at the indicated points:
x2 = y and x3 + 6y = 7 at (1, 1)
Find the points on the curve $\frac{\text{x}^2}{4}+\frac{\text{y}^2}{25}=1$ at which the tangent are parallel to the
  1.  x-axis
  2. y-axis.