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 intregals:
$\int\frac{\text{x}}{(\text{x}+1)(\text{x}^2+1)}\ \text{dx}$
If $\text{A}=\begin{bmatrix}0&\text{c}&-\text{b}\\-\text{c}&0&\text{a}\\\text{b}&-\text{a}&0\end{bmatrix}$ and $\text{B}=\begin{bmatrix}\text{a}^2&\text{ab}&\text{ac}\\\text{ab}&\text{b}^2&\text{bc}\\\text{ac}&\text{bc}&\text{c}^2\end{bmatrix},$ show that $AB = BA = O_{3 \times 3}$
Show that $\begin{vmatrix}\text{x}-3&\text{x}-4&\text{x}-\alpha\\\text{x}-2&\text{x}-3&\text{x}-\beta\\\text{x}-1&\text{x}-2&\text{x}-\gamma\end{vmatrix}=0,$ where $\alpha,\beta,\gamma$ are in A.P.
Evaluate the following intregals:
$\int\frac{1}{4\cos^2\text{x}+3\sin^2\text{x}}\ \text{dx}$
Find the angle between the lines whose direction ratios are proportional to a, b, c and b - c, c - a, a - b.
Show that the lines $\frac{\text{x}+4}{3}=\frac{\text{y}+6}{5}=\frac{\text{z}-1}{-2}$ and 3x - 2y + z + 5 = 0 = 2x + 3y + 4z - 4 intersect. Find the equation of the plane in which they lie and also their of intersection.
Find the points of discontinuity, if any of the following function:
$\text{f(x)}=​​\begin{cases}-2,&\text{if }\text{ x}\leq-1\\2\text{x},&\text{if }-1<\text{x}\leq1\\2,&\text{if }\text{ x}>1\end{cases}$
If $\big|\vec{\text{a}}+\vec{\text{b}}\big|=60,\big|\vec{\text{a}}-\vec{\text{b}}\big|=40$ and $\big|\vec{\text{b}}\big|=46,$ find $|\vec{\text{a}}|$
Find the angle of intersecting of the following curves: $\text{x}^2=27\text{y}$ and $\text{y}^2=8\text{x}$
Differentiate the following functions from first principles:
$\sin^{-1}(2\text{x}+3)$