QlarIITy

MathematicsJEE Main 2026 · 22 JanuarySingle correct

Letf(x)=[x]2−[x+3]−3,x∈Rf(x) = [x]^2 - [x + 3] - 3, x \in \mathbb{R}, where [.][.] is the greatest integer function. Then

  1. Option A: f(x)=0f(x) = 0 for finitely many values of xx
  2. Option B: f(x)<0f(x) < 0 only for x∈[−1,3)x \in [-1, 3)
  3. Option C: ∫02f(x)dx=−6\int_0^2 f(x) dx = -6
  4. Option D: f(x)>0f(x) > 0 only for x∈[4,∞)x \in [4, \infty)
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 shift comes out of the greatest integer function, so ff becomes a quadratic in n=[x]n = [x].

Concept refresher. For every real xx, [x][x] is the integer nn with

n≤x<n+1n \leq x < n + 1

and for every integer kk,

[x+k]=[x]+k[x + k] = [x] + k

A function of [x][x] alone is constant on each interval [n,n+1)[n, n + 1).

Picture the situation. Write n=[x]n = [x]. As xx moves along the real line, nn steps through the integers, and ff takes one value on each unit interval [n,n+1)[n, n + 1); the sign of ff is read off integer by integer.

Approach. Shift the integer 33 out of [x+3][x + 3], factorise the quadratic in n=[x]n = [x], then test each option on whole unit intervals.

  1. Step 1: Write f in terms of the integer part

    Because 33 is an integer, [x+3]=[x]+3[x + 3] = [x] + 3. With n=[x]n = [x],

    f(x)=n2−(n+3)−3=n2−n−6f(x) = n^2 - (n + 3) - 3 = n^2 - n - 6
  2. Step 2: Factorise the quadratic in n

    The quadratic in nn splits into two linear factors:

    f(x)=(n−3)(n+2)f(x) = (n - 3)(n + 2)

    so f(x)=0f(x) = 0 for n=3n = 3 or n=−2n = -2.

  3. Step 3: Read the sign on unit intervals

    The product is negative strictly between the roots, so

    f(x)<0  ⟺  −2<n<3f(x) < 0 \iff -2 < n < 3

    so n∈{−1,0,1,2}n \in \{-1, 0, 1, 2\}, that is, x∈[−1,3)x \in [-1, 3). It is positive for n≥4n \geq 4 or n≤−3n \leq -3, that is, for x∈(−∞,−2)∪[4,∞)x \in (-\infty, -2) \cup [4, \infty), and zero on [−2,−1)∪[3,4)[-2, -1) \cup [3, 4).

  4. Step 4: Check the integral option

    On [0,1)[0, 1), n=0n = 0 and f=−6f = -6; on [1,2)[1, 2), n=1n = 1 and f=1−1−6=−6f = 1 - 1 - 6 = -6. Hence

    ∫02f(x)dx=(−6)(1)+(−6)(1)=−12\int_0^2 f(x) dx = (-6)(1) + (-6)(1) = -12

    So only option (B) holds.

Answer. (B) f(x)<0f(x) < 0 only for x∈[−1,3)x \in [-1, 3)

Sanity check. Take x=2.5x = 2.5: [x]=2[x] = 2 and [x+3]=5[x + 3] = 5, so f=4−5−3=−4<0f = 4 - 5 - 3 = -4 < 0. Take x=3.2x = 3.2: f=9−6−3=0f = 9 - 6 - 3 = 0, and x=−2.5x = -2.5 gives f=9−0−3=6>0f = 9 - 0 - 3 = 6 > 0, which rules out (D).

Smart method. Test points settle the options at once: x=−2.5x = -2.5 gives f=6>0f = 6 > 0 (so (D) fails), x=3.5x = 3.5 gives f=0f = 0 along a whole interval (so (A) fails), and f=−6f = -6 on [0,2)[0, 2) gives −12-12 (so (C) fails). This is safe here because ff is constant on each unit interval.

Why the other options are wrong

  • (A) The zeros are n=3n = 3 and n=−2n = -2, but each value of nn is taken on a whole interval, so f(x)=0f(x) = 0 for every xx in [−2,−1)∪[3,4)[-2, -1) \cup [3, 4), infinitely many values.
  • (C) Stopping at the first unit, ∫01(−6)dx=−6\int_0^1 (-6) dx = -6; on [1,2)[1, 2) also f(x)=1−1−6=−6f(x) = 1 - 1 - 6 = -6, so ∫02f(x)dx=−12\int_0^2 f(x) dx = -12.
  • (D) f(x)>0f(x) > 0 needs [x]≥4[x] \geq 4 or [x]≤−3[x] \leq -3, so it also holds on (−∞,−2)(-\infty, -2); for example f(−5)=25+5−6=24>0f(-5) = 25 + 5 - 6 = 24 > 0.

Key takeaway

The trap. Treating the roots n=3n = 3 and n=−2n = -2 as single points; each is a whole interval of xx.

How toppers think. They solve in the integer nn first and only then translate each nn back into an interval of xx.

Remember. [x+k]=[x]+k[x + k] = [x] + k for every integer kk, and [x]=n[x] = n means n≤x<n+1n \leq x < n + 1.

More on Special Functions