JEE Main 2026 · 28 January · evening · Single correct · +4 / −1
The sum of all the elements in the range of f(x)=Sgn(sin x)+Sgn(cos x)+Sgn(tan x)+Sgn(cot x), x≠ nπ/2,n∈ ℤ, where
Sgn(t)={1,, ift>0; -1,, ift<0
is :
- (a) 4
- (b) 0
- (c) 2
- (d) -2
Answer and solution
Answer (c) 2
Solution
Maths sir · 3 steps
Go quadrant by quadrant: each one fixes every sign, so f takes just one value there.
- Why quadrants. Since x ≠ nπ/2, none of sin x, cos x, tan x, cot x is zero. Inside one quadrant all four signs are fixed, so f is constant there.
- Tan and cot. tan x and cot x always have the same sign, which is the sign of sin x × cos x.
Quadrant sin x, cos x tan x, cot x f(x) I +, + +, + 1+1+1+1 = 4 II +, - -, - 1-1-1-1 = -2 III -, - +, + -1-1+1+1 = 0 IV -, + -, - -1+1-1-1 = -2 - So. The range is {4, -2, 0}. Count -2 only once, since a range is a set. The sum is 4 - 2 + 0 = 2, option (c).
The idea to keep. When a function is built from signs of trig ratios, check each quadrant once. Then list the range as a set, with no repeated values, before you add.
Answer from the NTA final answer key. Solution by PrepWiser.