Question
Question: The value of \[\int_{-2}^{2}{\min .\left\\{ |x|,\left[ x \right] \right\\}}dx\] , where [.] denotes ...
The value of \int_{-2}^{2}{\min .\left\\{ |x|,\left[ x \right] \right\\}}dx , where [.] denotes the greatest integer function, is
(a) -2
(b) -1
(c) 0
(d) 1
Solution
Hint: Here, we will form a piecewise function of f(x) in differential intervals and then we will find the value of the given integration.
Complete step-by-step answer:
Since, we have to integrate the function from -2 to 2.
We can divide it into 2 intervals.
The first interval can be x∈(−2,0) and the second interval can be x∈(0,2).
We know that fractional part of x, that is {x} is given as:
\begin{aligned}
& \left\\{ x \right\\}=x-\left[ x \right] \\\
& \left[ x \right]=x-\left\\{ x \right\\} \\\
\end{aligned}
When we are talking about positive integers, that is , when x∈(0,2), |x| always gives a result x.
Since, \left\\{ x \right\\}\in \left( 0,1 \right), so x-\left\\{ x \right\\}, is always less than x.
This implies that in the interval (0, 2):
x>x-\left\\{ x \right\\}
So, \min \left\\{ |x|,\left[ x \right] \right\\} is [x].
Now, when we are talking about negative integers, that is when x∈(−2,0). We know that |x| is always greater than zero.
Since, all the x in the interval (-2, 0) are negative, we can write that [x]<0.
So, in the interval x∈(−2,0), \min \left\\{ |x|,\left[ x \right] \right\\} is [x].
Therefore, we can write:
\int_{-2}^{2}{\min .\left\\{ |x|,\left[ x \right] \right\\}}dx=\int_{-2}^{-1}{\left[ x \right]dx+\int_{-1}^{0}{\left[ x \right]dx+\int_{0}^{1}{\left[ x \right].dx}+\int_{1}^{2}{\left[ x \right]dx}...........\left( 1 \right)}}
We know that the greatest integer function of x always returns an integer which is less than or equal to x. Therefore, we have:
∫−2−1[x]dx=∫−2−1−2dx
∫−10[x]dx=∫−10−1dx
∫01[x]dx=∫010dx
∫12[x]dx=∫121dx
On substituting these values in equation (1), we get: