Integral of (x-1)e^x dx
The solution
Detail solution
-
Rewrite the integrand:
ex(x−1)=xex−ex
-
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:
∫(−ex)dx=−∫exdx
-
The integral of the exponential function is itself.
∫exdx=ex
So, the result is: −ex
The result is: xex−2ex
-
Now simplify:
(x−2)ex
-
Add the constant of integration:
(x−2)ex+constant
The answer is:
(x−2)ex+constant
The answer (Indefinite)
[src]
/
|
| x x x
| (x - 1)*E dx = C - 2*e + x*e
|
/
∫ex(x−1)dx=C+xex−2ex
The graph
Use the examples entering the upper and lower limits of integration.