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

Evaluate the following integrals:
$\int\frac{(\text{x}^2+1)(\text{x}^2+2)}{(\text{x}^2+3)(\text{x}^2+4)}\ \text{dx}$
Solve the following differential equation:
x dy – y dx = $\sqrt{\text{x}^{2}+\text{y}^{2}}\text{ dx}$ .
The radius of a sphere shrinks from 10 to 9.8cm. Find approximately the decrease in its volume.
A person buys a lottery ticket in 50 lotteries, in each of which his chance of winning a prize is $\frac{1}{100}.$ What is the probability that he will win a prize.
  1. at least once.
  2. exactly once.
  3. at least twice.
Show that the differential equation of xdy - ydx $= \sqrt { x ^ { 2 } + y ^ { 2 } } d x$, is homogeneous and solve it.
$\text{If x = a} (\cos 2\text{t +2t}\sin \text{2t}) \text{and y = a} (\sin \text{2t - 2t}\cos\text{2t}),\text{then find}\frac{\text{d}^{2}{\text{y}}}{\text{dx}^{2}}.$
Find all points of discontinuity of f, where
$\text{f(x)}=\begin{cases}\frac{\sin\text{x}}{\text{x}},\text{if x}<0\\ \text{x}+ 1, \text{if} \text{x}\geq0\end{cases}$
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?
Using Lagrange's mean value theorem, prove that
$(\text{b}-\text{a})\sec^2\text{a}<\tan\text{b}-\tan\text{a}<(\text{b}-\text{a})\sec^2\text{b}$
where $0<\text{a}<\text{b}<\frac{\pi}{2}.$
Evaluate the following integrals:
$\int\limits_{0}^{\frac{\pi}{2}}\frac{1}{5+4\sin\text{x}}\text{ dx}$