Problem 1033: (2023 AMC 10b, 22)
How many distinct values of $x$ satisfy $\lfloor{x}\rfloor^2-3x+2=0$, where $\lfloor{x}\rfloor$ denotes the largest integer less than or equal to $x$?
$\textbf{(A)}\ \text{an infinite number}$ $\textbf{(B)}\ 4$ $\textbf{(C)}\ 2$ $\textbf{(D)}\ 3$ $\textbf{(E)}\ 0$
- With $n=\lfloor x\rfloor$: $x=\frac{n^2+2}3$, and $n\le x<n+1$ means $n^2-3n+2\ge0$ and $n^2-3n-1<0$.
- The first, $(n-1)(n-2)\ge0$, holds for every integer $n$. The second means $\frac{3-\sqrt{13}}2<n<\frac{3+\sqrt{13}}2$. Since $3<\sqrt{13}<4$, the left end lies between $-\frac12$ and $0$ and the right end between $3$ and $\frac72$. So $n\in\{0,1,2,3\}$, each giving one solution, so there are $4$ solutions. The answer is (B).
How many real $x$ satisfy $\lfloor x\rfloor^2-2x-3=0$?