This is my homework:
Limit of functions: ($[x]$ is the total part of $x$)
- $\displaystyle \lim_{x \to \infty} \frac{[x]}{x}$
- $\displaystyle \lim_{x \to -\infty} \frac{[x]}{x}$
- $\displaystyle \lim_{x \to 0} \frac{[x]}{x}$
For the first one, I used the inequality $$x -1 \leq [x] \leq x.$$ So, $$\frac{1-\frac{1}{x}}{1}=\frac{x-1}{x} \leq \frac{[x]}{x} \leq \frac{x}{x}=1.$$ So my answer is $\displaystyle \lim _{x \to \infty} \frac{[x]}{x} = 1$. Is that good? I don't know what to use in other examples$\ldots$
One way I think about this problem is using a normal identity for floor function and fractional part function i.e $x = [x] + {x}$ using this the expression inside the limit can be changed to $1- (\frac{\{x\}}{x} )$ we know that $\{x\}$ is lying between $[0,1)$ and $x\to\infty$ hence $\frac{\{x\}}{x} \to 0$ hence the limit is $1$ . But I recommend that you stick to the sandwich theorem solution as it seems more cool to me.
For the last part you could start by saying as x tends to zero we calculate LHL and RHL separately . Now in for LHL the limit is same as the limit of $\frac{1}{x}$ as $x$ tends to zero which tends to infinity but the RHL is similar to limit of $\frac{0}{x} =0$ as RHL is not same as LHL hence limit doesn't exist.