Question
Question: Evaluate the following integral \(\int{\dfrac{1-\cos x}{1+\cos x}dx}\)...
Evaluate the following integral ∫1+cosx1−cosxdx
Solution
First of all we will find the value of cosx by converting it into cos(2x+2x) and then we will use the formula cos(A+B)=cosA.cosB−SinA.sinB to find the value of cosx. Now we will calculate the values of 1−cosx and 1+cosx individually by using the value cosx obtained above. Here we will use the trigonometric identity sin2x+cos2x=1 to find the values of 1−cosx and 1+cosx. From the values of 1−cosx and 1+cosx we will calculate the value of 1+cosx1−cosx, and then we will integrate the obtained value to get the result.
Complete step-by-step solution:
Given that, ∫1+cosx1−cosxdx
We are going to write the x value as 2x+2x in cosfunction to find the value of cosx, then we will get
cosx=cos(2x+2x)
We know the formula cos(A+B)=cosA.cosB−SinA.sinB, then the value of cos(2x+2x) will be written as
cosx=cos(2x+2x)=cos2x.cos2x−sin2x.sin2x
We know that a.a=a2, hence the values of cos2x.cos2x and sin2x.sin2x will be written as
cosx=cos2x.cos2x−sin2x.sin2x=cos22x−sin22x
Here we got the value of cosx as cos22x−sin22x, i.e.
cosx=cos22x−sin22x....(i)
Now we are going to calculate the values of 1−cosx and 1+cosx from the above equation.
We will add 1 on both sides of equation (i) to get the value of 1+cosx, then
cosx=cos22x−sin22x⇒1+cosx=1+cos22x−sin22x
Rearranging the term in Left Hand Side as
1+cosx=cos22x+(1−sin22x)
We have trigonometric identity sin2A+cos2A=1. From this identity we can get the value1−sin2A=cos2A. Then we will have
1+cosx=cos22x+(1−sin22x)=cos22x+cos22x
We know that a+a=2a, then we will get
1+cosx=cos22x+cos22x⇒1+cosx=2cos22x....(ii)
Now we are going to subtract the value of cosx obtained in equation (i) from 1 to get the value of 1−cosx, then we will have
1−cosx=1−(cos22x−sin22x)
When we multiplied a negative sign/integer with positive sign/integer we will get negative sign/integer at the same time we will get positive sign/integer when we multiplied a negative sign/integer with the negative sign/integer, then
1−cosx=1−(cos22x−sin22x)=1−cos22x+sin22x
We have trigonometric identity sin2A+cos2A=1. From this identity we can get the value1−cos2A=sin2A. Then we will have
1−cosx=1−cos22x+sin22x⇒1−cosx=sin22x+sin22x⇒1−cosx=2sin22x.....(iii)
From the equations (ii) and (iii) the value of 1+cosx1−cosx is
1+cosx1−cosx=2cos22x2sin22x=tan22x
We have another trigonometric identity sec2A−tan2A=1. From this identity we have the value tan2A=sec2A−1, then
1+cosx1−cosx=tan22x=sec22x−1
Now integrating the above equation, then
∫1+cosx1−cosxdx=∫(sec22x−1)dx=∫sec22xdx−∫dx
We have ∫sec2AdA=tanA+C and ∫1dx=x+C, substituting above value in the integration, then
∫1+cosx1−cosxdx=2tan2x−x+C
Hence, we have ∫1+cosx1−cosxdx=2tan2x−x+C
Note: In this problem we do many substitutions from trigonometric identity sin2A+cos2A=1, while substituting value there is a chance of making a mistake when you don’t write this identity in the problem. It is advisable to write the trigonometric identities when we are going to use that identity.