Integral of (x+1)e^-x dx
The solution
Detail solution
-
There are multiple ways to do this integral.
Method #1
-
Let u=−x.
Then let du=−dx and substitute du:
∫(ueu−eu)du
-
Integrate term-by-term:
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(u)=u and let dv(u)=eu.
Then du(u)=1.
To find v(u):
-
The integral of the exponential function is itself.
∫eudu=eu
Now evaluate the sub-integral.
-
The integral of the exponential function is itself.
∫eudu=eu
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−eu)du=−∫eudu
-
The integral of the exponential function is itself.
∫eudu=eu
So, the result is: −eu
The result is: ueu−2eu
Now substitute u back in:
−xe−x−2e−x
Method #2
-
Rewrite the integrand:
e−x(x+1)=xe−x+e−x
-
Integrate term-by-term:
-
Let u=−x.
Then let du=−dx and substitute du:
∫ueudu
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(u)=u and let dv(u)=eu.
Then du(u)=1.
To find v(u):
-
The integral of the exponential function is itself.
∫eudu=eu
Now evaluate the sub-integral.
-
The integral of the exponential function is itself.
∫eudu=eu
Now substitute u back in:
−xe−x−e−x
-
Let u=−x.
Then let du=−dx and substitute −du:
∫(−eu)du
-
The integral of a constant times a function is the constant times the integral of the function:
-
The integral of the exponential function is itself.
∫eudu=eu
So, the result is: −eu
Now substitute u back in:
The result is: −xe−x−2e−x
-
Now simplify:
−(x+2)e−x
-
Add the constant of integration:
−(x+2)e−x+constant
The answer is:
−(x+2)e−x+constant
The answer (Indefinite)
[src]
/
|
| -x -x -x
| (x + 1)*E dx = C - 2*e - x*e
|
/
∫e−x(x+1)dx=C−xe−x−2e−x
The graph
Use the examples entering the upper and lower limits of integration.