Example (convergence of integral of exp(-x^2))

Does this converge: $$ \begin{align*} \int_{0}^{\infty} e^{-x^2}\, dx? \end{align*} $$ The proper integral $\int_{0}^{R} e^{-x^2} dx$ has no elementary solution.

For $x>1$, $e^{-x^2} \leq e^{-x}$ and $$ \begin{align*} \int_{1}^{R} e^{-x}\, dx = \left[-e^{-x}\right]_{1}^R = e^{-1} - e^{-R} \to e^{-1} \end{align*} $$ so $\int_{1}^{\infty} e^{-x^2}\, dx$ converges by comparison.

Therefore $$ \begin{align*} \int_{0}^{\infty} e^{-x^2}\, dx = \int_{0}^{1} e^{-x^2}\, dx + \int_{1}^{\infty} e^{-x^2}\, dx \end{align*} $$ converges.