If a real valued function $f:(0,\infty)\to A$ defined by $f(x)=\frac{[x]}{|x|}$ is a surjection, then $A=$
(Here $[x]$ is the greatest integer function)
- (1)
$\{0\}\cup\left(\frac{1}{2},1\right]$
- (2)
$(0,1]$
- (3)
$\left(\frac{1}{2},1\right]$
- (4)
$\left(0,\frac{1}{2}\right]$
Show answer
Option (1) is correct.
The council's preliminary key