Question: How to find the intervals over which a function is continuous?

Hi, 

Let's suppose 

f := piecewise(x < 1, x, -x)

Using 

discont(f, x)

says me x=1 is a discontinuity point.
But can I obtain that f is continuous over  these two intervals?

(-infinity, 1)
[1, +infinity)


Thanks in advance

PS: I'm sure I've seen this type of question here before, but I couldn't find them.

Please Wait...