# Definite integral resolution [duplicate]

Possible Duplicate:
Proving $\int_{0}^{+\infty} e^{-x^2} dx = \frac{\sqrt \pi}{2}$

My calculus is a bit rusty, how should I solve this in order to calculate the solution?

$\int^{\infty}_{-\infty}e^{-x^{2}}dx=\sqrt{\pi}$

-

## marked as duplicate by Pedro Tamaroff♦, Alex Becker, David Mitra, William, DonAntonioSep 14 '12 at 3:18

This question was marked as an exact duplicate of an existing question.

This is surely a duplicate. I'll see if I can find a previous version. – Alex Becker Sep 13 '12 at 23:32
Thank you, I didn't know how to find the same formula – John Smith Sep 13 '12 at 23:32

if $I=\int_{-\infty}^{\infty}e^{-x^2}$ then $$I^2=\int\int e^{-(x^2+y^2)}dxdy=\int\int re^{-r^2}drd\theta=\pi$$