Mathematics (JEE)Very hardJEE Advanced · JEE Main

The value of ∫₀^π [cot x] dx, where [·] is the greatest integer function, is:

  1. A. 0
  2. B. −π/2
  3. C. −3π/2
  4. D. −π

Correct answer: B. −π/2

By x → π − x, I = ∫[−cot x]dx. Adding, 2I = ∫([cot x] + [−cot x])dx = −π, because [t] + [−t] = −1 for non-integer t (the integer points have measure zero). So I = −π/2.

More Definite Integrals and Area questions

Exams that ask this topic