I need to show that if f is a function with domain on the closed interval [a,b] and the range of f is {-1,1}, then there is a number x in [a,b] at which f is not continuous.

I'm guessing it is not continuous at a or b or both but I'm not sure how to go about proving it.