Integral of (x-2)e^x dx
The solution
Detail solution
-
Rewrite the integrand:
ex(x−2)=xex−2ex
-
Integrate term-by-term:
-
Use integration by parts:
∫udv=uv−∫vdu
Let u(x)=x and let dv(x)=ex.
Then du(x)=1.
To find v(x):
-
The integral of the exponential function is itself.
∫exdx=ex
Now evaluate the sub-integral.
-
The integral of the exponential function is itself.
∫exdx=ex
-
The integral of a constant times a function is the constant times the integral of the function:
∫(−2ex)dx=−2∫exdx
-
The integral of the exponential function is itself.
∫exdx=ex
So, the result is: −2ex
The result is: xex−3ex
-
Now simplify:
(x−3)ex
-
Add the constant of integration:
(x−3)ex+constant
The answer is:
(x−3)ex+constant
The answer (Indefinite)
[src]
/
|
| x x x
| (x - 2)*E dx = C - 3*e + x*e
|
/
∫ex(x−2)dx=C+xex−3ex
The graph
Use the examples entering the upper and lower limits of integration.