Evaluate $\lim_{x \to 0} (x\lfloor\frac{1}{x}\rfloor)$
I'm trying to solve it by using the squeeze theorem but I'm stuck.
I'm looking for a function $g(x)$ such that $g(x) \leq x\lfloor\frac{1}{x}\rfloor \leq x(\frac{1}{x}) = 1$
Can anybody give me a hint?
By definition, $$\frac{1}{x} - 1 < \left\lfloor \frac{1}{x} \right\rfloor \leq \frac{1}{x}.$$
The RHS limit and the LHS limit exist and are equal, thus $\lim_{x \to 0} x \lfloor 1/x \rfloor = 1$.