Problem 801: (2018 AMC 10b, 25; 2018 AMC 12b, 24)
Let $\lfloor x \rfloor$ denote the greatest integer less than or equal to $x$. How many real numbers $x$ satisfy the equation $x^2 + 10{,}000\lfloor x \rfloor = 10{,}000x$?
$\textbf{(A)}\ 197 \qquad \textbf{(B)}\ 198 \qquad \textbf{(C)}\ 199 \qquad \textbf{(D)}\ 200 \qquad \textbf{(E)}\ 201$
- The equation says $x^2=10000(x-\lfloor x\rfloor)=10000\{x\}$. So $0\le x^2<10000$, i.e.\ $-100<x<100$, and $\lfloor x\rfloor=x-\dfrac{x^2}{10000}$.
- Let $g(x)=x-\dfrac{x^2}{10000}$. Conversely, any $x\in(-100,100)$ with $g(x)$ an integer $n$ is a solution, because then $0\le x-n=\frac{x^2}{10000}<1$, so $n=\lfloor x\rfloor$.
- On $(-100,100)$, $g$ is increasing (it is a downward parabola with vertex at $x=5000$), from $g(-100)=-101$ to $g(100)=99$. So $g(x)=n$ has exactly one solution for each integer $n$ with $-101<n<99$.
- That is $n=-100,\dots,98$: $199$ solutions. The answer is (C).
How many real numbers $x$ satisfy the equation $x^2+50\lfloor x\rfloor=50x$?