Join the Most Relevant JEE Main 2025 Test Series & get 99+ percentile! Join Now
Search any question & find its solution
Question: Answered & Verified by Expert
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 :
MathematicsFunctionsAP EAMCETAP EAMCET 2006
Options:
  • A $\{x \in R: 0 \leq x \leq 1\}$
  • B $\{0,1\}$
  • C $\{x \in R: x>0\}$
  • D $\{x \in R: x \leq 0\}$
Solution:
2266 Upvotes Verified Answer
The correct answer is: $\{0,1\}$
$\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\}$

Looking for more such questions to practice?

Download the MARKS App - The ultimate prep app for IIT JEE & NEET with chapter-wise PYQs, revision notes, formula sheets, custom tests & much more.