QlarIITy

MathematicsIIT-JEE 1998Single correct

Let f(x)=x−[x]f(x)=x-[x], for every real number xx, where [x][x] is the integral part of xx. Then, ∫−11f(x)dx\int_{-1}^{1}f(x)dx is

  1. Option A: 11
  2. Option B: 22
  3. Option C: 00
  4. Option D: 1/21/2
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. x−[x]x-[x] is the fractional part {x}\{x\}, a sawtooth of period 11 that contributes 12\frac{1}{2} over every unit interval.

Concept refresher. x−[x]={x}x-[x]=\{x\}, the fractional part, has period 11 and ∫01{x}dx=12\int_{0}^{1}\{x\}dx=\frac{1}{2}.

Approach. Split the interval at 00 and use the value of [x][x] on each piece.

  1. Step 1: Split

    On [−1,0)[-1,0): [x]=−1[x]=-1, so f(x)=x+1f(x)=x+1. On [0,1)[0,1): [x]=0[x]=0, so f(x)=xf(x)=x. (Single points do not change the integral.)

  2. Step 2: Integrate

    ∫−10(x+1)dx=12,∫01xdx=12\int_{-1}^{0}(x+1)dx=\frac{1}{2},\qquad \int_{0}^{1}x dx=\frac{1}{2}
  3. Step 3: Add

    ∫−11f(x)dx=12+12=1\int_{-1}^{1}f(x)dx=\frac{1}{2}+\frac{1}{2}=1

Answer. (A)

Why the other options are wrong

  • (B) would be the length of the interval; {x}\{x\} is below 11, so the area is smaller.
  • (C) assumes {x}\{x\} is odd; in fact {x}≥0\{x\}\ge 0, so the integral is positive.
  • (D) counts only one of the two unit intervals.

Key takeaway

The trap. Calling x−[x]x-[x] an odd function and answering 00 is wrong, because {x}≥0\{x\}\ge 0 everywhere, so the integral must be positive.

How toppers think. They picture the sawtooth, see two unit-length teeth on [−1,1][-1,1], and add two triangles of area 12\frac{1}{2} each.

Remember. ∫aa+n{x}dx=n2\int_{a}^{a+n}\{x\}dx=\frac{n}{2} for any integer n≥1n\ge 1.

More on Symmetry & Periodicity