The question asks to calculate the limits where they exist, then the following limit is given:
$$\lim_{x\rightarrow2}(\lfloor x\rfloor +\left\lfloor -x\right\rfloor), \text{where}\lfloor x\rfloor \text{is the floor function.} $$
Thus I approach it from the left hand side and then from the right hand side:
$$\lim_{x\rightarrow2^-}(\lfloor x\rfloor +\left\lfloor -x\right\rfloor)\textbf{ and} \lim_{x\rightarrow2^+}(\lfloor x\rfloor +\left\lfloor -x\right\rfloor) \\=(1)+(-3)\phantom{help me!} =(2)+(-2)$$ Am I correct in making the following conclusion:
Since $$\text{Since} \lim_{x\rightarrow2^-}(\lfloor x\rfloor +\left\lfloor -x\right\rfloor)\neq\lim_{x\rightarrow2^+}(\lfloor x\rfloor +\left\lfloor -x\right\rfloor),\text{ we have that}\\ \lim_{x\rightarrow2}(\lfloor x\rfloor +\left\lfloor -x\right\rfloor) \text{ does not exist.} $$
or are my calculations wrong?
From the left, it should be $$(1)+(-2) = -1$$ and from the right, it should be $$(2)+(-3) = -1$$ so the limit is $-1$.
Explanation:
More generally, the behavior of the function $f(x) = \lfloor{x}\rfloor + \lfloor{-x}\rfloor$ can be analyzed as follows . . .
It follows that for all $p\in \mathbb{R}$, we have ${\displaystyle{\lim_{x \to p}}}f(x) = -1$.