Solveeit Logo

Question

Question: How do you integrate \(\int {\sin \left( {\log x} \right)} \) by integration by parts methods?...

How do you integrate sin(logx)\int {\sin \left( {\log x} \right)} by integration by parts methods?

Explanation

Solution

In this question they have givensin(logx)\int {\sin \left( {\log x} \right)} and asked us to solve it by using parts method. We will have to take any one term as uu and the other as dvdv and have to find its derivative and the value of vv. Then we need to substitute it in the formula I=uvvduI = uv - \smallint vdu and then simply and solve it to find the correct answer.

Formula used: Formula for integrating in parts method:
I=uvvduI = uv - \smallint vdu

Complete step-by-step solution:
In this question they have givensin(logx)\int {\sin \left( {\log x} \right)} and asked us to solve it by using parts method.
We know that the formula for using part method is I=uvvduI = uv - \smallint vdu
First we need to decide which one to choose as uuand which one asdvdv.
Let us take u=sin(logx)  u = \sin (\log x)\; and dv=dx.dv = dx.
Now, we need to find the derivative of uuand the value of vv
u=sin(logx)  \Rightarrow u = \sin (\log x)\;
dudx=ddxsin(logx)  \Rightarrow \dfrac{{du}}{{dx}} = \dfrac{d}{{dx}}\sin (\log x)\;
dudx=1xcos(logx)\Rightarrow \dfrac{{du}}{{dx}} = \dfrac{1}{x}\cos (\log x)
With this we need to find dudu , which is
du=1xcos(logx)dx\Rightarrow du = \dfrac{1}{x}\cos (\log x)dx
Now we know that dv=dx.dv = dx.
dvdx=1\Rightarrow \dfrac{{dv}}{{dx}} = 1
v=1dx\Rightarrow v = \int {1dx}
v=x\Rightarrow v = x
Now, substituting in the formula,I=uvvduI = uv - \smallint vdu
sin(logx)dx=xsin(logx)cos(logx)dx\Rightarrow \int {\sin (\log x)dx} = x\sin (\log x) - \smallint \cos (\log x)dx
Now, we need to repeat the same process for cos(logx)dx\int {\cos (\log x)dx}
Let us take u=cos(logx)  u = \cos (\log x)\; and dv=dx.dv = dx.
Now, we need to find the derivative of uuand the value of vv
u=cos(logx)  \, \Rightarrow u = \cos (\log x)\;
dudx=ddxcos(logx)  \Rightarrow \dfrac{{du}}{{dx}} = \dfrac{d}{{dx}}\cos (\log x)\;
dudx=1xsin(logx)\Rightarrow \dfrac{{du}}{{dx}} = - \dfrac{1}{x}\sin (\log x)
And dv=dx.dv = dx.then v=xv = x
Substituting in the integration
I=xsin(logx)xcos(logx)sin(logx)dx\Rightarrow I = x\sin (\log x) - x\cos (\log x) - \int {\sin (\log x)dx}
We know that sin(logx)\int {\sin \left( {\log x} \right)} is the given question i.e. II
Therefore,
I=xsin(logx)xcos(logx)I\Rightarrow I = x\sin (\log x) - x\cos (\log x) - I
Transferring the II to the other side,
I+I=xsin(logx)xcos(logx)\Rightarrow I + I = x\sin (\log x) - x\cos (\log x)
2I=xsin(logx)xcos(logx)\Rightarrow 2I = x\sin (\log x) - x\cos (\log x)
Dividing 22 in the right hand side,
I=12xsin(logx)xcos(logx)\Rightarrow I = \dfrac{1}{2}x\sin (\log x) - x\cos (\log x)

Therefore, sin(logx)dx=12xsin(logx)xcos(logx)\int {\sin (\log x)dx = } \dfrac{1}{2}x\sin (\log x) - x\cos (\log x)

Note: Integration by Parts formula is used for integrating the product of two functions. This method is used to find the integrals by reducing them into standard forms
Further note that, Integration by parts is not applicable for functions such as   x sin x dx.\smallint \;\surd x{\text{ }}sin{\text{ }}x{\text{ }}dx.
We do not add any constant while finding the integral of the second function.
Usually, if any function is a power of   x\;x or a polynomial in   x\;x, then we take it as the first function. However, in cases where another function is an inverse trigonometric function or logarithmic function, then we take them as the first function.