# Another interesting integral

• June 6th 2009, 07:50 PM
simplependulum
Another interesting integral
evaluate the integral $\int_{0}^{\frac{\pi}{2}} x \cot(x) ~dx$

In fact , it is not a challenge problem for an experienced integrator
but i believe that this may help remind us of some techniques (Nod)
• June 6th 2009, 08:41 PM
NonCommAlg
Quote:

Originally Posted by simplependulum
evaluate the integral $\int_{0}^{\frac{\pi}{2}} x \cot(x) ~dx$

In fact , it is not a challenge problem for an experienced integrator
but i believe that this may help remind us of some techniques (Nod)

let $x=u$ and $\cot x \ dx = dv.$ then integration by parts gives us: $I=\int_0^{\frac{\pi}{2}} x \cot x \ dx = -\int_0^{\frac{\pi}{2}} \ln(\sin x) \ dx.$ thus:
$-I=\frac{\pi}{2} \ln 2 + \int_0^{\frac{\pi}{2}} \ln(\sin(x/2)) \ dx + \int_0^{\frac{\pi}{2}} \ln(\cos(x/2)) \ dx$

$=\frac{\pi}{2} \ln 2 + \int_0^{\frac{\pi}{2}} \ln(\sin(x/2)) \ dx + \int_{\frac{\pi}{2}}^{\pi} \ln(\sin(x/2)) \ dx$

$=\frac{\pi}{2} \ln 2 + \int_0^{\pi} \ln(\sin(x/2)) \ dx=\frac{\pi}{2} \ln 2 + 2\int_0^{\frac{\pi}{2}} \ln(\sin x) \ dx$

$=\frac{\pi}{2} \ln 2 - 2I.$ therefore: $I=\frac{\pi}{2}\ln 2.$
• June 8th 2009, 02:03 AM
simplependulum
terrific !