Integration by substitution · Exercise-U-SUBSTITUTION-003

Step-by-step solved exercise: Integrals

Compute \(\displaystyle\int x e^{x^{2}}\,dx\).

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Choose u equal to the exponent of the exponential.

    \[\displaystyle u=x^{2}\]
  2. Compute the differential of u.

    \[\displaystyle du=2x\,dx\]
  3. Solve for the term x dx that appears in the integral.

    \[\displaystyle x\,dx=\frac{du}{2}\]
  4. Substitute into the integral; the factor 1/2 comes out front.

    \[\displaystyle \frac{1}{2}\int e^{u}\,du\]
  5. Integrate and return to the variable x.

    \[\displaystyle \frac{e^{x^{2}}}{2}+C\]

    Comment: Check: differentiating gives \(\displaystyle x e^{x^{2}}\).

Answer

\(\displaystyle \frac{e^{x^{2}}}{2} + C\)

🎯 Build my path to this exercise