
How do you evaluate the definite integral $\int{\left| x-1 \right|dx}$ from $\left[ 0,5 \right]$ ?
Answer
539.7k+ views
Hint: At first we find out in which interval $\left| x-1 \right|$ is negative. We then divide the integral at the point of discontinuity and carry out the integration separately by applying the required formulae of integration.
Complete step-by-step solution:
The given definite integral is
$\int\limits_{0}^{5}{\left| x-1 \right|dx}$
Let us first analyse the function $\left| x-1 \right|$ . We know that,
$x-1\to \left\{ \begin{align}
& <0,x<1 \\
& >0,x>1 \\
& =0,x=1 \\
\end{align} \right\}$
Thus, we can say that
$\left| x-1 \right|=\left\{ \begin{align}
& x-1,x>1 \\
& -\left( x-1 \right),x<1 \\
\end{align} \right\}$
This means that there exists a discontinuity at $x=1$ . So, we need to break the integral at $x=1$ and perform the integrations separately. The integral can be written as,
$\Rightarrow \int\limits_{0}^{5}{\left| x-1 \right|dx}=\int\limits_{0}^{1}{\left| x-1 \right|dx}+\int\limits_{1}^{5}{\left| x-1 \right|dx}$
We have shown earlier that $\left| x-1 \right|$ can be written as $-\left( x-1 \right)$ in the interval $[0,1)$ and as $\left( x-1 \right)$ in the interval $(1,5]$ . The integral thus becomes,
$\Rightarrow \int\limits_{0}^{1}{\left| x-1 \right|dx}+\int\limits_{1}^{5}{\left| x-1 \right|dx}=\int\limits_{0}^{1}{-\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}$
Now, we can write $\int\limits_{0}^{1}{-\left( x-1 \right)dx}$ as $\int\limits_{1}^{0}{\left( x-1 \right)dx}$ . Rewriting the integral, we get,
$\Rightarrow \int\limits_{0}^{1}{-\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}....equation1$
Let us first integral $\left( x-1 \right)$ as a definite integral.
$\int{\left( x-1 \right)dx}=\int{xdx}-\int{1.dx}$
We know that the integration of $\int{{{x}^{n}}dx}=\dfrac{{{x}^{n+1}}}{n+1}$ . Applying this formula in the above integration, we get,
$\Rightarrow \int{\left( x-1 \right)dx}=\dfrac{{{x}^{1+1}}}{1+1}-\dfrac{{{x}^{0+1}}}{0+1}$
Which gets simplified to
$\Rightarrow \int{\left( x-1 \right)dx}=\dfrac{{{x}^{2}}}{2}-x$
Applying this integration to $equation1$ we get,
$\Rightarrow \int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\left( \dfrac{{{x}^{2}}}{2}-x \right)_{1}^{0}+\left( \dfrac{{{x}^{2}}}{2}-x \right)_{1}^{5}$
Which we can evaluate by applying the limits. The integration thus becomes
$\Rightarrow \int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\left( 0-\left( \dfrac{{{1}^{2}}}{2}-1 \right) \right)+\left( \left( \dfrac{{{5}^{2}}}{2}-5 \right)-\left( \dfrac{{{1}^{2}}}{2}-1 \right) \right)$
Further simplification of the expression gives us,
$\Rightarrow \int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\left( \dfrac{1}{2} \right)+\left( \dfrac{15}{2}+\dfrac{1}{2} \right)$
Performing the additions and subtractions, the integration becomes,
$\Rightarrow \int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\left( \dfrac{15}{2}+\dfrac{2}{2} \right)$
Which finally gives
$\Rightarrow \int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\dfrac{17}{2}$
Therefore, we can conclude that the definite integral $\int{\left| x-1 \right|dx}$ from $\left[ 0,5 \right]$ can be evaluated to $\dfrac{17}{2}$ .
Note: We must remember that the modular function only gives positive outputs. Therefore, we must carefully find out at which point or points the function has zero value and based upon that, we analyse the intervals where the function is positive or negative. We can also solve the problem using the graphical method. We draw the graph of $\left| x-1 \right|$ and note the region within which we have to integrate. Here, the area under the graph will be two triangles and thus knowing the important points on the graph, we can easily find out the area under the graph.
Complete step-by-step solution:
The given definite integral is
$\int\limits_{0}^{5}{\left| x-1 \right|dx}$
Let us first analyse the function $\left| x-1 \right|$ . We know that,
$x-1\to \left\{ \begin{align}
& <0,x<1 \\
& >0,x>1 \\
& =0,x=1 \\
\end{align} \right\}$
Thus, we can say that
$\left| x-1 \right|=\left\{ \begin{align}
& x-1,x>1 \\
& -\left( x-1 \right),x<1 \\
\end{align} \right\}$
This means that there exists a discontinuity at $x=1$ . So, we need to break the integral at $x=1$ and perform the integrations separately. The integral can be written as,
$\Rightarrow \int\limits_{0}^{5}{\left| x-1 \right|dx}=\int\limits_{0}^{1}{\left| x-1 \right|dx}+\int\limits_{1}^{5}{\left| x-1 \right|dx}$
We have shown earlier that $\left| x-1 \right|$ can be written as $-\left( x-1 \right)$ in the interval $[0,1)$ and as $\left( x-1 \right)$ in the interval $(1,5]$ . The integral thus becomes,
$\Rightarrow \int\limits_{0}^{1}{\left| x-1 \right|dx}+\int\limits_{1}^{5}{\left| x-1 \right|dx}=\int\limits_{0}^{1}{-\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}$
Now, we can write $\int\limits_{0}^{1}{-\left( x-1 \right)dx}$ as $\int\limits_{1}^{0}{\left( x-1 \right)dx}$ . Rewriting the integral, we get,
$\Rightarrow \int\limits_{0}^{1}{-\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}....equation1$
Let us first integral $\left( x-1 \right)$ as a definite integral.
$\int{\left( x-1 \right)dx}=\int{xdx}-\int{1.dx}$
We know that the integration of $\int{{{x}^{n}}dx}=\dfrac{{{x}^{n+1}}}{n+1}$ . Applying this formula in the above integration, we get,
$\Rightarrow \int{\left( x-1 \right)dx}=\dfrac{{{x}^{1+1}}}{1+1}-\dfrac{{{x}^{0+1}}}{0+1}$
Which gets simplified to
$\Rightarrow \int{\left( x-1 \right)dx}=\dfrac{{{x}^{2}}}{2}-x$
Applying this integration to $equation1$ we get,
$\Rightarrow \int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\left( \dfrac{{{x}^{2}}}{2}-x \right)_{1}^{0}+\left( \dfrac{{{x}^{2}}}{2}-x \right)_{1}^{5}$
Which we can evaluate by applying the limits. The integration thus becomes
$\Rightarrow \int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\left( 0-\left( \dfrac{{{1}^{2}}}{2}-1 \right) \right)+\left( \left( \dfrac{{{5}^{2}}}{2}-5 \right)-\left( \dfrac{{{1}^{2}}}{2}-1 \right) \right)$
Further simplification of the expression gives us,
$\Rightarrow \int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\left( \dfrac{1}{2} \right)+\left( \dfrac{15}{2}+\dfrac{1}{2} \right)$
Performing the additions and subtractions, the integration becomes,
$\Rightarrow \int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\left( \dfrac{15}{2}+\dfrac{2}{2} \right)$
Which finally gives
$\Rightarrow \int\limits_{1}^{0}{\left( x-1 \right)dx}+\int\limits_{1}^{5}{\left( x-1 \right)dx}=\dfrac{17}{2}$
Therefore, we can conclude that the definite integral $\int{\left| x-1 \right|dx}$ from $\left[ 0,5 \right]$ can be evaluated to $\dfrac{17}{2}$ .
Note: We must remember that the modular function only gives positive outputs. Therefore, we must carefully find out at which point or points the function has zero value and based upon that, we analyse the intervals where the function is positive or negative. We can also solve the problem using the graphical method. We draw the graph of $\left| x-1 \right|$ and note the region within which we have to integrate. Here, the area under the graph will be two triangles and thus knowing the important points on the graph, we can easily find out the area under the graph.
Recently Updated Pages
Master Class 12 Business Studies: Engaging Questions & Answers for Success

Master Class 12 Economics: Engaging Questions & Answers for Success

Master Class 12 English: Engaging Questions & Answers for Success

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Social Science: Engaging Questions & Answers for Success

Master Class 12 Chemistry: Engaging Questions & Answers for Success

Trending doubts
What are the major means of transport Explain each class 12 social science CBSE

Which are the Top 10 Largest Countries of the World?

Draw a labelled sketch of the human eye class 12 physics CBSE

How much time does it take to bleed after eating p class 12 biology CBSE

Explain sex determination in humans with line diag class 12 biology CBSE

Differentiate between homogeneous and heterogeneous class 12 chemistry CBSE

