We have,
∫dx1+cos2x
Then,
Using formula and we get,
∫1x2+1dx=tan−1x
∫dxcos2x+1=tan−1cosx
∫dxcos2x+1=tan−1tan√1−x2x
∫dxcos2x+1=√1−x2x