QUESTION: $$I =\int_0^\infty e^{-x^2}\ dx$$
such that $$ \int_0^\infty \int _0^\infty e^{-x^2+y^2} \ dx \ dy = I^2 $$
Change the variable to polar coordinates in order to evaluate $$ \int_0^\infty \int _0^\infty e^{-x^2+y^2} \ dx \ dy = I^2 $$
SOLUTION:
Here is where my question lies in these steps $$ \int _0^\frac{\pi}{2} \int_0^\infty \ e^{-r^2} r \ dr\ d\theta $$ why $\frac{\pi}{2}$ not any other $\theta$ value in the integeral? that's a solution I found in a textbook , regardless the following steps , (conducting a non proper integeral and computing the definte integeral's value ) , this is the point where I don't understand.
And one more question related to this workout why do we consider the $e^a =0$ where
$\frac{-1}{2} ( \lim\limits_{a \to \infty}\ e^{-a^2}-1 )\int_0^\infty d\theta$=$\frac{\pi}{4}$