Solveeit Logo

Question

Question: How do you integrate \[\int {{e^x}.\sin x} dx\] by integration by parts method?...

How do you integrate ex.sinxdx\int {{e^x}.\sin x} dx by integration by parts method?

Explanation

Solution

Integration by parts is used for integrating the product of two functions. This method is used to solve the integration easily. We know the formula for integrating by parts is given by u v dx=uv dx(dudxv dx)dx\int {u{\text{ }}v{\text{ }}dx = u\int {v{\text{ }}dx - \int {\left( {\dfrac{{du}}{{dx}}\int {v{\text{ }}dx} } \right)} } } dx. Since in the given problem we have the product of two functions, we take u=sinxu = \sin x and v=exv = {e^x}.

Complete step by step solution:
Given, ex.sinxdx\int {{e^x}.\sin x} dx.
Let’s take I=ex.sinx.dxI = \int {{e^x}.\sin x} .dx
(Because if we keep on integrating it’s never going to end, we need to apply integration by parts infinite times so we took it as ‘I’).
As we know the formula for integration by parts,

}}dx} } \right)} } } dx$$ And we have $$u = \sin x$$ and $$v = {e^x}$$. Substituting we have $$I = \int {{e^x}.\sin x} .dx$$ $$ = \sin x\int {{e^x}{\text{ }}dx - \int {\left( {\dfrac{{d\left( {\sin x} \right)}}{{dx}}\int {{e^x}{\text{ }}dx} } \right)} } dx$$ We know that $$\int {{e^x}{\text{ }}dx = {e^x}} $$ and $$\dfrac{{d\left( {\sin x} \right)}}{{dx}} = \cos x$$. Substituting these we have, $$ = \sin x.{e^x} - \int {\cos x.{e^x}.dx} $$ Again we need to apply integration by parts formula to $$\int {\cos x.{e^x}.dx} $$. Where $$u = \cos x$$ and $$v = {e^x}$$. $$ = \sin x.{e^x} - \left[ {\cos x.\int {{e^x}{\text{ }}dx - \int {\left( {\dfrac{{d\left( {\cos x} \right)}}{{dx}}\int {{e^x}{\text{ }}dx} } \right)} } dx} \right]$$ We know that $$\int {{e^x}{\text{ }}dx = {e^x}} $$ and $$\dfrac{{d\left( {\cos x} \right)}}{{dx}} = - \sin x$$. Substituting these we have, $$ = \sin x.{e^x} - \left[ {\cos x.{e^x} - \int { - \sin x.{e^x}.dx} } \right]$$ $$ = \sin x.{e^x} - \left[ {\cos x.{e^x} + \int {\sin x.{e^x}.dx} } \right]$$ $$I = \sin x.{e^x} - \cos x.{e^x} - \int {{e^x}.\sin x.dx} $$ But we have taken $$I = \int {{e^x}.\sin x} .dx$$. Then above becomes $$I = \sin x.{e^x} - \cos x.{e^x} - I + c$$ (since we removes a integration so we need to add integration constant) $$I + I = \sin x.{e^x} - \cos x.{e^x} + c$$ $$2I = \sin x.{e^x} - \cos x.{e^x} + c$$ $$I = \dfrac{1}{2}\left( {\sin x.{e^x} - \cos x.{e^x}} \right) + c$$ **Hence we have, $$ \Rightarrow \int {{e^x}.\sin x} .dx = \dfrac{1}{2}\left( {\sin x.{e^x} - \cos x.{e^x}} \right) + c$$, where ‘c’ is the integration constant.** **Note:** Here we use a rule called ‘ILATE’. The integral of two functions is taken by considering the first term as first function and second term as a second function. This is called the ‘ILATE’ rule. In the given problem we have $${e^x}.\sin x$$. In this we considered $$\sin x$$ as a first function and $${e^x}$$ as a second function. That is the preference order of this rule is based on some functions such as Inverse, Logarithm, Algebraic, Trigonometry, exponent. As we can see we have trigonometric functions first in the preference and then exponent.