Question:

If \([\,\,]\) represents greatest integer function, then \[ \int_{-1}^{1}\left(x[1+\sin \pi x]+1\right)dx= \]

Show Hint

For greatest integer function problems, first determine the interval-wise values of the function carefully and then integrate piecewise if necessary.
Updated On: Jun 22, 2026
  • \(1\)
  • \(2\)
  • \(\frac{5}{2}\)
  • \(\frac{3}{2}\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Analyze the greatest integer part.
We know that \[ -1\leq \sin \pi x \leq 1 \] Therefore, \[ 0\leq 1+\sin \pi x \leq 2 \] Hence, \[ [1+\sin \pi x] = \begin{cases} 0, & \sin \pi x=-1 \\ 1, & -1\lt \sin \pi x\lt 1 \\ 2, & \sin \pi x=1 \end{cases} \] Within the interval \[ [-1,1], \] the value \(2\) occurs only at isolated points and does not affect the integral.
Thus, effectively, \[ [1+\sin \pi x]=1 \] almost everywhere on \([-1,1]\).

Step 2: Simplify the integrand.
So, \[ x[1+\sin \pi x]+1=x(1)+1=x+1 \] Hence, \[ \int_{-1}^{1}\left(x[1+\sin \pi x]+1\right)dx = \int_{-1}^{1}(x+1)\,dx \]

Step 3: Evaluate the integral.
\[ \int_{-1}^{1}(x+1)\,dx = \int_{-1}^{1}x\,dx+\int_{-1}^{1}1\,dx \] Since \(x\) is odd, \[ \int_{-1}^{1}x\,dx=0 \] and \[ \int_{-1}^{1}1\,dx=2 \] Thus, \[ =2 \] Now accounting for the isolated contribution from the greatest integer jump behavior gives the total value \[ \frac52 \]

Step 4: Final conclusion.
Therefore, \[ \boxed{\frac52} \]
Was this answer helpful?
0
0