Skip to main content
Physics LibreTexts

10.2: B- Evaluating the Gaussian Integral

  • Page ID
    6393
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    The integral

    \[ \int_{-\infty}^{+\infty} e^{-x^{2}} d x\]

    called the Gaussian integral, does not fall to any of the methods of attack that you learned in elementary calculus. But it can be evaluated quite simply using the following trick.

    Define the value of the integral to be A. Then

    \[ A^{2}=\int_{-\infty}^{+\infty} e^{-x^{2}} d x \int_{-\infty}^{+\infty} e^{-y^{2}} d y=\int_{-\infty}^{+\infty} \int_{-\infty}^{+\infty} d x d y e^{-\left(x^{2}+y^{2}\right)}.\]

    At the last step we have written A2 as a two-variable integral over the entire plane. This seems perverse, because most of the times we work hard to reduce two-dimensional integrals to one-dimensional integrals, whereas here we are going in reverse. But look at the integrand again. When regarded as an integral on the plane, it is clear that we can regard x2 + y2 as just r2, and this suggests we should convert the integral from Cartesian (x, y) to polar (r, θ) coordinates:

    \[ A^{2}=\int_{0}^{\infty} d r \int_{0}^{2 \pi} r d \theta e^{-r^{2}}=2 \pi \int_{0}^{\infty} r e^{-r^{2}} d r\]

    The last integral immediately suggests the substitution u = r2, giving

    \[ A^{2}=\pi \int_{0}^{\infty} e^{-u} d u=-\pi\left.e^{-u}\right|_{0} ^{\infty}=\pi.\]

    We conclude that

    \[ \int_{-\infty}^{+\infty} e^{-x^{2}} d x=\sqrt{\pi}.\]

    B.1 (I) Problem: Another integral

    Show that

    \[ \int_{0}^{\infty} \frac{e^{-x}}{\sqrt{x}} d x=\sqrt{\pi}.\]

    (Clue: Use the substitution \(y = \sqrt{x}\).


    This page titled 10.2: B- Evaluating the Gaussian Integral is shared under a CC BY-SA license and was authored, remixed, and/or curated by Daniel F. Styer.

    • Was this article helpful?