Question
Question: Evaluate the integral of \(\dfrac{\cos x}{\left( 1-\sin x \right)\left( 2-\sin x \right)}\)....
Evaluate the integral of (1−sinx)(2−sinx)cosx.
Solution
The integral that we are given in the problem is (1−sinx)(2−sinx)cosx . First, let us assume the expression 1−sinx=t . Taking differentials on both sides of the equation, we get −cosxdx=dt . The integral thus becomes ⇒I=∫t(t+1)−dt . Using partial fraction technique, we get ⇒I=−∫(t1−t+11)dt . Carrying out the integration, we get ⇒I=−lnt+ln(t+1) . Upon substituting the value of t, we get the required result.
Complete step-by-step solution:
Let the integral be,
I=∫(1−sinx)(2−sinx)cosxdx
Now, let us assume the expression 1−sinx=t . Taking differentials on both sides of the equation, we get,
−cosxdx=dt
So, incorporating this in the integral, the integral thus becomes,
⇒I=∫t(t+1)−dt
Now, we take the help of partial fractions. For this, we need to break the expression t(t+1)1 into two or more simpler fractions. We do so by assuming,
t(t+1)1=tA+t+1B
Multiplying t(t+1) on both sides of the above equation, we get,
⇒1=A(t+1)+Bt
Simplifying the above equation, we get,
⇒1=A+(A+B)t
Comparing the LHS and the RHS, we get,
A=1,A+B=0⇒A=1,B=−1
So, we can write the expression t(t+1)1 as t(t+1)1=t1−t+11 . The above integral thus becomes,
⇒I=−∫(t1−t+11)dt
Opening up the brackets, we get,
⇒I=−∫t1dt+∫t+11dt
The above integral can be rewritten as,
⇒I=−∫t1dt+∫t+1d(t+1)
Carrying out the integration, we get,
⇒I=−lnt+ln(t+1)
Including the constant of integration as the integration is indefinite, we get,
⇒I=−lnt+ln(t+1)+c
Upon substituting the value of t as t=1−sinx , we get,
⇒I=−ln(1−sinx)+ln(2−sinx)+c
Thus, we can conclude that the given integral (1−sinx)(2−sinx)cosx upon integration gives −ln(1−sinx)+ln(2−sinx)+c which is option B.
Note: The problem can be solved in another way. The integral is I=∫(1−sinx)(2−sinx)cosxdx . We can rewrite the integral as,
I=∫cosx((1−sinx)(2−sinx)1)dx
Now, using partial fractions, we get,