Hi guys :) Can anyone help me with this $$ \int_0^\infty \frac{1-\cos(x)}{x^2} \ dx = \frac{\pi}{2} $$ I have to solve it by residues but i am having a problem 'cause when i integrate with a semicircle around 0 i do not know how to show that $$\int_\pi^0 \frac{(1-\cos(\epsilon e^{i\theta}))}{(\epsilon e^{i\theta})^2}\epsilon i e^{i\theta} \ d\theta=-\pi$$ cause if i do that i would have $$2\int_0^\infty \frac{1-\cos(x)}{x^2} \ dx -\pi= 0$$
thanks :]
\cos
, or, if you need an operator name for which there isn't a predefined command, you can use\operatorname{name}
. – joriki Apr 24 '13 at 05:54