Mathematics · Functions

JEE Main 2026 — 28 January, Evening Shift — Question 15

The sum of all the elements in the range of f(x)=Sgn⁡(sin⁡x)+Sgn⁡(cos⁡x)+Sgn⁡(tan⁡x)+Sgn⁡(cot⁡x)f(x)=\operatorname{Sgn}(\sin x)+\operatorname{Sgn}(\cos x)+\operatorname{Sgn}(\tan x)+\operatorname{Sgn}(\cot x), x≠nπ2,n∈Z\mathrm{x} \neq \frac{\mathrm{n} \pi}{2}, \mathrm{n} \in \mathbf{Z}, where Sgn⁡(t)={1, if t>0−1 if t<0\operatorname{Sgn}(t)=\left\{\begin{array}{lll}1, & \text { if } & t>0 \\ -1 & \text { if } & t<0\end{array}\right., is

  1. Option A:

    44

  2. Option B:

    22

    Correct
  3. Option C:

    −2-2

  4. Option D:

    00

Answer: B

Step-by-step solution

x∈(0,π/2)⇒y=1+1+1+1=4x \in(0, \pi / 2) \Rightarrow y=1+1+1+1=4

x∈(π/2,π)⇒y=1−1−1−1=−2\mathrm{x} \in(\pi / 2, \pi) \Rightarrow \mathrm{y}=1-1-1-1=-2

x∈(π,3π/2)⇒y=−1−1+1+1=0\mathrm{x} \in(\pi, 3 \pi / 2) \Rightarrow \mathrm{y}=-1-1+1+1=0

x∈(3π/2,2π)⇒y=−1+1−1−1=−2\mathrm{x} \in(3 \pi / 2,2 \pi) \Rightarrow \mathrm{y}=-1+1-1-1=-2

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

Required sum =−2+0+4=2=-2+0+4=2

Answer key and solution verified before publishing.

Practise Functions

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Main 2026
Subject
Mathematics
Chapter
Functions
Topic
Standard Functions
The sum of all the elements in the range of f(x)= Sgn (sin x)+ Sgn… | JEE Main 2026 PYQ with Solution · DhiX AI