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

If $\text{P}=\begin{bmatrix}\text{x}&0&0\\0&\text{y}&0\\0&0&\text{z}\end{bmatrix}$ and $\text{Q}=\begin{bmatrix}\text{a}&0&0\\0&\text{b}&0\\0&0&\text{c}\end{bmatrix},$ prove that $\text{PQ}=\begin{bmatrix}\text{xa}&0&0\\0&\text{y}\text{b}&0\\0&0&\text{zc}\end{bmatrix}=\text{QP}$
$\begin{vmatrix}0&\text{b}^2\text{a}&\text{c}^2\text{a}\\\text{a}^2\text{b}&0&\text{c}^2\text{b}\\\text{a}^2\text{c}&\text{b}^2\text{c}&0\end{vmatrix}=2\text{a}^3\text{b}^3\text{c}^3$
The equation of tangent at (2, 3) on the curve $y^{2} = \text{ax}^{3} + \text{b is y = 4x - 5}. $ Find the value of a and b.
A manufacturer of patent medicines is preparing a production plan on medicines, $A$ and $B.$ There are sufficient raw materials available to make $20000$ bottles of $A$ and $40000$ bottles of $B,$ but there are only $45000$ bottles into which either of the medicines can be put. Further, it takes $3$ hours to prepare enough material to fill $1000$ bottles of $A,$ it takes $1$ hour to prepare enough material to fill $1000$ bottles of $B$ and there are $66$ hours available for this operation. The profit is $Rs. 8$ per bottle for $A$ and $Rs. 7$ per bottle for $B.$ How should the manufacturer schedule his production in order to maximize his profit?
Solve the following differential equation
$(1+\text{x})^2\frac{\text{dy}}{\text{dx}}-\text{x}=2\tan^{-1}\text{x}$
An insurance company insured $2000$ scooter drivers, $4000$ car drivers and 6000 truck drivers. The probability of an accidents are $0.01, 0.03$ and $0.15$ respectively. One of the insured persons meets with an accident. What is the probability that he is a scooter driver?
Evaluate the definite integral in Exercise:
$\int^{4}_{1}[\text{x}-1|+|\text{x}-2|+|\text{x}-3|]\text{dx}$
Solve the following differential equation
$(\text{x}^2+1)\frac{\text{dy}}{\text{dx}}=1$
Evaluate the following integrals:
$\int(2\text{x}-5)\sqrt{\text{x}^2-4\text{x}+3}\text{dx}$
Prove that $\tan^{-1}\bigg(\frac{\sqrt{1+\text{x}^2}+\sqrt{1-\text{x}^2}}{\sqrt{1+\text{x}^2}-\sqrt{1-\text{x}^2}}\bigg)=\frac{\pi}{4}+\frac{1}{2}\cos^{-1}\text{x}^2.$