\(\int\tan x\left(\sec x-\tan x\right)dx =\)
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → sec x − tan x + x − C
Expanding the integrand:
\(\int\tan x\left(\sec x - \tan x\right)dx = \int\sec x\tan x\,dx - \int\tan^2 x\,dx\)
Using \(\tan^2 x = \sec^2 x - 1\):
\(= \int\sec x\tan x\,dx - \int\left(\sec^2 x - 1\right)dx\)
\(= \sec x - \tan x + x + C\)
The constant of integration is arbitrary, so writing it as −C changes nothing. This is Option (1).