Double Integral 100
Easy Changing the Order of Integration

Calculate the improper iterated integral: integral from 0

Calculate the improper iterated integral: $$ \int_0^\infty dx\int_x^\infty e^{-y^2}\,dy. $$

Explanation of Method

The inner integral $\displaystyle\int_x^\infty e^{-y^2}\,dy$ has no elementary antiderivative in closed form, so integrating in the given order is a dead end. However, reversing the order of integration — a standard technique when one direction is intractable — converts the problem into one where $y$ is integrated last and $x$ first, and $\displaystyle\int_0^y e^{-y^2}\,dx = y\,e^{-y^2}$ is elementary and directly integrable.

  1. Identify the region of integration: $0\leqslant x\leqslant y<\infty$.
  2. Reverse the order, integrating with respect to $x$ first.
  3. Integrate the resulting $y\,e^{-y^2}$ with respect to $y$.

Step 1 · Identify the region

The given iterated integral is $\displaystyle\iint_D e^{-y^2}\,dx\,dy$ over the region $D=\{(x,y):x\geqslant0,\ y\geqslant x\}$, i.e. $0\leqslant x\leqslant y<\infty$.

Step 2 · Reverse the order of integration

Describing $D$ with $y$ as the outer variable: for each fixed $y\geqslant0$, $x$ ranges over $[0,y]$:

$$ \int_0^\infty dx\int_x^\infty e^{-y^2}\,dy = \int_0^\infty e^{-y^2}\left(\int_0^y dx\right)dy = \int_0^\infty y\,e^{-y^2}\,dy. $$

Step 3 · Evaluate the resulting integral

With $w=y^2$, $dw=2y\,dy$:

$$ \int_0^\infty y\,e^{-y^2}\,dy = \frac12\int_0^\infty e^{-w}\,dw = \frac12\Big[-e^{-w}\Big]_0^\infty = \frac12. $$


Additional Notes

Result

The solution to the integral is:

$$ \int_0^\infty dx\int_x^\infty e^{-y^2}\,dy = \frac12. $$