Solution:
By using the trigonometry identity i.e.,
cosA−cosB=−2sin2A+Bsin2A−B
So, we have,
cosx−cosαcos2x−cos2α=−2sin2x+αsin2x−α−2sin22x+2αsin22x−2α
By simplifying, we get,
=sin(2x+α)sin(2x−α)sin(x+α)sin(x−α)
Then,
From the identity sin2x=2sinxcosx, we have
=sin(2x+α)sin(2x−α)[2sin(2x+α)cos(2x+α)][2sin(2x−α)cos(2x−α)]
On simplifying, we get,
=4cos(2x+α)cos(2x−α)
By using the trigonometry identity 2cosAcosB=cos(A+B)+cos(A−B), we have
=2[cos(2x+α+2x−α)+cos(2x+α−2x−α)]=2[cos(x)+cosα]=2cosx+2cosα
Then,
Integrating on both the sides,
∴∫cosx−cosαcos2x−cos2αdx=∫(2cosx+2cosα)dx
We have,
=2[sinx+xcosα]+C