Travou nisso? Resolva com IA
Calculus · real student question

Find the indefinite integral of x e^(-x^2) with respect to x.

Question

Evaluate

∫x e−x2 dx\int x\,e^{-x^{2}}\,dx

Step-by-step solution

  1. Notice why this one is doable at all. The closely related ∫e−x2dx\int e^{-x^2}dx has no elementary antiderivative. The extra factor of xx changes everything: it is (up to a constant) the derivative of the exponent, so the integral is a pure substitution. Recognising that distinction is the entire insight.

  2. Choose the substitution. Let

    u=−x2⟹du=−2x dx⟹x dx=−12 duu=-x^{2}\quad\Longrightarrow\quad du=-2x\,dx\quad\Longrightarrow\quad x\,dx=-\tfrac12\,du

  3. Rewrite the integral entirely in uu. The x dxx\,dx in the original is replaced wholesale, leaving nothing in xx behind:

    ∫x e−x2 dx=∫eu(−12 du)=−12∫eu du\int x\,e^{-x^{2}}\,dx=\int e^{u}\left(-\tfrac12\,du\right)=-\tfrac12\int e^{u}\,du

  4. Integrate and substitute back.

    −12eu+C=−12e−x2+C-\tfrac12 e^{u}+C=-\tfrac12 e^{-x^{2}}+C

  5. Differentiate to check. By the chain rule,

    ddx(−12e−x2)=−12e−x2⋅(−2x)=x e−x2\frac{d}{dx}\left(-\tfrac12 e^{-x^{2}}\right)=-\tfrac12 e^{-x^{2}}\cdot(-2x)=x\,e^{-x^{2}}

    which is the original integrand ✓. A numerical spot check at x=1.3x=1.3: the symmetric difference quotient of −12e−x2-\tfrac12 e^{-x^2} gives 0.23987540.2398754, and xe−x2=0.2398754x e^{-x^2}=0.2398754 ✓.

  6. Note what a definite version would give. With limits aa to bb the answer is 12(e−a2−e−b2)\tfrac12\left(e^{-a^2}-e^{-b^2}\right); in particular ∫0∞xe−x2dx=12\int_0^{\infty}x e^{-x^2}dx=\tfrac12.

Answer

∫x e−x2 dx=−12e−x2+C\int x\,e^{-x^{2}}\,dx=-\frac{1}{2}e^{-x^{2}}+C

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