Solveeit Logo

Question

Question: Integration of : \[\int {\dfrac{{\cos x - \cos 2x}}{{1 - \cos x}}} dx\]?...

Integration of : cosxcos2x1cosxdx\int {\dfrac{{\cos x - \cos 2x}}{{1 - \cos x}}} dx?

Explanation

Solution

To solve this integration, we will first convert the whole expression in terms of cosnx{\cos ^n}x. For that, we will first convert cos2x\cos 2x and write it in terms of cosx\cos x using the formula cos2x=2cos2x1\cos 2x = 2{\cos ^2}x - 1. After that, we will have a quadratic equation in the numerator. Now, we will simplify the numerator by factorising and then cancel out some of the terms from numerator and denominator. After cancellation, we will be left with some terms in the numerator and then we will integrate them using the integration formulas and obtain our answer.

Complete step by step answer:
We need to integrate cosxcos2x1cosxdx\int {\dfrac{{\cos x - \cos 2x}}{{1 - \cos x}}} dx
Let I=cosxcos2x1cosxdxI = \int {\dfrac{{\cos x - \cos 2x}}{{1 - \cos x}}} dx
Now, convert this expression in terms of cosnx{\cos ^n}x.
Using the formula cos2x=2cos2x1\cos 2x = 2{\cos ^2}x - 1, we have
I=cosx(2cos2x1)1cosxdx\Rightarrow I = \int {\dfrac{{\cos x - \left( {2{{\cos }^2}x - 1} \right)}}{{1 - \cos x}}} dx
Opening the brackets, we get
I=cosx2cos2x+11cosxdx\Rightarrow I = \int {\dfrac{{\cos x - 2{{\cos }^2}x + 1}}{{1 - \cos x}}} dx

Taking the negative sign common from the numerator and denominator respectively, we get
I=()(cosx+2cos2x1)()(1+cosx)dx\Rightarrow I = \int {\dfrac{{\left( - \right)\left( { - \cos x + 2{{\cos }^2}x - 1} \right)}}{{\left( - \right)\left( { - 1 + \cos x} \right)}}} dx
Cancelling out the negative sign, we get
I=(cosx+2cos2x1)(1+cosx)dx\Rightarrow I = \int {\dfrac{{\left( { - \cos x + 2{{\cos }^2}x - 1} \right)}}{{\left( { - 1 + \cos x} \right)}}} dx
Rearranging the terms, we get
I=(2cos2xcosx1)(cosx1)dx\Rightarrow I = \int {\dfrac{{\left( {2{{\cos }^2}x - \cos x - 1} \right)}}{{\left( {\cos x - 1} \right)}}} dx
We will factorise the numerator using Splitting the middle term formula.
We can write cosx\cos x as 2cosxcosx2\cos x - \cos x
Hence, writing cosx\cos x as 2cosxcosx2\cos x - \cos x, we get
I=(2cos2x(2cosxcosx)1)(cosx1)dx\Rightarrow I = \int {\dfrac{{\left( {2{{\cos }^2}x - \left( {2\cos x - \cos x} \right) - 1} \right)}}{{\left( {\cos x - 1} \right)}}} dx

Now, opening the brackets in the numerator, we get
I=(2cos2x2cosx+cosx1)(cosx1)dx\Rightarrow I = \int {\dfrac{{\left( {2{{\cos }^2}x - 2\cos x + \cos x - 1} \right)}}{{\left( {\cos x - 1} \right)}}} dx
Now, combing first two terms and the last two terms together in the numerator, we get
I=(2cos2x2cosx)+(cosx1)(cosx1)dx\Rightarrow I = \int {\dfrac{{\left( {2{{\cos }^2}x - 2\cos x} \right) + \left( {\cos x - 1} \right)}}{{\left( {\cos x - 1} \right)}}} dx
Taking 2cosx2\cos x common from the first two terms, we get
I=(2cosx)(cosx1)+(cosx1)(cosx1)dx\Rightarrow I = \int {\dfrac{{\left( {2\cos x} \right)\left( {\cos x - 1} \right) + \left( {\cos x - 1} \right)}}{{\left( {\cos x - 1} \right)}}} dx
Using a=(1)(a)a = \left( 1 \right)\left( a \right), we can write cosx1\cos x - 1 as (1)(cosx1)\left( 1 \right)\left( {\cos x - 1} \right). Hence, our expression becomes
I=(2cosx)(cosx1)+(1)(cosx1)(cosx1)dx\Rightarrow I = \int {\dfrac{{\left( {2\cos x} \right)\left( {\cos x - 1} \right) + \left( 1 \right)\left( {\cos x - 1} \right)}}{{\left( {\cos x - 1} \right)}}} dx

Now, taking (cosx1)\left( {\cos x - 1} \right) common from the numerator, we get
I=(cosx1)(2cosx+1)(cosx1)dx\Rightarrow I = \int {\dfrac{{\left( {\cos x - 1} \right)\left( {2\cos x + 1} \right)}}{{\left( {\cos x - 1} \right)}}} dx
Now, cancelling the term (cosx1)\left( {\cos x - 1} \right) from the numerator and denominator, we get
I=(2cosx+1)dx\Rightarrow I = \int {\left( {2\cos x + 1} \right)} dx
Now, using (f(x)+g(x))dx=f(x)dx+g(x)dx\int {\left( {f\left( x \right) + g\left( x \right)} \right)} dx = \int {f\left( x \right)} dx + \int {g\left( x \right)} dx, we get
I=(2cosx)dx+(1)dx\Rightarrow I = \int {\left( {2\cos x} \right)} dx + \int {\left( 1 \right)} dx
Using the property (c.f(x))dx=c(f(x))dx\int {\left( {c.f\left( x \right)} \right)} dx = c\int {\left( {f\left( x \right)} \right)} dx, where cc is a constant, we get
I=2(cosx)dx+(1)dx\Rightarrow I = 2\int {\left( {\cos x} \right)} dx + \int {\left( 1 \right)} dx

Now, using (cosx)dx=sinx+c\int {\left( {\cos x} \right)} dx = \sin x + c and (m)dx=mx+c\int {\left( m \right)} dx = mx + c, where mm and cc are the constant terms, we get
I=2(sinx+c1)+(1.x)+c2\Rightarrow I = 2\left( {\sin x + {c_1}} \right) + \left( {1.x} \right) + {c_2}, where c1{c_1} and c2{c_2} are constant terms.
Opening the brackets, we get
I=2sinx+2c1+x+c2\Rightarrow I = 2\sin x + 2{c_1} + x + {c_2}, where c1{c_1} and c2{c_2} are constant terms.
Now combining the constant terms, we get
I=2sinx+x+(2c1+c2)\Rightarrow I = 2\sin x + x + \left( {2{c_1} + {c_2}} \right), where c1{c_1} and c2{c_2} are constant terms.
I=2sinx+x+c\Rightarrow I = 2\sin x + x + c, where c=(2c1+c2)c = \left( {2{c_1} + {c_2}} \right), where c1{c_1} and c2{c_2} are constant terms.
Hence, we get I=2sinx+x+cI = 2\sin x + x + c, where cc is a constant term.

Therefore, cosxcos2x1cosxdx=2sinx+x+c\int {\dfrac{{\cos x - \cos 2x}}{{1 - \cos x}}} dx = 2\sin x + x + c, where cc is a constant term.

Note: The indefinite integrals of certain functions may have more than one answer in different forms. We must remember some special types of integration methods like the one used in the question to solve complex problems with ease. However, all these forms are correct and interchangeable into one another. We should not forget to add an arbitrary constant to the answer of the indefinite integral. Indefinite integral gives us the family of curves as we don’t know the exact value of the arbitrary constant.