Question
Question: Integrate \(\dfrac{{\cos 2x - \cos 2a}}{{\cos x - \cos a}}\) with respect to x....
Integrate cosx−cosacos2x−cos2a with respect to x.
Solution
Hint: We will use trigonometric identities in the function to eliminate the denominator, which makes it easier to integrate. Also, some formulas for integration will be used. These are given by-
cos2A=2cos2A−1
∫cosxdx=sinx+c
Complete step-by-step answer:
Using the formula for cos 2A, the given expression can be written as-
=cosx−cosa2cos2x−1−(2cos2a−1)
=cosx−cosa2(cos2x−cos2a)
=cosx−cosa2(cosx−cosa)(cosx+cosa)
=2(cosx+cosa)
This is a simplified expression which can be integrated easily. Now, we can integrate the given expression with respect to x,
=∫2(cosx−cosa)dx
=2[∫cosxdx−∫cosadx]
=2[sinx−xcosa]+c
=2sinx−2xcosa+c
Here, cosa is a constant hence it comes out of the integral sign. But cosx is integrated to sinx using the given formula.
This is the required answer.
Note: One common mistake is that the students integrate the cosa into sina, but this is incorrect as cosa is a constant. Also, since limits are not mentioned, we should add an integration constant (c).