Question
Question: How do you integrate \(\int {\sin \left( {\log x} \right)} \) by integration by parts methods?...
How do you integrate ∫sin(logx) by integration by parts methods?
Solution
In this question they have given∫sin(logx)and asked us to solve it by using parts method. We will have to take any one term as u and the other as dv and have to find its derivative and the value of v. Then we need to substitute it in the formula I=uv−∫vdu and then simply and solve it to find the correct answer.
Formula used: Formula for integrating in parts method:
I=uv−∫vdu
Complete step-by-step solution:
In this question they have given∫sin(logx)and asked us to solve it by using parts method.
We know that the formula for using part method is I=uv−∫vdu
First we need to decide which one to choose as uand which one asdv.
Let us take u=sin(logx) and dv=dx.
Now, we need to find the derivative of uand the value of v
⇒u=sin(logx)
⇒dxdu=dxdsin(logx)
⇒dxdu=x1cos(logx)
With this we need to find du , which is
⇒du=x1cos(logx)dx
Now we know that dv=dx.
⇒dxdv=1
⇒v=∫1dx
⇒v=x
Now, substituting in the formula,I=uv−∫vdu
⇒∫sin(logx)dx=xsin(logx)−∫cos(logx)dx
Now, we need to repeat the same process for ∫cos(logx)dx
Let us take u=cos(logx) and dv=dx.
Now, we need to find the derivative of uand the value of v
⇒u=cos(logx)
⇒dxdu=dxdcos(logx)
⇒dxdu=−x1sin(logx)
And dv=dx.then v=x
Substituting in the integration
⇒I=xsin(logx)−xcos(logx)−∫sin(logx)dx
We know that ∫sin(logx)is the given question i.e. I
Therefore,
⇒I=xsin(logx)−xcos(logx)−I
Transferring the I to the other side,
⇒I+I=xsin(logx)−xcos(logx)
⇒2I=xsin(logx)−xcos(logx)
Dividing 2 in the right hand side,
⇒I=21xsin(logx)−xcos(logx)
Therefore, ∫sin(logx)dx=21xsin(logx)−xcos(logx)
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.
We do not add any constant while finding the integral of the second function.
Usually, if any function is a power of x or a polynomial in 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.