If $f: R \rightarrow R$ is defined by $f(x)=[2 x]-2[x]$ for $x \in R$, where $[x]$ is the greatest integer…
If $f: R \rightarrow R$ is defined by $f(x)=[2 x]-2[x]$ for $x \in R$, where $[x]$ is the greatest integer not exceeding $x$, then the range of $f$ is :
$\{x \in R: 0 \leq x \leq 1\}$
$\{0,1\}$
$\{x \in R: x>0\}$
$\{x \in R: x \leq 0\}$
Solution
$\because \quad f(x)=[2 x]-2[x] \forall x \in R$
Let $x$ is an integer, then
$f(x)=0$
and let $x$ is not an integer, then
$quad f(x)=1$
$\therefore$ Range of $f(x)=\{0,1\}$