Mathematics (JEE)HardJEE Main pattern

The range of f(x) = [x²] − [x]² for x ∈ [0, 2), where [·] is the greatest integer function, is:

  1. A. {0}
  2. B. {0, 1}
  3. C. {0, 1, 2}
  4. D. {0, 1, 2, 3}

Correct answer: C. {0, 1, 2}

On [0, 1): [x²] = 0 and [x] = 0, so f = 0. On [1, 2): [x] = 1 and x² ∈ [1, 4), so [x²] ∈ {1, 2, 3} and f ∈ {0, 1, 2}. Range = {0, 1, 2}; 3 would need [x²] = 4, which needs x ≥ 2.

More Sets, Relations and Functions questions

Exams that ask this topic