FunctionMedium
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
Let f = x2 + (x ≠ 0), then f(x) equals-...If x = logabc, y = logbca, and z = logcab, then equals-...A function is called even function if its graph is symmetrical w.r.t.-...If f(x) = {x} + { x + 1} + {x + 2} ....... {x + 99}, then the value of [f(√2) is, where {.} denotes fractional par...Range of the function f(x) = sin2(x4) + cos2(x4) is-...