Mathematics (JEE)ModerateJEE Main

Let g(x) = 1 + x − [x] ([·] the greatest integer function) and f(x) = −1 for x < 0, f(0) = 0, f(x) = 1 for x > 0. Then f(g(x)) equals:

  1. A. 0 for all x
  2. B. the sign of x
  3. C. 1 for all x
  4. D. x − [x]

Correct answer: C. 1 for all x

x − [x] ∈ [0, 1), so g(x) ∈ [1, 2) is always positive and f(g(x)) = 1 for every real x.

More Sets, Relations and Functions questions

Exams that ask this topic