TITLE: how to show that $\int_0^\infty \sin(x^2) dx$ converges
QUESTION [5 upvotes]: Possible Duplicate:
Prove: $\int_{0}^{\infty} \sin (x^2) dx$ converges. 

What test do I use to show that the following integral converges?
$$ \int_0^\infty \sin (x^2) \; dx$$

REPLY [4 votes]: Consider the triangle $\Delta$ with vertices at $(0,0), (T,0), (T,T)$ in the complex plane. Since $\exp(iz^2)$ is entire, we have 
$$\int_{\Delta} \exp(iz^2) dz = 0$$
Further, the integral on the side perpendicular to the $X$ axis, as $T \to \infty$ is 0, since $$\lim_{T \to \infty} \left \vert \int_{T}^{T+iT} \exp(iz^2) dz \right \vert \leq  \lim_{T \to \infty} \int_{T}^{T+iT} \left \vert \exp(iz^2) \right \vert \vert dz \vert = \lim_{T \to \infty} \int_0^T \exp(-2Tx) dx\\ = \lim_{T \to \infty} \dfrac{1-\exp(-2T^2)}{2T} = 0$$
Hence, the integral along the $X$ axis equals the integral along the hypotenuse i.e. $$\int_{0}^T \exp(iz^2) dz = \int_{0}^{T+iT} \exp(iz^2) dz$$
Setting $z= (1+i)w$, we get that
$$\int_{0}^{T+iT} \exp(iz^2) dz = \int_0^T \exp(i(1+i)^2 w^2) (1+i) dw = (1+i) \int_0^T \exp(-2w^2) dw$$
Hence, $$\lim_{T \to \infty}\int_{0}^{T} \exp(iz^2) dz = (1+i) \dfrac{\sqrt{\pi}}{2\sqrt{2}}$$
Now, note that $$\int_0^{\infty} \sin(x^2) dx = \text{Imag} \left( \int_0^{\infty} e^{ix^2} dx\right)=\dfrac{\sqrt{\pi}}{2\sqrt{2}}$$