Prove that [tex]\Gamma\left(\frac{1}{2}\right)=\sqrt{\pi}[/tex], where [tex]\Gamma(s)=\int_0^{+\infty}t^{s-1}e^{-t}\,dt[/tex], by computing the double integral [tex]\iint_{x\ge 0,\ y\ge 0}e^{-x^2-y^2}\,dx\,dy[/tex] in two ways.
Solution:
The substitution [tex]t=x^2[/tex], [tex]dt=2x\,dx[/tex], [tex]x\in(0, +\infty)[/tex], reduces the problem to a single integral:
[tex]\Gamma\left(\frac{1}{2}\right)=\int_0^{+\infty}t^{-1/2}e^{-t}\,dt=\int_0^{+\infty}\frac{1}{x}\,e^{-x^2}\,2x\,dx=2I,\qquad I=\int_0^{+\infty}e^{-x^2}\,dx[/tex]
The integral [tex]I[/tex] converges, because [tex]0\lt e^{-x^2}\le e^{-x}[/tex] for [tex]x\ge 1[/tex]. So it suffices to prove that [tex]I=\frac{\sqrt{\pi}}{2}[/tex].
For [tex]A\gt 0[/tex] let [tex]Q_A=\left[0, A\right]×\left[0, A\right][/tex] be a square and [tex]K_R=\left\{x\ge 0,\ y\ge 0,\ x^2+y^2\le R^2\right\}[/tex] a quarter disk. Then [tex]K_A\subset Q_A\subset K_{A\sqrt{2}}[/tex], and since the integrand [tex]e^{-x^2-y^2}[/tex] is positive,
[tex]\iint_{K_A}e^{-x^2-y^2}dx\,dy\le\iint_{Q_A}e^{-x^2-y^2}dx\,dy\le\iint_{K_{A\sqrt{2}}}e^{-x^2-y^2}dx\,dy[/tex]
In Cartesian coordinates the integrand equals [tex]e^{-x^2}e^{-y^2}[/tex], so by Fubini's theorem the integral over the square is
[tex]\iint_{Q_A}e^{-x^2-y^2}dx\,dy=\int_0^Ae^{-x^2}dx\times \int_0^Ae^{-y^2}dy=\left(\int_0^Ae^{-x^2}dx\right)^2[/tex]
In polar coordinates [tex]x=r\cos\varphi,\ y=r\sin \varphi[/tex], [tex]dx\,dy=r\,dr\,d\varphi[/tex], the integral over the quarter disk is
[tex]\iint_{K_R}e^{-x^2-y^2}dx\,dy=\int_0^{\pi/2}d\varphi\int_0^Re^{-r^2}r\,dr=\frac{\pi}{2}\times \frac{1-e^{-R^2}}{2}=\frac{\pi}{4}\left(1-e^{-R^2}\right)[/tex]
Combining the three relations, we get
[tex]\frac{\pi}{4}\left(1-e^{-A^2}\right)\le\left(\int_0^Ae^{-x^2}dx\right)^2\le\frac{\pi}{4}\left(1-e^{-2A^2}\right)[/tex]
As [tex]A\to+\infty[/tex] both bounds tend to [tex]\frac{\pi}{4}[/tex], so [tex]I^2=\frac{\pi}{4}[/tex], and since [tex]I\gt 0[/tex], [tex]I=\frac{\sqrt{\pi}}{2}[/tex]. Thus the double integral over the first quadrant has the same value [tex]\frac{\pi}{4}=I^2[/tex] whether it is computed in Cartesian or in polar coordinates. Hence
[tex]\Gamma\left(\frac{1}{2}\right)=2I=\sqrt{\pi}[/tex]