Question
Evaluate the definite integral in Exercise:
$\int^{4}_{1}[\text{x}-1|+|\text{x}-2|+|\text{x}-3|]\text{dx}$

Answer

$\text{Let I}=\int^{4}_{1}[\text{x}-1|+|\text{x}-2|+|\text{x}-3|]\text{dx}$
$\Rightarrow\text{I}=\int^{4}_{1}\text{x}-1|\text{dx}+\int^{4}\limits_{1}|\text{x}-2|\text{dx}+\int^{4}\limits_{1}|\text{x}-3|\text{dx}$
$\text{I}=\text{I}_{1}+\text{I}_{2}+\text{I}_{3}$
where,$\text{I}_{1}=\int^{4}\limits_{1}\text{x}-1|\text{dx},\text{I}_{1}=\int^{4}\limits_{1}|\text{x}-2|\text{dx},$and $\text{I}_{3}=\int^{4}\limits_{1}\text{x}-3|\text{dx}$
$\text{I}_{1}=\int^{4}_{1}|\text{x}-1|\text{dx}$
$(\text{x}-1)\geq0$ for $1\le\text{x}\le4$
$\therefore\text{I}_{1}=\int^{4}\limits_{1}(\text{x}-1)\text{dx}$
$\Rightarrow\text{I}_{1}=\bigg[\frac{\text{x}^{2}}{\text{2}}-\text{x}\bigg]^{4}_{1}$
$\Rightarrow\text{I}_{1}=\bigg[8-4-\frac{1}{2}+1\bigg]=8-4+\frac{1}{2}$
$\text{I}_{2}=\int^{4}\limits_{1}|\text{x}-2|\text{dx}$
$\text{x}-2\ge0$ for $2\le\text{x}\le4$ and $\text{x}-2\le0$ for $1\le\text{x}\le2$
$\therefore\ \text{I}_{2}=\int^{2}\limits_{1}(2-\text{x)}\text{dx}+\int^{4}\limits_{2}(\text{x}-2)\text{dx}$
$\Rightarrow\ \text{I}_{2}=\bigg[2\text{x}-\frac{\text{x}^{2}}{2}\bigg]^{2}_{1}+\bigg[\frac{\text{x}^{2}}{2}-2\text{x}\bigg]^{4}_{2}$
$\Rightarrow\ \text{I}_{2}=\bigg[4-2-2+\frac{1}{2}\bigg]+\bigg[8-8-2+4\bigg]$
$\Rightarrow\ \text{I}_{2}=\frac{1}{2}+2=\frac{5}{2}$
$\text{I}_{3}=\int^{4}\limits_{1}|\text{x}-3|\text{dx}$
$\text{x}-3\ge0$ for $3\le\text{x}\le4$ and $\text{x}-3\le$ for $1\le\text{x}\le3$
$\therefore\text{I}_{3}=\int^{3}\limits_{1}(3-\text{x})\text{dx}+\int^{4}\limits_{3}(\text{x}-3)\text{dx}$
$\Rightarrow\ \text{I}_{3}=\bigg[3\text{x}-\frac{\text{x}^{2}}{2}\bigg]^{3}_{1}+\bigg[\frac{\text{x}^{2}}{2}-3\text{x}\bigg]^{4}_{3}$
$\Rightarrow\ \text{I}_{3}=\bigg[9-\frac{9}{2}-3+\frac{1}{2}\bigg]+\bigg[8-12-\frac{9}{2}+9\bigg]$
$\Rightarrow\ \text{I}_{3}=\big[6-4\big]+\bigg[\frac{1}{2}\bigg]=\frac{5}{2}$
From equation (1),(2),(3), and (4), we obtain
$\text{I}=\frac{9}{2}+\frac{5}{2}+\frac{5}{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 dietician has to develop a special diet using two foods P and Q. Each packet (containing 30g) of food P contains 12 units of calcium, 4 units of iron, 6 units of cholesterol and 6 units of vitamin A. Each packet of the same quantity of food Q contains 3 units of calcium, 20 units of iron, 4 units of cholesterol and 3 units of vitamin A. The diet requires atleast 240 units of calcium, atleast 460 units of iron and at most 300 units of cholesterol. How many packets of each food should be used to minimise the amount of vitamin A in the diet? What is the minimum Amount of vitamin A.
Show that the plane vector equation is $\vec{\text{r}}\cdot(\hat{\text{i}}+2\hat{\text{j}}-\hat{\text{k}})=1$ and the line whose vector equation is $\vec{\text{r}}=(-\hat{\text{i}}+\hat{\text{j}}+\hat{\text{k}})+\lambda(2\hat{\text{i}}+\hat{\text{j}}+4\hat{\text{k}})$ are parallel. Also, find the distance between them.
Solve the following differential equation
$\frac{\text{dy}}{\text{dx}}=\tan^{-1}\text{x}$
Find the equation of the plane passing through the line of intersection of the planes 2x - y = 0 and 3z - y= 0 and perpendicular to the plane 4x + 5y - 3z = 8.
If the area bounded by the parabola y2 = 4ax and the line y = mx is $\frac{\text{a}^2}{12}\text{ sq.}$ units, then using integration, find the value of m.
Differentiate the following with respect to x:
 $\sin^{-1}\bigg(\frac{2^{\text{x} + 1}.3^{\text{x}}}{1 + (36)^{\text{x}}}\bigg)$ 
A girl walks 4 km towards west, then she walks 3 km in a direction 30° east of north and stops. Determine the girl's displacement from her initial point of departure.
Find $\frac{\text{dy}}{\text{dx}}$
$\text{y}=(\sin\text{x})^{\cos\text{x}}+(\cos\text{x})^{\sin\text{x}}$
Three cards are drawn successively, without replacement from a pack of 52 well shuffled cards. What is the probability that first two cards are kings and third card drawn is an ace?
Find the particular solution of the differential equation $ \frac { d y } { d x } + y \cot x = 2 x + x ^ { 2 } \cot x $ ($ x \neq 0$) given that y = 0, when $ x = \frac { \pi } { 2 }$.