I have a question about an integral that looks like a great candidate for residues.
$\displaystyle \int_{0}^{\infty}\frac{\cos(x^{2})}{x^{4}+1}dx-\int_{0}^{\infty}\frac{\sin(x^{2})}{x^{4}+1}dx=\frac{\pi\sqrt(2)}{4e}$.
My difficulty arises in knowing how to come up with the proper contour for something like this.
Does anyone know of a good method for evaluating the above integral using residue theory, or even real methods?.
Take the cosine one.
I wrote it out as $\displaystyle\int_{C}\frac{e^{iz^{2}}}{z^{4}+1}dz$.
Where C is the semicircular contour in the upper half plane.
The zeroes of the denominator are $\displaystyle e^{\frac{\pi i}{4}}, \;\ e^{\frac{3\pi i}{4}}, \;\ e^{\frac{5\pi i}{4}}, \;\ e^{\frac{7\pi i}{4}}$. Of which the first two lie in the upper half plane.
The residue at $\displaystyle e^{\frac{\pi i}{4}}$ is $\frac{-\sqrt{2}}{8e}-\frac{\sqrt{2}i}{8e}$
The residue at $\displaystyle e^{\frac{3\pi i}{4}}$ is $\frac{e\sqrt{2}}{8}-\frac{e\sqrt{2}i}{8}$
Summing them: $\displaystyle 2\pi i\left(\frac{-\sqrt{2}}{8e}-\frac{\sqrt{2}i}{8e}+\frac{e\sqrt{2}}{8}-\frac{e\sqrt{2}i}{8}\right)$
$\displaystyle =\frac{(e^{2}+1)\pi\sqrt{2}}{4e}+\frac{(e^{2}-1)\pi\sqrt{2}}{4e}\cdot i$
But, this is not the correct result... numerically. No doubt, it is not that straightforward because I have chosen an incorrect contour. Perhaps due to the Fresnel-type term in the numerator. Can anyone lend any insight on this one?.
Thanks very much.