The value of $\int \tan ^2 x dx$ is :
where C is the constant of integration.
Answer & explanation
Correct answer: option 2
$I=\int \tan ^2 x d x$
$I=\int\left(\sec ^2 x-1\right) d x$ ← $1+\tan ^2 x=\sec ^2 x \Rightarrow \tan ^2 x=\sec ^2 x-1$
$I=\tan x-x+C$ ← $\int \sec ^2 x d x=\tan x$