If J=∫1tan2x+sec2xdx then J is equal to
2tan−1(2tanx)−tan−1(2tanx)+K
2tan−1(2tanx)−x+K
2tan−1(2tanx)+x2+K
2tan−1(2tanx)+x+K
Let J=∫1tan2x+sec2xdx
Let J=∫1tan2x+sec2xsec2xsec2xdx
=∫sec2xdx2tan2x+11+tan2x
Put tanx=t⇒sec2xdx=dt
Let J=∫dt2t2+11+t2=∫22t2+1−11+t2dt
=22tan−1(2t)−tan−1(t)+KJ=2tan−1(2tanx)−tan−1(tanx)+KJ=2tan−1(2tanx)−x+K