Question
Question: Evaluate the integral and then fill in the blanks for \(\int{\dfrac{x\sin x}{x\cos x-\sin x-1}dx}=.....
Evaluate the integral and then fill in the blanks for ∫xcosx−sinx−1xsinxdx=.....+C
A. −log∣xsinx−cosx−1∣
B. log∣xsinx−cosx−1∣
C. −log∣xcosx−sinx−1∣
D. log∣xcosx−sinx−1∣
Solution
In this problem we have to calculate the integral value of the given equation. From this we are going to use the substitution method by substituting u=xcosx−sinx−1 and calculate the value of du. We will use the uv formula of differentiation which is (uv)′=uv′+vu′ and simplify the equation to get the value of du. After getting the value of du, we will substitute u, du in the given integration and simplify the equation. Now we will use the integration formula ∫xdx=log∣x∣+C and calculate the required value.
Complete step by step solution:
Given that, ∫xcosx−sinx−1xsinxdx=.....+C.
Considering the integration part which is ∫xcosx−sinx−1xsinxdx.
To solve the above integration part, we are going to use the substitution method. So, we are going to substitute u=xcosx−sinx−1 in the integration part. Before substituting this value, we also need the value of du. For this we are going to differentiate the value u=xcosx−sinx−1 with respect to x, then we will get
⇒dxdu=dxd(xcosx−sinx−1)
Applying the differentiation for each term, then we will get
⇒dxdu=dxd(xcosx)−dxd(sinx)−dxd(1)
We have the differentiation formula dxd(sinx)=cosx, dxd(1)=0. Substituting these values in the above equation, then we will get
⇒dxdu=dxd(xcosx)−cosx
Using the differentiation formula (uv)′=uv′+vu′ in the above equation, then we will get
⇒dxdu=xdxd(cosx)+cosxdxd(x)−cosx
We know that dxd(cosx)=−sinx, dxd(x)=1. Substituting these values and simplifying the equation, then we will get
⇒dxdu=x(−sinx)+cosx−cosx⇒du=−xsinxdx
From the values u=xcosx−sinx−1, du=−xsinxdx, the given integration value modified as
⇒∫xcosx−sinx−1xsinxdx=∫u1(−du)⇒∫xcosx−sinx−1xsinxdx=−∫udu
We know that ∫xdx=log∣x∣+C, then we will have
⇒∫xcosx−sinx−1xsinxdx=−log∣xcosx−sinx−1∣+C
Hence option – C is the correct answer.
Note: We can also use the formula ∫f(x)f′(x)dx=log∣f(x)∣+C for the above problem. We can use this formula after calculating the derivative of the denominator and use this formula to get the required result.