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