Question
Question: Evaluate \(\int {\left[ {\sin \left( {\log x} \right) + \cos \left( {\log x} \right)} \right]} dx = ...
Evaluate ∫[sin(logx)+cos(logx)]dx=
A.xcos(logx)+c
B.cos(logx)+c
C.xsin(logx)+c
D.sin(logx)+c
Solution
Hint : In order to find the value of the integration of the given function, separately integrate the operands. We can see that there are two functions in each operand, so we would use the integration by parts method to integrate the functions and then substitute them in the original equation, solve them and get the results.
Formula used:
∫etdt=et
∫uvdx=u∫vdx−∫u′(∫vdx)dx
(sint)′=cost
Complete step-by-step answer :
We are given with an equation ∫[sin(logx)+cos(logx)]dx. Considering it to be ′I′. Numerically written as:
I=∫[sin(logx)+cos(logx)]dx
Taking the integration sign separately, we get:
I=∫sin(logx)dx+∫cos(logx)dx ……..(1)
Taking the first operand to be I1 and the other operand to be I2, written as:
I=I1+I2
Solving the first operand I1, we get:
I1=∫sin(logx)dx ………(2)
Considering logx=t.
Writing logx=t as x=et.
Differentiating both sides of logx=t with respect to x, we get:
⇒dxd(logx)=dxdt
⇒x1=dxdt
⇒dx=xdt
Substituting the value of x=et in the above equation, we get:
⇒dx=etdt
Substituting dx=etdt and logx=t in equation 2, we get:
I1=∫sint.(et)dt
Since, we have two functions, so we are using integration by parts, which is as:
∫uvdx=u∫vdx−∫u′(∫vdx)dx
Comparing u, v with I1, we get:
u=sint v=et
Substituting the values in the formula of parts, we get:
I1=∫sint.(et)dt=sint∫etdt−∫(sint)′(∫etdt)dt
Since, we know that ∫etdt=et and (sint)′=cost, so substituting the value in above equation, we get:
⇒I1=∫sint.(et)dt=etsint−∫etcostdt+c
Substituting the values etas x and t as (logx) on the right side of the above equation and we get:
⇒I1=∫sin(logx)dx=xsin(logx)−∫xcos(logx)xdx+c
⇒I1=∫sin(logx)dx=xsin(logx)−∫cos(logx)dx+c
Substituting this equation in the equation 1, and we get:
I=xsin(logx)−∫cos(logx)dx+∫cos(logx)dx+c
And, we can see that the first and second operand can be cancelled, so we get:
I=xsin(logx)+c
⇒∫[sin(logx)+cos(logx)]dx=xsin(logx)+c
Hence, ∫[sin(logx)+cos(logx)]dx=xsin(logx)+c which is the option 3.
So, the correct answer is “Option 3”.
Note : The term “Operands” used in the above statements refers to the equations, variables, or constants etc., present before and after an operator (+, -, *, /).
It is always recommended to solve the integration parts step by step in order to avoid any mistakes.