Solveeit Logo

Question

Question: Sketch the graph \(y=\left| x-5 \right|\). Evaluate \(\int\limits_{0}^{1}{\left| x-5 \right|dx}\). W...

Sketch the graph y=x5y=\left| x-5 \right|. Evaluate 01x5dx\int\limits_{0}^{1}{\left| x-5 \right|dx}. What does this value of the integral represent on the graph?

Explanation

Solution

We explain the term absolute value of a number. How the modulus function always remains positive. We expand the function and break it into two parts. We also try to find the domain and the change of the graph at the particular point of x=5x=5.

Complete step by step answer:
Modulus function f(x)=xf\left( x \right)=\left| x \right| works as the distance of the number from 0. The number can be both positive and negative but the distance of that number will always be positive. Distance can never be negative.
In mathematical notation we express it with modulus value. Let a number be x whose sign is not mentioned. The absolute value of that number will be x\left| x \right|. We can say x0\left| x \right|\ge 0.
We can express the function f(x)=xf\left( x \right)=\left| x \right| as f\left( x \right)=\left\\{ \begin{aligned} & x & \left( x\ge 0 \right) \\\ & -x & \left( x<0 \right) \\\ \end{aligned} \right..
We can write y=x5y=\left| x-5 \right| depending on the change of the graph.
So, y=\left\\{ \begin{aligned} & x-5 & \left( x\ge 5 \right) \\\ & 5-x & \left( x<5 \right) \\\ \end{aligned} \right.

We can see in the domain of [0,1]\left[ 0,1 \right] for 01x5dx\int\limits_{0}^{1}{\left| x-5 \right|dx}, the equation becomes y=5xy=5-x.
Therefore, 01x5dx=01(5x)dx\int\limits_{0}^{1}{\left| x-5 \right|dx}=\int\limits_{0}^{1}{\left( 5-x \right)dx}. We use the formula of xndx=xn+1n+1\int{{{x}^{n}}dx}=\dfrac{{{x}^{n+1}}}{n+1}.
Therefore, 01x5dx=[5xx22]01=512=92\int\limits_{0}^{1}{\left| x-5 \right|dx}=\left[ 5x-\dfrac{{{x}^{2}}}{2} \right]_{0}^{1}=5-\dfrac{1}{2}=\dfrac{9}{2}.
This value indicates the area under the line y=5xy=5-x in the region bounded by lines y=0y=0, x=0x=0 and x=1x=1.

Note: The only time the absolute value becomes 0 is when the number itself is 0. For any other number the absolute value is greater than 0. Therefore, we can say x>0\left| x \right|>0 when x0x\ne 0. In our given function y=x5y=\left| x-5 \right| the absolute value reaches at 5.