Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

How to evaluate : $$\int_0^{\frac{\pi}{2}}\left(\frac{x}{\sin x}\right)^2\text{d}x$$ Thx guys! I was wondering how would use a series expansion?

share|improve this question
2  
For it is worth, the answer from wolframalpha is $\pi \ln(2)$ –  user17762 Feb 18 '13 at 1:10

4 Answers 4

Integrate $x^2 \csc^2(x)$ by parts and you get $$2\int_0^{\pi \over 2} x\cot(x)$$ Do it again and you get $$-2\int_0^{\pi \over 2} \ln(\sin x)$$ This is a famous integral (see the first answer in Computing the integral of $\log (\sin x)$) The result is $$\pi \ln 2$$

share|improve this answer

Use Bernoulli's form of integration by parts formula $$\int udv = uv - u'v_1 + u''v_2 - ...$$

where $u',u''..$ are successive differentiation of the function $u(x)$ and $v_1, v_2 ..$ are successive integrals of the function $v(x)$.

We get $$\int_0^{\frac{\pi}{2}}\left(\frac{x}{\sin x}\right)^2\text{d}x = [-(x^2 \cot x)]_0^{\pi/2} + [2x \log(\sin x)]_0^{\pi/2} - 2 \int_0^{\frac{\pi}{2}} \log(\sin x) = \pi \log(2)$$

The first two integrals give 0 and the last integral is already computed in the post: Computing the integral of $\log (\sin x)$

share|improve this answer

$$\int_0^{\frac{\pi}{2}} \frac{x^2}{\sin^2 x}\, dx=\left[x^2\, (-\cot x)\right]_0^{\frac{\pi}{2}}+\int_0^{\frac{\pi}{2}} 2x\cot x\, dx = \Big[2x\log\sin x\Big]_0^{\frac{\pi}{2}}-\int_0^{\frac{\pi}{2}} 2\log \sin x\, dx=\pi \log 2$$

share|improve this answer

Maple seems to get the answer using the Fundamental Theorem of Calculus, using the antiderivative $$ {\frac {-2\,i{x}^{2}}{{{\rm e}^{2\,ix}}-1}}+2\,x\ln \left( 1-{{\rm e} ^{ix}} \right) +2\,x\ln \left( 1+{{\rm e}^{ix}} \right) -2\,i{x}^{2}- 2\,i\,{\rm polylog} \left( 2,{{\rm e}^{ix}} \right) -2\,i\,{\rm polylog} \left( 2,-{{\rm e}^{ix}} \right) $$

share|improve this answer
2  
Of course! Why didn't I see that? –  marty cohen Feb 18 '13 at 4:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.