Compute $$\int_0^\infty \sin x^2dx.$$
The source of this question is here. I'm trying to solve this question using robjohn's method. The integral we need to consider is $$\int_\gamma e^{-z^2}dz$$
Consider the contour $\gamma$ consisting of the line from $0$ to $R$, then counterclockwise along the circular arc from $R$ to $Re^{i\pi/4}$, then back along the line from $Re^{i\pi /4}$ to $0$.
My problem is proving that the integral over the arc is $0$, here is what I've tried so far:
Take $\gamma(t)=Re^{it}$, where $0\leq t\leq \frac{\pi}{4}$. \begin{align*} \int_0^{\frac{\pi}{4}}e^{-z^2}dz&=\int_0^{\frac{\pi}{4}}e^{-R^2e^{2it}}\cdot Rie^{it}dt\\&\leq \int_0^{\frac{\pi}{4}}\vert{e^{-R^2e^{2it}}\vert\cdot \vert Rie^{it}}\vert dt\\ &= \int_0^{\frac{\pi}{4}}\vert{e^{-R^2(\cos 2t+i\sin 2t)}}\vert \cdot Rdt\\ &=\int_0^{\frac{\pi}{4}}R{e^{-R^2\cos 2t}}dt. \end{align*} Then how to prove that $$\lim_{R\to\infty}R\int_0^{\frac\pi 4}e^{-R^2\cos 2t}dt=0?$$
I know someone has provided a solution in the original question, but I wonder if there is a better way to solve it. Also, we used different parametrizations.