ddx[log(√1−cos x1+cos x)]=
cosx
sinx
cosecx
secx
1−cos x1+cos x=tan2x2⇒log√1−cos x1+cos x=log tanx2
use chain rule, get the answer