Given that $f(x)=[x]$ and $g(x)=x-[x]$. I want to determine the points where $f$ and $g$ are continuous.
Here is what I have done:
Let $f(x)=[x].$ It is obvious that if $b$ is an integer, then
$$\lim_{x\to b-} f(x)=\lim_{x\to b-}[x] =(b-1).$$ Also, $$\lim_{x\to b+} f(x)=\lim_{x\to b+}[x] =b,$$ and $$f(b)=[b] =b.$$
Since $\lim_{x\to b-} f(x)\neq \lim_{x\to b+} f(x), $ then $f$ is not continuous in $\Bbb{Z}$.
Let $g(x)=x-[x].$ It is obvious that if $b$ is an integer, then
$$\lim_{x\to b-} g(x)=\lim_{x\to b-}x -\lim_{x\to b-}[x] =b-(b-1)=1.$$ Also, $$\lim_{x\to b+} g(x)=\lim_{x\to b+}x -\lim_{x\to b+}[x] =b-b=0,$$ and $$g(b)=b -[b] =b-(b)=0.$$
Since $\lim_{x\to b-} g(x)\neq \lim_{x\to b+} g(x), $ then $g$ is not continuous in $\Bbb{Z}$.
How do I show that these functions are continuous for all $x\in\Bbb{R}\setminus \Bbb{Z}?$
If $x \not \in \mathbb Z$ then there exists an $\epsilon > 0$ such that $(x-\epsilon, x+\epsilon)$ is strictly between two integers (we can set $\epsilon$ to half the distance to the closest integer). Now $f$ is constant on $(x-\epsilon,x+\epsilon)$ and so is continuous at $x$. Try and use a similar argument for $g$.