Determine if the function
is continuous on each of the following intervals.
If we draw the function, we see this:
This makes it easier to see what's going on. Since f(0) disagrees with both and , f will be discontinuous on any interval containing 0, and continuous on any other interval.