QlarIITy

MathematicsJEE Main 2021 · 20 JulySingle correct

If [x][x] denotes the greatest integer less than or equal to xx, then the value of the integral ∫−π/2π/2[[x]−sin⁡x]dx\int_{-\pi/2}^{\pi/2}\left[[x] - \sin x\right]dx is equal to:

  1. Option A: −π-\pi
  2. Option B: π\pi
  3. Option C: 0
  4. Option D: 1
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. An integer inside the greatest integer function can be taken outside it.

Concept refresher. For a real number uu and an integer nn,

[u+n]=[u]+n[u + n] = [u] + n

so an integer can be taken out of the greatest integer function.

Picture the situation. Since [x][x] is an integer, [[x]−sin⁡x]=[x]+[−sin⁡x]\left[[x] - \sin x\right] = [x] + [-\sin x]. On (0,π2)\left(0, \dfrac{\pi}{2}\right), −sin⁡x-\sin x lies in (−1,0)(-1, 0), so [−sin⁡x]=−1[-\sin x] = -1; on (−π2,0)\left(-\dfrac{\pi}{2}, 0\right) it lies in (0,1)(0, 1), so [−sin⁡x]=0[-\sin x] = 0.

Approach. Integrate the two step functions.

  1. Step 1: The integer part

    On the interval, [x][x] is −2-2, −1-1, 0 and 1 on stretches of lengths π2−1\dfrac{\pi}{2} - 1, 1, 1 and π2−1\dfrac{\pi}{2} - 1. Its integral is −2(π2−1)−1+(π2−1)=−π2-2\left(\dfrac{\pi}{2} - 1\right) - 1 + \left(\dfrac{\pi}{2} - 1\right) = -\dfrac{\pi}{2}.

  2. Step 2: The sine part

    The integral of [−sin⁡x][-\sin x] is −1×π2=−π2-1 \times \dfrac{\pi}{2} = -\dfrac{\pi}{2}. So the whole integral is −π2−π2=−π-\dfrac{\pi}{2} - \dfrac{\pi}{2} = -\pi.

Answer. (A) −π-\pi

Sanity check. The integrand is never positive on the left half and at most 0 on the right half, so a negative value of about −3.14-3.14 over a length of 3.14 fits an average of −1-1.

Why the other options are wrong

  • (B) The value π\pi has the wrong sign: both step functions have negative integrals.
  • (C) The value 0 would need the integrand to be odd, but greatest integer parts are not odd functions.
  • (D) The value 1 cannot arise: both parts of the integrand have negative integrals.

Key takeaway

The trap. The greatest integer function is not odd: its values on the two sides of 0 do not cancel.

How toppers think. They separate the integer at once and integrate two simple step functions.

Remember. [[x]−sin⁡x]=[x]+[−sin⁡x]\left[[x] - \sin x\right] = [x] + [-\sin x]

More on Properties of Definite Integrals