Q.

The sum of all the elements in the range of f(x)=Sgn(sinx)+Sgn(cosx)+Sgn(tanx)+Sgn(cotx), x≠nπ2, n∈ℤ 

where sgn(t)={1if-1ift>0t<0 is [2026]

1 4  
2 -2  
3 2  
4 0  

Ans.

(3)

x∈(0,π2)⇒y=1+1+1+1=4

x∈(π2,π)⇒y=1-1-1-1=-2

x∈(π,3π2)⇒y=-1-1+1+1=0

x∈(3π2,2π)⇒y=-1+1-1-1=-2

∴ Range of y is {-2,0,4}

Required sum=-2+0+4=2