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