Q. \(\int x e^{x}\,dx\)
Answer
Use integration by parts. Let \(u=x\) so \(du=dx\), and let \(dv=e^x\,dx\) so \(v=e^x\).
\[
\int x e^x\,dx = x e^x – \int e^x\,dx = x e^x – e^x + C
\]
Final result:
\[
\int x e^x\,dx = e^x(x-1) + C
\]
Detailed Explanation
We want to compute the indefinite integral
\[
\int x e^x \, dx
\]
Because this is a product of a polynomial \(x\) and an exponential \(e^x\), the standard method is integration by parts.
Step 1: Choose \(u\) and \(dv\)
Integration by parts uses the formula
\[
\int u \, dv = u v – \int v \, du
\]
Choose:
- \(u = x\)
- \(dv = e^x \, dx\)
Now compute the derivatives and integrals needed for the formula.
Step 2: Compute \(du\) and \(v\)
Differentiate \(u\):
\[
u = x \quad \Rightarrow \quad du = dx
\]
Integrate \(dv\) to get \(v\):
\[
dv = e^x \, dx \quad \Rightarrow \quad v = \int e^x \, dx = e^x
\]
Step 3: Apply the integration by parts formula
Substitute into
\[
\int u \, dv = u v – \int v \, du
\]
This gives:
\[
\int x e^x \, dx = x \cdot e^x – \int e^x \cdot dx
\]
Step 4: Integrate the remaining integral
Now evaluate:
\[
\int e^x \, dx = e^x
\]
So the expression becomes:
\[
\int x e^x \, dx = x e^x – e^x + C
\]
Step 5: Simplify (factor if possible)
Factor out \(e^x\) from the terms \(x e^x – e^x\):
\[
x e^x – e^x = e^x(x – 1)
\]
Therefore, the final answer is:
\[
\int x e^x \, dx = e^x(x – 1) + C
\]
Calculus FAQ
How do I compute \( \int x e^{x}\,dx \) using integration by parts?
What should I choose for \(u\) and \(dv\) in \( \int x e^x dx \)?
Can I verify the result by differentiating \(e^x(x-1)\)?
What is \( \int (x-1)e^{x}\,dx \)?
What is the definite integral \( \int_{0}^{1} x e^{x}\,dx \)?
How do I handle \( \int x e^{x}\,dx \) using the product rule in reverse?
What about \( \int x e^{x} dx \) with a constant factor, like \( \int 3x e^{x} dx \)?
Use our AI tools for help.
Math, Geometry, Trigonometry, etc.