QlarIITy

MathematicsJEE Main 2021 · 24 FebruaryInteger

If ∫−aa(∣x∣+∣x−2∣)dx=22\int_{-a}^a(|x| + |x - 2|)dx = 22, (a>2)(a > 2) and [x][x] denotes the greatest integer ≤x\leq x, then ∫a−a(x+[x])dx\int_a^{-a}(x + [x])dx is equal to ______

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. The greatest integer part is not an odd function: over a symmetric interval its integral is minus the half-length.

Concept refresher. A modulus is removed by splitting the interval at the point cc where the inside changes sign:

∫ab∣u(x)∣dx=∫ac(−u)dx+∫cbudx\int_a^b|u(x)|dx = \int_a^c(-u)dx + \int_c^b udx

when u<0u < 0 before cc and u>0u > 0 after it.

Picture the situation. For a>2a > 2, ∫−aa∣x∣dx=a2\int_{-a}^a|x|dx = a^2, and ∫−aa∣x−2∣dx\int_{-a}^a|x - 2|dx is the sum of two triangles, (a+2)22+(a−2)22=a2+4\dfrac{(a + 2)^2}{2} + \dfrac{(a - 2)^2}{2} = a^2 + 4. So 2a2+4=222a^2 + 4 = 22 and a=3a = 3.

Approach. Evaluate the second integral over the symmetric interval and reverse its sign.

  1. Step 1: From minus 3 to 3

    The function xx is odd, so ∫−33xdx=0\int_{-3}^3 xdx = 0. The greatest integer part takes the values −3-3, −2-2, −1-1, 0, 1 and 2 on the six unit intervals, so ∫−33[x]dx=−3\int_{-3}^3[x]dx = -3.

  2. Step 2: The reversed limits

    The required integral runs from 3 down to −3-3, which changes the sign: ∫3−3(x+[x])dx=−(0−3)=3\int_3^{-3}(x + [x])dx = -(0 - 3) = 3.

Answer. 3

Sanity check. The greatest integer part is always at most xx, so over [−3,3][-3, 3] its integral must be below that of xx, which is 0; the value −3-3 fits.

Common wrong answers

  • -3: Ignoring the reversed limits gives −3-3.
  • 0: Treating [x][x] as an odd function and setting its integral to 0 gives 0.

Key takeaway

The trap. Interchanging the limits of an integral changes its sign.

How toppers think. They see the six rectangles cancel in pairs except the one of height minus 3.

Remember. ∫−33[x]dx=−3\int_{-3}^3[x]dx = -3

More on Properties of Definite Integrals