Integration by parts · Exercise-INTEGRATION-BY-PARTS-001

Step-by-step solved exercise: Integrals

When computing \(\displaystyle\int x\,e^{x}\,dx\) by parts, which choice of u and dv is suitable?

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

Step-by-step solution

  1. Identify the two factors in the integrand: the polynomial \(\displaystyle x\) and the exponential \(\displaystyle e^{x}\).

    \[\displaystyle \int x\,e^{x}\,dx\]
  2. Take \(\displaystyle u=x\), which simplifies when differentiated: \(\displaystyle du=dx\).

    \[\displaystyle u=x,\quad du=dx\]
  3. The rest is \(\displaystyle dv=e^{x}\,dx\), which integrates directly to \(\displaystyle v=e^{x}\).

    \[\displaystyle dv=e^{x}\,dx,\quad v=e^{x}\]
  4. Apply the formula: the integral becomes a simpler term, so the right choice is \(\displaystyle u=x\), \(\displaystyle dv=e^{x}\,dx\).

    \[\displaystyle \int x\,e^{x}\,dx = x\,e^{x}-\int e^{x}\,dx\]

Answer

\(\displaystyle u=x,\ dv=e^{x}\,dx\)

🎯 Build my path to this exercise