# How to calculate $\int_{0}^{+\infty} {\sin {x^2}\mathrm{d}x}$? [duplicate]

Possible Duplicate:
Evaluating $\int_0^\infty \sin x^2\, dx$ with real methods?

How to calculate $\displaystyle\int_{0}^{+\infty} {\sin {x^2}\mathrm{d}x}$ ?

-

## marked as duplicate by DonAntonio, Sasha, Pedro Tamaroff♦, Davide Giraudo, MicahSep 21 '12 at 20:50

have a look at this Wolfram Alpha Solution –  Ayush Khemka Sep 21 '12 at 18:31

Recall the Gaussian integral, defined $\forall \alpha \in \mathbb{R}: \int_0^\infty e^{-\alpha x^2} dx = \sqrt{\frac{\pi}{4\alpha}}$.
Now consider $e^{ix^2} = \cos(x^2) + i \sin(x^2)$. Naively, what does the above result suggest about the value of $\int_0^\infty e^{ix^2} dx$? If we take real and imaginary parts of the integral and its value, what would we find?
Most importantly, what contour integral in $\mathbb{C}$ would justify this? (think geometrically about what branch and value was chosen to "compute" $\sqrt{\frac{1}{-i}}$.)