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

Differentiate the following functions with respect to x:
$\cos^{-1}\Big\{\frac{\cos\text{x}+\sin\text{x}}{\sqrt{2}}\Big\},-\frac{\pi}{4}<\text{x}<\frac{\pi}{4}$
Differentiate the following functions with respect to x:
$\log(\text{x}+\sqrt{\text{x}^2+1})$
If $\sin^2\text{y}+\cos\text{xy}=\text{k},$ find $\frac{\text{dy}}{\text{dx}}$ at $\text{x}=1,\text{y}=\frac{\pi}{4}$
Find the area enclosed by the curve $\text{x}=3\cos\text{t}, \text{y}=2\sin\text{t}.$
Probability of solving specific problem independently by A and B are $\frac{1}{2}\ \text{and}\ \frac{1}{3}$ respectively.

If both try to solve the problem independently, find the probability that

  1. The problem is solved.
  2. Exactly one of them solves the problem.
If $\text{A}=\begin{bmatrix}2&-3&-5\\-1&4&5\\1&-3&-4\end{bmatrix}$ and $\text{B}=\begin{bmatrix}-1&3&5\\1&-3&-5\\-1&3&5\end{bmatrix},$ show that AB = BA = O3×3
Maximize Z = 50x + 30y
Subject to
$2\text{x}+\text{y}\leq18$
$3\text{x}+2\text{y}\leq34$
$\text{x},\text{y}\geq0$
Without expanding, show that the values of the following determinant are zero:
$\begin{vmatrix}\sqrt{23}+\sqrt{3}&\sqrt{5}&\sqrt{5}\\\sqrt{15}+\sqrt{46}&5&\sqrt{10}\\3+\sqrt{115}&\sqrt{15}&5\end{vmatrix}$
Verify Lagrange's mean value theorem for the following function on the indicated intervals. find a point 'c' in the indicated interval as stated by the Lagrange's mean value theorem.
f(x) = x3 - 2x2 - x + 3 on [0, 1]
Coloured balls are distributed in four boxes as shown in the following table:
Box
Colour
Black
White
Red
Blue
I
II
III
IV
3
2
1
4
4
2
2
3
5
2
3
1
6
2
1
5
A box is selected at random and then a ball is randomly drawn from the selected box. The colour of the ball is black, what is the probability that ball drawn is from the box III.