Mathematics (JEE)Very hardJEE Main · JEE Advanced

With [·] the greatest integer function, the range of f(x) = [sin x] + [cos x] over all real x is:

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

Correct answer: A. {−2, −1, 0, 1}

Check one period. x = 0 or π/2 gives 1; (0, π/2) gives 0 + 0 = 0; (π/2, π] and [3π/2, 2π) give −1; (π, 3π/2) gives −1 + (−1) = −2. The value 2 would need sin x = cos x = 1, which is impossible. Range {−2, −1, 0, 1}.

More Sets, Relations and Functions questions

Exams that ask this topic