[Math] show that $\int_{0}^{\pi/2}\ln(\tan x)dx=0$

contour-integrationintegration

show that $$\int_{0}^{\pi/2}\ln(\tan x)dx=0$$

using two ways The first with real analysis and the second with contour integration

Best Answer

Hint: For the calculus approach, note that $\tan(\pi/2-x)=\frac{1}{\tan x}$. So split the interval into $0$ to $\pi/4$, and $\pi/4$ to $\pi/2$. For the second half, make the change of variable $x=\pi/2-u$.

When we make the change of variable, we have to wade through a morass of minus signs. One comes from $dx=-du$; another comes from the fact that the integration bounds will be in the "wrong" order; and a third comes from $\ln(1/t)=-\ln(t)$.

Related Question