Using the double angle formula cos2θ=2cos2θ−1:
cos2x=2cos2x−1
cos2α=2cos2α−1
The numerator becomes:
cos2x−cos2α=(2cos2x−1)−(2cos2α−1)
=2cos2x−2cos2α
=2(cos2x−cos2α)
Using the difference of squares formula a2−b2=(a−b)(a+b):
cos2x−cos2α=(cosx−cosα)(cosx+cosα)
The fraction becomes:
cosx−cosα2(cosx−cosα)(cosx+cosα)
Canceling the common term (cosx−cosα):
=2(cosx+cosα)
=2cosx+2cosα
The integral becomes:
∫(2cosx+2cosα)dx
Since α is a constant:
∫2cosxdx=2sinx
∫2cosαdx=2xcosα
Therefore:
∫(cosx−cosαcos2x−cos2α)dx=2sinx+2xcosα+c