Question 2$A$, $B$ are real numbers. Find a necessary and sufficient condition for $A x + B [x] = A y + B [y]$ to have no solutions except $x = y$.