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

Evaluate the improper integral of x times e^(-x^2) dx from x = 0 to infinity.

Question

Evaluate

∫0∞x e−x2dx\int_0^{\infty}x\,e^{-x^2}dx

Step-by-step solution

  1. Rewrite the improper integral as a limit. An infinite upper limit is defined by a limit of proper integrals, and that definition is what makes the convergence question meaningful:

    ∫0∞x e−x2dx=lim⁡b→∞∫0bx e−x2dx\int_0^{\infty}x\,e^{-x^2}dx=\lim_{b\to\infty}\int_0^{b}x\,e^{-x^2}dx

  2. Substitute u=x2u=x^2. The factor xx in front is exactly what the substitution needs — this is why x e−x2x\,e^{-x^2} is elementary while e−x2e^{-x^2} alone is not:

    u=x2,du=2x dx,x dx=du2u=x^2,\qquad du=2x\,dx,\qquad x\,dx=\frac{du}{2}

    The limits transform as well: x=0⇒u=0x=0\Rightarrow u=0 and x=b⇒u=b2x=b\Rightarrow u=b^2.

  3. Integrate in uu.

    ∫0bx e−x2dx=12∫0b2e−udu=12[−e−u]0b2=12(1−e−b2)\int_0^{b}x\,e^{-x^2}dx=\frac12\int_0^{b^2}e^{-u}du=\frac12\left[-e^{-u}\right]_0^{b^2}=\frac12\left(1-e^{-b^2}\right)

  4. Take the limit. As b→∞b\to\infty, b2→∞b^2\to\infty and e−b2→0e^{-b^2}\to 0:

    ∫0∞x e−x2dx=lim⁡b→∞12(1−e−b2)=12\int_0^{\infty}x\,e^{-x^2}dx=\lim_{b\to\infty}\frac12\left(1-e^{-b^2}\right)=\frac12

    The integral converges, and the decay is extremely fast: at b=3b=3 the remaining tail contributes only 12e−9≈6×10−5\tfrac12 e^{-9}\approx 6\times 10^{-5}.

  5. Check against a related result. Because the integrand is odd, the same antiderivative gives ∫−∞∞x e−x2dx=0\int_{-\infty}^{\infty}x\,e^{-x^2}dx=0, while the even companion ∫0∞e−x2dx=π2≈0.886\int_0^{\infty}e^{-x^2}dx=\tfrac{\sqrt\pi}{2}\approx 0.886 has no elementary antiderivative at all. Comparing the two shows how much the single factor of xx changes the problem: with it, an exact 12\tfrac12; without it, a value that needs the Gaussian trick.

Answer

12\frac{1}{2}

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