We have,
∫dxcosxcos2x
On multiply and divide by cosx
Now,
∫cosxdxcos2xcos2x
⇒∫cosxdx(1−sin2x)(1−2sin2x)
Let
sinx=t
⇒cosxdx=dt
⇒∫dt(1−t2)(1−2t2)
Using partial dfraction and we get,
⇒∫dt(1−t2)(1−2t2)=∫[−11−t2+21−2t2]dt
On integrating and we get,
12ln(t−1)(t+1)+1√2ln(1+√2t1−√2t)+C
Put t=sinx
So,
=12ln(sinx−1)(sinx+1)+1√2ln(1+√2sinx1−√2sinx)
Hence, this is the answer.