Question
Mathematics Question on integral
Integrate the rational function: (1−sin x)(2−sin x)cos x
Answer
(1−sin x)(2−sin x)cos x
Let sin x=t⇒cos x dx=dt
∴ ∫$$\frac {cos \ x}{(1-sin\ x)(2-sin\ x)}\ dx= ∫(1−t)(2−t)dt
Let (1−t)(2−t)1 = (1−t)A+(2−t)B
1=A(2−t)+B(1−t) ...(1)
Substituting t=2 and then t=1 in equation (1),we obtain
A=1 and B=−1
∴ (1−t)(2−t)1 = (1−t)1−(2−t)1
⇒ ∫$$\frac {cos \ x}{(1-sin\ x)(2-sin\ x)}\ dx = ∫$$[\frac {1}{(1-t)}-\frac {1}{(2-t)}]\ dt
= −log ∣1−t∣+log ∣2−t∣+C
= log ∣1−t2−t∣+C
= log ∣1−sin x2−sin x∣+C