Mathematics (JEE)HardJEE Main pattern

With [·] the greatest integer function, the range of f(x) = [x] + [−x] for real x is:

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

Correct answer: D. {0, −1}

For integer x, [x] + [−x] = x − x = 0. For non-integer x, [−x] = −[x] − 1, so the sum is −1. The range is {0, −1}; assuming [−x] = −[x] always gives the trap {0}.

More Sets, Relations and Functions questions

Exams that ask this topic