FunctionHard
Question
The sum of all the elements in the range of $f(x) = Sgn(sinx) + Sgn(cosx) + Sgn(tanx) + Sgn(cotx)$, $x \neq \frac{n\pi}{2},n \in \mathbf{Z}$,
where $Sgn(t) = \left\{ \begin{matrix} 1, & \text{~}\text{if}\text{~} & t > 0 \\ - 1 & \text{~}\text{if}\text{~} & t < 0 \end{matrix} \right.\ $, is
Options
A.4
B.2
C.-2
D.0
Solution
$x \in (0,\pi/2) \Rightarrow y = 1 + 1 + 1 + 1 = 4$
$${x \in (\pi/2,\pi) \Rightarrow y = 1 - 1 - 1 - 1 = - 2 }{x \in (\pi,3\pi/2) \Rightarrow y = - 1 - 1 + 1 + 1 = 0 }{x \in (3\pi/2,2\pi) \Rightarrow y = - 1 + 1 - 1 - 1 = - 2 }$$∴ Range of $y$ is $\{ - 2,0,4\}$
Required sum $= - 2 + 0 + 4 = 2$
Create a free account to view solution
View Solution FreeMore Function Questions
The domain of function f(x) = log (3x −1) + 2 log (x +1) is -...Let g(x) be a function defined on [-1,1] If the area of the equilateral triangle with two of its vertices at (0, 0) and ...The function f(x) = has a local minimum at...Let f(x) = [2x3 - 5]; then number of points in (1, 2) where the function is discontinuous are where [.] →G.I.F....If f (x) = 2 [x] + cos x, then f: R → R is: (where [. ] denotes greatest integer function)...