# Ε-δ PROOF of ceiling function!

## Homework Statement

Let f: R -> Z be the ceiling function defined by f(x) = ceil(x). Give a ε-δ proof that if a is a real number that is not an integer, then f is continuous at a.

## The Attempt at a Solution

I can prove that f(x) is not continuous at any integer. But i don't know how to prove this. I can do proofs for continuous functions, but i've never done one for a piece wise function. Any help would be awesome. Thanks.

If a is not an integer, then there exist $\delta> 0$ such that every number in the interval from $a- \delta$ to $a+ \delta$ is not an integer. On that interval f(x) is a constant.