Question
Question: Evaluate \(\int {\dfrac{{\sin x}}{{(1 - \cos x)(2 - \cos x)}}} dx\)...
Evaluate ∫(1−cosx)(2−cosx)sinxdx
Solution
For solving such a type of question we will assume cosx as the variable ′t′. After that we will differentiate the equation and put that value into the equation given in the question. You will get a polynomial in ′t′.then use partial fractions method for integrating.
Complete step-by-step answer:
Let t=cosx
Differentiating both sides with respect to x, we will get,
∴dt=−sinxdx
Putting value in question, we will get,
=−∫(1−t)(2−t)dt
Now, let us use partial fraction for further solving,
(1−t)(2−t)1=(1−t)A+(2−t)B.......(1)
Taking LCM and adding in RHS, we will get,
∴1=A(2−t)+B(1−t).........(2)
Putting t=1 in equation (2)
We will get A=1
Putting t=2 In equation (2)
We will get B=−1
A=1 or B=−1
Putting above values in equation (1), we will get,
∴(1−t)(2−t)1=1−t1−2−t1
Ingratiating both sides, we will get,
∴∫(1−t)(2−t)1dt=∫1−tdt+∫t−2dt
∴∫(1−t)(2−t)dt=−In(1−t)+In(t−2)+c
Now, putting t=cosx, we will get,
∴∫(1−cosx)(2−cosx)sinxdx=In(1−cosxcosx−2)+c
Note: Don’t forget to add ‘c’(the constant of integration). In the question of indefinite integral, it is necessary to add a constant of integration in the answer. If you forget to add ‘c’ your answer will be wrong.