MathLabs

Problem 1

Prove that for each real number r>2r>2, there are exactly two or three positive real numbers xx satisfying the equation x2=r⌊x⌋x^2=r\lfloor x\rfloor. (Here ⌊x⌋\lfloor x\rfloor denotes the largest integer less than or equal to xx.)
Step 1 of 4: Set up via the floor value
k=⌊x⌋,x2=rk,k≤x<k+1k=\lfloor x\rfloor,\quad x^2=rk,\quad k\le x<k+1
Detailed analysis

Let x>0x>0 satisfy x2=r⌊x⌋x^2=r\lfloor x\rfloor and set k=⌊x⌋k=\lfloor x\rfloor. Since x>0x>0 and r>0r>0, x2=rk>0x^2=rk>0 forces kk to be a positive integer, and k≤x<k+1k\le x<k+1 gives k2≤x2=rk<(k+1)2k^2\le x^2=rk<(k+1)^2.