Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
$\int_0^\pi[\cot x] d x,[\bullet]$ denotes the greatest integer function, is equal to
MathematicsDefinite IntegrationJEE MainJEE Main 2009
Options:
  • A
    $\frac{\pi}{2}$
  • B
    1
  • C
    $-1$
  • D
    $-\frac{\pi}{2}$
Solution:
2777 Upvotes Verified Answer
The correct answer is:
$-\frac{\pi}{2}$
$$
\begin{aligned}
& \text { Let } \mathrm{I}=\int_0^\pi[\cot x] d x \\
& =\int_0^\pi[\cot (\pi-x)] d x=\int_0^\pi[-\cot x] d x
\end{aligned}
$$
Adding (1) and (2)
$$
\begin{aligned}
& 2 I=\int_0^\pi[\cot x] d x+\int_0^\pi[-\cot x] d x==\int_0^\pi(-1) d x \quad[\because[x]+[-x]=-1 \text { if } x \notin Z \\
& =[-x]_0^\pi=-\pi \\
& \therefore I=-\frac{\pi}{2}
\end{aligned}
$$

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.