Consider given the integration,
I=∫tan−1√1−cos2x1+cos2xdx
=∫tan−1√1−(1−2sin2x)1+2cos2x−1dx
=∫tan−1√2sin2x2cos2xdx
=∫tan−1tanxdx
=∫1dx
I=x+C