XtremePhysX
- 92
- 0
Homework Statement
Evaluate
Homework Equations
I=\int_0^{\pi/2}x\cot(x)\,dx
The Attempt at a Solution
I tried IBP, didn't work at all.
Vorde said:That is a nasty integral, does it have to be an exact answer or can it be approximate?
Vorde said:No that's not a correct representation.
XtremePhysX said:If you add both of them, xcot(x) and (pi/2-x)tan(x) you get 2I and I think it is relatively easy from there. But I'm not sure if this is correct.I=\int_0^{\pi/2}x\cot(x)\,dx=\int_0^{\pi/2}(\pi/2-x)\tan(x)\,dx\\ \Rightarrow 2I=\int_0^{\pi/2}\frac{2x\cos^2(x)+2(\pi/2-x)\sin^2(x)}{2\sin(x)\cos(x)}\, dx\\=\int_0^{\pi/2}\frac{2x\cos(2x)+\frac{\pi}{2}(1-\cos(2x))}{\sin(2x)}\,dx\\\Rightarrow 4I=\int_0^{\pi}\frac{x\cos(x)+\frac{\pi}{2}(1-\cos(x))}{\sin(x)}\, dx\\=\int_0^{\pi/2}x\cot(x)\,dx+\frac{\pi}{2}\int_0^{\pi/2}\csc(x)-\cot(x)\,dx+\int_{\pi/2}^\pi (x-\pi)\cot(x)\,dx+\frac{\pi}{2}\int_{\pi/2}^\pi\csc(x)+\cot(x)\,dx\\=2I+\pi\int_0^{\pi/2}\csc(x)-\cot(x)\,dx\\=2I-\pi\log|1+\cos(x)|]^{\pi/2}_0\\\Rightarrow I=\frac{\pi}{2}\log(2).
Vorde said:You're totally right, been stumped all day to what I was doing wrong but I just figured it out. Sorry to the OP for saying incorrect stuff.