I'm asked to prove the inequality
$$\frac{\sqrt{\pi}}{2}\sqrt{1-e^{-a^2}} < \int_0^a e^{-x^2}dx < \frac{\sqrt{\pi}}{2}\sqrt{1-e^{-2a^2}}$$
After playing around for a while I was able to find (without mistakes, hopefully) that the leftmost term in the inequality is equal to the square root of the following integral in polar coordinates:
$$\int_0^{\pi / 2}d\varphi \int_0^a e^{-r^2}rdr$$
and the rightmost equal to the square root of:
$$\int_0^{\pi / 2}d\varphi \int_0^{\sqrt{2}a} e^{-r^2}rdr$$
But I don't know how to proceed from this.
Any hint would be appreciated.
Short proof: a square is bounded between two quarter-circles.
Expanded proof: for any $a>0$ we have
$$ \left(\int_{0}^{a}e^{-x^2}\,dx\right)^2 = \iint_{[0,a]\times[0,a]} e^{-(x^2+y^2)}\,dx\,dy $$ and the RHS is greater than the integral over $\Gamma_{1}=\{(x,y):x,y>0, x^2+y^2\leq a^2\}$ and smaller than the integral over $\Gamma_{2}=\{(x,y):x,y>0, x^2+y^2\leq 2a^2\}$. These integrals can be easily computed by switching to polar coordinates. For instance $$ \iint_{\Gamma_1} e^{-(x^2+y^2)}\,dx\,dy = \int_{0}^{a}\int_{0}^{\pi/2}\rho e^{-\rho^2}\,d\theta\,d\rho=\left[-\frac{\pi}{4}e^{-\rho^2}\right]_{0}^{a}=\frac{\pi}{4}\left(1-e^{-a^2}\right).$$ The claim follows through a simple square root extraction.