JEE MainHardQuestion 330010
Question
∫tan x dx equals:
- Aln|sec x| + C
- B−ln|cos x| + C
- CBoth A and B are correctCorrect
- Dsec²x + C
Correct answer
Both A and B are correct
Explanation
∫tan x dx = ∫sin x / cos x dx. Let u = cos x, du = −sin x dx: −∫du/u = −ln|cos x| + C = ln|sec x| + C. Both forms are equivalent.