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

Solve the following differential equations:
$\sqrt{1+\text{x}^2+\text{y}^2+\text{x}^2\text{y}^2}+\text{xy}\ \frac{\text{dy}}{\text{dx}}=0$
Let A be the set of all human beings in a town at a particular time. Determine whether the following relations are reflexive, symmetric and transitive:
R = {(x, y): x and y live in the same locality}
Verify Rolle's theorem for the following function on the indicated intervals $f(x) = x(x^- 2)^2$​​​​​​​ on the interval $[0, 2]$
A manufacturer has three machine I, II, III installed in his factory. Machines I and II are capable of being operated for at most 12 hours whereas machine III must be operated for atleast 5 hours a day. She produces only two items M and N each requiring the use of all the three machines.
The number of hours required for producing 1 unit each of M and N on the three machines are given in the following table:
Item
Number of hours required on machines
 
I
II
III
M
1
2
1
N
2
1
1.25
She makes a profit of Rs. 600 and Rs. 400 on items M and N respectively. How many of each item should she produce so as to maximise her profit assuming that she can sell all the items that she produced? What will be the maximum profit?
Solve the following equations by the methods of inversion : $5x – y +4z = 5, 2x + 3y + 5z = 2$ and $5x – 2y + 6z = -1$
Prove the following results:
$2\tan^{-1}\frac{1}{5}+\tan^{-1}\frac{1}{8}=\tan^{-1}\frac{4}{7}$
Evaluate the following integrals:$\int\limits^{\pi}_2\log(1-\cos\text{x})\text{dx}$
Evaluate the following definite integrals:$\int_{0}^\limits{\frac{\pi}{2}}\text{x}^2\cos^2\text{x}\text{ dx}$
Find the intervals in which the following functions are increasing or decreasing.
$f(x) = 2x^3 - 15x^2 + 36x + 1$
$\int\frac{\text{x}^2+3\text{x}-1}{(\text{x}+1)^2}\text{dx}$