If $f'(x) = \tan^2(x) + \cot^2(x)$ and $f\left(\frac{\pi}{4}\right) = 0$, then $f(x) =$ ______
- (1)
$\tan(x) - \cot(x) - x + \frac{\pi}{2}$
- (2)
$\tan(x) - \cot(x) - 2x + \frac{\pi}{2}$
- (3)
$\tan(x) + \cot(x) - 2x + \frac{\pi}{2}$
- (4)
$\sec(x) - \mathrm{cosec}(x) - 2x + \frac{\pi}{2}$
Show answer
Option (2) is correct.
The council's preliminary key