QlarIITy

MathematicsJEE Main 2021 · 31 AugustInteger

Let [t][t] denote the greatest integer ≤t\leq t. Then the value of 8⋅∫−121([2x]+∣x∣)dx8 \cdot \int_{-\frac{1}{2}}^1([2x] + |x|)dx is ______

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. A sum under an integral is integrated part by part, each split at its own special points.

Concept refresher. The greatest integer part [h(x)][h(x)] equals the integer kk exactly where

k≤h(x)<k+1k \leq h(x) < k + 1

so it is a constant on each such stretch, and its integral is a sum of rectangles.

Picture the situation. The value of [2x][2x] is −1-1 on [−12,0)\left[-\dfrac{1}{2}, 0\right), 0 on [0,12)\left[0, \dfrac{1}{2}\right) and 1 on [12,1)\left[\dfrac{1}{2}, 1\right). The modulus ∣x∣|x| is −x-x for x<0x < 0 and xx for x≥0x \geq 0.

Approach. Add the rectangles and the triangles.

  1. Step 1: The two parts

    The rectangles give −1×12+0+1×12=0-1 \times \dfrac{1}{2} + 0 + 1 \times \dfrac{1}{2} = 0. The modulus gives two triangles, 12×12×12=18\dfrac{1}{2} \times \dfrac{1}{2} \times \dfrac{1}{2} = \dfrac{1}{8} and 12×1×1=12\dfrac{1}{2} \times 1 \times 1 = \dfrac{1}{2}, which add to 58\dfrac{5}{8}.

  2. Step 2: The value

    So the integral is 58\dfrac{5}{8}, and multiplying by 8 gives 5.

Answer. 5

Sanity check. The two outer rectangles of the greatest integer part have equal widths and opposite heights, so they cancel.

Common wrong answers

  • 3: Using ∣x∣=x|x| = x on the negative part gives −18+12=38-\dfrac{1}{8} + \dfrac{1}{2} = \dfrac{3}{8} and the value 3.
  • 9: Ignoring the negative rectangle of [2x][2x] gives 12+58=98\dfrac{1}{2} + \dfrac{5}{8} = \dfrac{9}{8} and the value 9.

Key takeaway

The trap. The greatest integer part of a negative number just below 0 is minus 1.

How toppers think. They read both parts as areas: rectangles for the steps, triangles for the modulus.

Remember. ∫−1/21∣x∣dx=18+12\int_{-1/2}^1|x|dx = \dfrac{1}{8} + \dfrac{1}{2}

More on Properties of Definite Integrals