# Prove that: $\int_{0}^{\infty} \frac{2 x \sin x+\cos 2x-1}{2 x^2} = 0$

How would you prove that?

$$\int_{0}^{\infty} \frac{2 x \sin x+\cos 2x-1}{2 x^2} dx= 0$$

I'm looking for a solution at high school level if possible. Thanks.

-
How about using the Taylor series? –  The Chaz 2.0 Sep 5 '12 at 11:24
@The Chaz: a good idea –  Chris's sis Sep 5 '12 at 11:25
Maybe there is a way that doesn't use the fact that $\int_0^{\infty}\frac{\sin x}{x}dx=\pi/2$. –  Chris's sis Sep 5 '12 at 12:39

$\cos 2x=1-2\sin^2x$

so, $$\frac{2x\sin x+\cos 2x-1}{2x^2}=\frac{2x\sin x-2\sin^2 x}{2x^2}=\frac{\sin x}{x}-\frac{\sin^2 x}{x^2}$$

so, $$\int_0^{\infty}\frac{2x\sin x+\cos 2x-1}{2x^2}dx=\int_0^{\infty}\frac{\sin x}{x}dx-\int_0^{\infty}\frac{\sin^2 x}{x^2}dx$$

Now, $$\int_0^{\infty}\frac{\sin x}{x}dx=\pi/2$$

and $$\int_0^{\infty}\frac{\sin^2 x}{x^2}dx=\frac{-\sin^2 x}{x}|_0^{\infty}+\int_0^{\infty}\frac{2\sin x\cos x}{x}dx=0+\int_0^{\infty}\frac{\sin 2x}{2x}d(2x)=\pi/2$$

Thus, $$\int_0^{\infty}\frac{2x\sin x+\cos 2x-1}{2x^2}dx=\pi/2-\pi/2=0$$

For proof of $\int_0^{\infty}\frac{\sin x}{x}dx=\pi/2$

-
This answer requires knowing that $\displaystyle \int_0^\infty \frac{\sin x}{x}\,\mathrm dx = \frac{\pi}{2}$. Can this be shown by methods available to beginning students in calculus? The OP did say that a solution at high school level was wanted, if one was possible. –  Dilip Sarwate Sep 5 '12 at 12:07
(+1) for your solution. –  Chris's sis Sep 5 '12 at 12:52
@DilipSarwate Actually Avatar's answer doesn't require to know that $\int_0^{+\infty}\frac{\sin x}{x}dx = \frac{\pi}{2}$. All it requires to know is that this quantity is defined and equal to some constant $K$, then you can apply the same reasoning and the $K$'s will simplify themselves. –  S4M Sep 5 '12 at 13:00
"All it requires to know that this quantity is defined and equal to some constant $K, \ldots$" itself is something that needs just a little bit of extra thought, doesn't it? How can we be sure that the improper integral has a finite value? But yes, once we can be sure that $\int_0^\infty \frac{\sin x}{x}\,\mathrm dx$ is finite, its exact value is immaterial in Avatar's proof. –  Dilip Sarwate Sep 5 '12 at 14:34