Question
Question: What is the integral of \(x{{e}^{x}}\) from \(-\infty \) to 0?...
What is the integral of xex from −∞ to 0?
Solution
We solve this problem by using the by parts rule of integration. The by parts rule is given when there is integration of product of two functions.
If u,v are two functions then by parts rule is given as,
∫(u×v)dx=u∫v.dx−∫[u′∫v.dx].dx
Assume the functions u,v from the given function and apply the by parts rule and substitute the limits to get the required answer.
Complete step by step answer:
We are asked to find the value of the integral of xex from −∞ to 0.
Let us assume that the required integral as ′I′ then we get,
⇒I=−∞∫0xex.dx
Here, we can see that the above integral is having two functions in multiplication.
Let us define two functions u,v as,
⇒u=x⇒v=ex
Now, we get the required integral as,
⇒I=−∞∫0(u×v).dx
For the time being let us remove the limits and calculate the integral that is,
⇒I=∫(u×v).dx
We know that if u,v are two functions then by parts rule is given as,
∫(u×v)dx=u∫v.dx−∫[u′∫v.dx].dx
By using the by parts rule to above integral then we get,
⇒I=u∫v.dx−∫[u′∫v.dx].dx⇒I=I1+I2..............................equation(i)
Where, I1=u∫v.dx and I2=∫[u′∫v.dx].dx
Now, let us calculate the first integral by substituting the functions then we get,
⇒I1=x∫ex.dx
We know that the integral of ex is ex
By using the above result in the first integral then we get,
⇒I1=x(ex)⇒I1=xex
Now, let us calculate the second integral by substituting the functions then we get,