Question
Question: How do you integrate \(\int{{{e}^{2x}}.\sin x}\) by parts?...
How do you integrate ∫e2x.sinx by parts?
Solution
In this question, we have to find the value of integration. Thus, we will use the by-parts method to solve the same, because the terms given in the question are multiplied by each other. So, first, we will find the value of u and v, and then put it in the by-parts formula ∫u.vdx=u∫v.dx−∫(u)′(∫vdx)dx . Also, we will put the integration and differentiation of sinx, cosx, and e2x in the steps. After further solving the equation, we will again put the by-parts formula in the solution and make the necessary calculations to get the required value of the problem.
Complete step-by-step answer:
According to the question, we have to find the value of the integration.
Thus, we will use the by-parts method, which is
If I=∫u.vdx ------- (1)
Then, ∫u.vdx=u∫v.dx−∫(u)′(∫vdx)dx --------- (2)
The equation given to us is I=∫e2x.sinxdx --------- (3)
So, on comparing equation (1) and (3), we get
u=e2x and v=sinx
Therefore, now we will put the above values in equation (2), we get
⇒I=e2x∫sinxdx−∫(e2x)′(∫sinxdx)dx
Now, we know that the integration of ∫sinxdx=−cosx , therefore we get
⇒I=e2x(−cosx)−∫(e2x)′.(−cosx)dx
Also, we know that the differentiation of (e2x)′=2e2x , thus, we put the value in the above equation, we get
⇒I=e2x(−cosx)−∫2e2x.(−cosx)dx
On further solving, we get
⇒I=−e2xcosx+2∫e2x.cosxdx --------- (4)
So, now we will solve I1=∫e2x.cosx.dx and then put the value in equation (4), so we will again use by-parts to solve this equation, we get
⇒I1=e2x∫cosx.dx−∫(e2x)′(∫cosx.dx)dx
Now, we know that the integration of ∫cosxdx=sinx and the differentiation of (e2x)′=2e2x , therefore we get
⇒I1=e2x.sinx−(∫2e2x.cosx.dx)
On further solving, we get
⇒I1=e2x.sinx−2(∫e2x.cosx.dx)⇒I1=e2x.sinx−2I1
Now add 2I1 on both sides of the equation, we get
⇒I1+2I1=e2x.sinx−2I1+2I1
As we know, the same terms with opposite signs cancel out each other, therefore we get
⇒3I1=e2x.sinx
Now, we will divide 3 on both sides of the equation, we get
⇒33I1=3e2x.sinx
Thus, on further solving, we get
⇒I1=3e2x.sinx
Now, we will put the above value in equation (4), we get
⇒I=−e2xcosx+2.(3e2x.sinx)
Thus, on further simplification, we get
⇒I=−e2xcosx+32e2xsinx
Therefore, for the problem ∫e2x.sinx , its value is equal to −e2xcosx+32e2xsinx , which is our required answer.
Note: While solving this problem, do mention all the steps and the formula you are using, while solving this problem. Do remember the integration of sinx is negative of cosx and not the addition of cosx.