If I have a function with a domain that has "gaps" in it, can it still be continuous?
For example, consider the piecewise function
$$f(x)=\begin{cases}x & x\in[-1,0]\\ x-1 & x\in(1,2] \\ \end{cases}$$
With graph:
Is this continuous? From the epsilon-delta definition I would think it is, as the function is not defined in the regions where it "jumps" - but this goes against the naive high school era idea of continuity I had, involving moving a pencil along the function without lifting it off the paper.