Question
Question: How do you evaluate the definite integral \(\int{\left| x-5 \right|dx}\) from \(\left[ 0,10 \right]\...
How do you evaluate the definite integral ∫∣x−5∣dx from [0,10] ?
Solution
We have been given to calculate the definite integral of an absolute value function. It has to be integrated with respect to dx. We analyze the given absolute value function in the given interval and hence, open it with the suitable positive or negative sign. Since we have to perform definite integration, we shall also apply the upper limit and lower limits of integration.
Complete step by step solution:
Given that we have to find definite integral of ∫∣x−5∣dx within the interval [0,10].
From this statement, we understand that the upper limit of the definite integral is 10 and the lower limit of the definite integral is 0.
On analyzing the absolute value function, ∣x−5∣, we see that it can be broken down into two intervals within the given interval.
\left| x-5 \right|=\left\\{ \begin{aligned}
& -\left( x-5 \right),\text{ }-\infty < x\le 5 \\\
& \left( x-5 \right),\text{ }5\le x < \infty \text{ } \\\
\end{aligned} \right.\text{ }
Here, we shall apply the property of definite integrals and break the given integral into separate integrals according to their defined intervals as [0,5] and [5,10].
Thus, the definite integral is given as
0∫10∣x−5∣dx=0∫5−(x−5).dx+5∫10(x−5).dx
We know that ∫xn.dx=n+1xn+1+C and ∫1.dx=x+C.
⇒0∫10∣x−5∣dx=0∫55−x.dx+5∫10x−5.dx
⇒0∫10∣x−5∣dx=5x−2x205+(2x2−5x510)
Applying the upper and lower limits of integration, we get
⇒0∫10∣x−5∣dx=5(5)−252−(5(0)−202)+2102−5(10)−(252−5(5))
⇒0∫10∣x−5∣dx=5(5)−252+2102−5(10)−252+5(5)
⇒0∫10∣x−5∣dx=25−2.252+2100−50+25
⇒0∫10∣x−5∣dx=50−50−2.225+2100
Simplifying right hand side of the equation further, we get
⇒0∫10∣x−5∣dx=2100−250
⇒0∫10∣x−5∣dx=250
⇒0∫10∣x−5∣dx=25
Therefore, the definite integral ∫∣x−5∣dx from [0,10] is equal to 25.
Note: Definite integral of a function f(x) is the area bound under the graph of function, y=f(x)and above the x-axis which is bound between two bounds as x=a and x=b. Here, a= 0 and b=10. The best thing about integral calculus is that the one of the two boundaries of the area to be found is a curve and the other boundary is the x-axis when the function is being integrated with respect to dx.