If $[x]^2-5[x]+6=0$,where $[x]$ denotes the greatest integer less than or equal to $x$,then total set of values of $x$ is

My attempt:
$2\leq x<3,3\leq x<4$
But i cant figure out what is the answer.Please help me.

  • $\begingroup$ Why not just start testing values? $\endgroup$ Dec 1, 2015 at 16:20
  • $\begingroup$ Why downvote,would downvoter please comment? $\endgroup$ Dec 4, 2015 at 2:09
  • $\begingroup$ The downvote is likely because this is a multiple choice question where you can find the correct answer just by guessing things, and you didn't find the answer. (When you plug in $x=2$ it satisfies the equation, so (A) is not the answer, if you plug in $x=2.5$ it satisfies the equation so (C) is not the answer, ...). This shows a concerning lack of effort on your part. Contrast this with what would have been a better question, "Here's this multiple choice question. I know the answer is _ by trial-and-error. How would you arrive at this answer in a more methodical way?" $\endgroup$ Dec 4, 2015 at 5:22

2 Answers 2


What you've done is correct, and now you have $$2\le x\lt 3\quad\color{red}{\text{or}}\quad 3\le x\lt 4.$$


$[x]=2 \Rightarrow x \in [2,3)$ or $[x]=3 \Rightarrow x \in [3,4)$

$\Rightarrow x \in [2,4)$

What you have't seen is $3$ is in one interval ad not in the other.

Just draw the two intervals on a number line.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .