Stuck on this? Solve it with AI
Calculus · real student question

Evaluate the double integral of e raised to the power minus (x squared plus y squared), over the region 0 ≤ x ≤ 1, 0 ≤ y ≤ 1.

Question

Evaluate

∫01 ⁣ ⁣∫01e−(x2+y2) dy dx\int_0^1 \!\! \int_0^1 e^{-(x^2+y^2)}\,dy\,dx

Step-by-step solution

  1. Do not reach for polar coordinates. Polar is the standard trick for Gaussians, but it only helps when the region is a disk or the whole plane. Here the region is a square, so the boundary rr would depend on θ\theta in a piecewise way. The right move is separation instead.

  2. Factor the integrand. The exponent is a sum, so the exponential is a product:

    e−(x2+y2)=e−x2e−y2e^{-(x^2+y^2)} = e^{-x^2} e^{-y^2}

    Because the limits are constants and each factor involves only one variable, the double integral splits into a product of single integrals:

    ∫01 ⁣ ⁣∫01e−x2e−y2 dy dx=(∫01e−x2dx)(∫01e−y2dy)=(∫01e−t2dt)2\int_0^1 \!\! \int_0^1 e^{-x^2} e^{-y^2}\,dy\,dx = \left(\int_0^1 e^{-x^2}dx\right)\left(\int_0^1 e^{-y^2}dy\right) = \left(\int_0^1 e^{-t^2}dt\right)^2

  3. Name the one-dimensional integral. The function e−t2e^{-t^2} has no elementary antiderivative, so the answer is expressed with the error function, defined by

    erf⁡(a)=2π∫0ae−t2 dt\operatorname{erf}(a) = \frac{2}{\sqrt{\pi}}\int_0^a e^{-t^2}\,dt

    Rearranging gives

    ∫01e−t2 dt=π2erf⁡(1)\int_0^1 e^{-t^2}\,dt = \frac{\sqrt{\pi}}{2}\operatorname{erf}(1)

  4. Square it.

    ∫01 ⁣ ⁣∫01e−(x2+y2) dA=(π2erf⁡(1))2=π4erf⁡(1)2\int_0^1 \!\! \int_0^1 e^{-(x^2+y^2)}\,dA = \left(\frac{\sqrt{\pi}}{2}\operatorname{erf}(1)\right)^2 = \frac{\pi}{4}\operatorname{erf}(1)^2

  5. Evaluate numerically and sanity-check. With erf⁡(1)=0.8427008\operatorname{erf}(1) = 0.8427008:

    π4(0.8427008)2=0.5577463\frac{\pi}{4}(0.8427008)^2 = 0.5577463

    Direct quadrature over the square gives 0.557746290.55774629, matching to eight digits. The bound check also works: the integrand runs from e−2≈0.135e^{-2} \approx 0.135 to 11 on a region of area 11, and 0.5580.558 lies between.

Answer

π4erf⁡(1)2≈0.55775\frac{\pi}{4}\operatorname{erf}(1)^2 \approx 0.55775

Need to solve a different problem like this? Open the solver →