Question
Question: What is the integral of \( 2x{e^x}? \)...
What is the integral of 2xex?
Solution
Hint : As we can see that we have to solve the given integral. We can solve this integral by using the formula of integration by parts and doing some calculations we will get the required answer. We will be using the formula which is ∫udv=uv−∫vdu .
Complete step-by-step answer :
Here we have to find the integral of 2xex .
So we can write it as ∫2xexdx . We have to solve this.
We can see that there is a constant value in the expression i.e. 2 . Since it is an integral value we can take it outside the integral sign and thus the equation can be re-written as 2∫xexdx .
Let us assume that I=∫xexdx . So we can write 2∫xexdx as 2I .
Now by applying the formula of integral by parts and by comparing we have u→x , so we say du=dx .
And we have dv=exdx , therefore v=ex .
By substituting the values in the formula we can write
∫xexdx=xex−∫exdx .
We can cancel out the common terms, thus it gives ∫exdx=ex . On further integrating we can write ∫xexdx=xex−ex .
From the above we have I=∫xexdx , so we can rewrite it as I=xex−ex .
Therefore we have 2∫xexdx as 2I , so 2∫xexdx =2(xex−ex)+C .
Hence the required integral value of 2∫xexdx is 2(xex−ex)+C .
So, the correct answer is “ 2(xex−ex)+C ”.
Note : We should note that the integral of ex with respect to x is ex . Before solving this kind of question we should be fully aware of the integration and their formulas. We should avoid the calculation mistake. All the basic integration and derivative formulas should be memorized to solve these types of questions.