Solveeit Logo

Question

Question: Integrate \[\dfrac{{\cos x}}{{(1 - \sin x)(2 - \sin x)}}\]....

Integrate cosx(1sinx)(2sinx)\dfrac{{\cos x}}{{(1 - \sin x)(2 - \sin x)}}.

Explanation

Solution

Here we have to integrate the given function. The function is in the form of a fraction of the trigonometric function. Firstly we substitute the sinx\sin x as t. Since it is in the form of fraction, we use the integration by partial fractions and by integration formula we are going to obtain the answer for the given question.

Complete step by step answer:
Now consider the given question
cosx(1sinx)(2sinx).dx\Rightarrow \int {\dfrac{{\cos x}}{{(1 - \sin x)(2 - \sin x)}}} .dx
Substitute sinx=t\sin x = t, on differentiating we have cosxdx=dt\cos x\,dx = dt
dt(1t)(2t)\Rightarrow \int {\dfrac{{dt}}{{(1 - t)(2 - t)}}}-------(1)
We express the fractions by partial fractions. So we have
1(1t)(2t)=A(1t)+B(2t)\Rightarrow \dfrac{1}{{(1 - t)(2 - t)}} = \dfrac{A}{{(1 - t)}} + \dfrac{B}{{(2 - t)}}-------(2)
On taking LCM for the RHS we have
1(1t)(2t)=A(2t)+B(1t)(1t)(2t)\Rightarrow \dfrac{1}{{(1 - t)(2 - t)}} = \dfrac{{A(2 - t) + B(1 - t)}}{{(1 - t)(2 - t)}}
Cancelling the terms which are present in the denominator.
1=A(2t)+B(1t)\Rightarrow 1 = A(2 - t) + B(1 - t) ----(3)

By considering the above equation we have to determine the value of A and B.
Take t=1t = 1 in the equation (3), we have
1=A(21)+B(11)\Rightarrow 1 = A(2 - 1) + B(1 - 1)
On simplifying we have
1=A\Rightarrow 1 = A------(4)
Therefore the value of A is 1
Now we determine the value of B by considering t=2t = 2 in equation (3)
1=A(22)+B(12)\Rightarrow 1 = A(2 - 2) + B(1 - 2)
On simplifying we have
1=B(1)\Rightarrow 1 = B( - 1)
B=1\Rightarrow B = - 1 ----- (5)

On substituting the equation (4) and the equation (5) in the equation (2)
1(1t)(2t)=1(1t)+1(2t)\Rightarrow \dfrac{1}{{(1 - t)(2 - t)}} = \dfrac{1}{{(1 - t)}} + \dfrac{{ - 1}}{{(2 - t)}}
By using the sign conventions, we have
1(1t)(2t)=1(1t)1(2t)\Rightarrow \dfrac{1}{{(1 - t)(2 - t)}} = \dfrac{1}{{(1 - t)}} - \dfrac{1}{{(2 - t)}}
Therefore, the equation (1) can be written as
dt(1t)(2t)=(1(1t)1(2t))dt\Rightarrow \int {\dfrac{{dt}}{{(1 - t)(2 - t)}}} = \int {\left( {\dfrac{1}{{(1 - t)}} - \dfrac{1}{{(2 - t)}}} \right)} \,dt
By the property of integration (ab)dx=a.dxb.dx\int {(a - b)\,dx = \int {a.dx - \int {b.dx} } } , so the above inequality is written as
dt(1t)(2t)=dt(1t)dt(2t)\Rightarrow \int {\dfrac{{dt}}{{(1 - t)(2 - t)}}} = \int {\dfrac{{dt}}{{(1 - t)}}} - \int {\dfrac{{dt}}{{(2 - t)}}}

As we know the integration formula 1xdx=logx\int {\dfrac{1}{x}dx} = \log |x|. The above inequality resembles the same integration formula. On applying the formula, we have
dt(1t)(2t)=log1tlog2t+C\Rightarrow \int {\dfrac{{dt}}{{(1 - t)(2 - t)}}} = \log |1 - t| - \log |2 - t| + C
On using the property of logarithmic function logmlogn=log(mn)\log m - \log n = \log \left( {\dfrac{m}{n}} \right), so the above inequality is written as
dt(1t)(2t)=log(1t2t)+C\Rightarrow \int {\dfrac{{dt}}{{(1 - t)(2 - t)}}} = \log \left( {\dfrac{{|1 - t|}}{{|2 - t|}}} \right) + C
On substituting the value of t in the above inequality we have
cosx(1sinx)(2sinx)dx=log(1sinx2sinx)+C\Rightarrow \int {\dfrac{{\cos x}}{{(1 - \sin x)(2 - \sin x)}}dx} = \log \left( {\dfrac{{|1 - \sin x|}}{{|2 - \sin x|}}} \right) + C
where CC is integration constant.

Therefore, the integration of cosx(1sinx)(2sinx)\dfrac{{\cos x}}{{(1 - \sin x)(2 - \sin x)}} is log(1sinx2sinx)+C\log \left( {\dfrac{{|1 - \sin x|}}{{|2 - \sin x|}}} \right) + C.

Note: An algebraic fraction can be broken down into simpler parts known as partial fractions. The important partial fractions form of the rational fraction is given by
1. px+q(xa)(xb),abA(xa)+B(xb)\dfrac{{px + q}}{{(x - a)(x - b)}},a \ne b\, \to \,\dfrac{A}{{(x - a)}} + \dfrac{B}{{(x - b)}}
2. px+q(xa)2A(xa)+B(xa)2\dfrac{{px + q}}{{{{(x - a)}^2}}}\, \to \,\dfrac{A}{{(x - a)}} + \dfrac{B}{{{{(x - a)}^2}}}
3. px2+qx+r(xa)(xb)(xc)A(xa)+B(xb)+C(xc)\dfrac{{p{x^2} + qx + r}}{{(x - a)(x - b)(x - c)}}\, \to \,\dfrac{A}{{(x - a)}} + \dfrac{B}{{(x - b)}} + \dfrac{C}{{(x - c)}}
4. px2+qx+r(xa)2(xb)A(xa)+B(xa)2+C(xb)\dfrac{{p{x^2} + qx + r}}{{{{(x - a)}^2}(x - b)}}\, \to \,\dfrac{A}{{(x - a)}} + \dfrac{B}{{{{(x - a)}^2}}} + \dfrac{C}{{(x - b)}}
5. px2+qx+r(xa)(x2+bx+c)A(xa)+Bx+C(x2+bx+c)\dfrac{{p{x^2} + qx + r}}{{(x - a)({x^2} + bx + c)}}\, \to \,\dfrac{A}{{(x - a)}} + \dfrac{{Bx + C}}{{({x^2} + bx + c)}}
The way of considering the partial fractions will differ and it is based on the form of the rational fraction.