The sum of all the elements in the range of $f(x) = \mathrm{Sgn}(\sin x) + \mathrm{Sgn}(\cos x) + \mathrm{Sgn}(\tan x) + \mathrm{Sgn}(\cot x)$, $x \neq \dfrac{n\pi}{2}$, $n \in \mathbf{Z}$, where $\mathrm{Sgn}(t) = \begin{cases} 1, & \text{if } t > 0 \\ -1, & \text{if } t < 0 \end{cases}$, is :
- (1)
0
- (2)
2
- (3)
$-2$
- (4)
4
Show answer
Option (2) is correct.
Official NTA final key