Recap the definition of continuity: The function is said to be continuous at the point iff for all there exists such that for all and is said to be continuous on iff it is continuous at every point in
For
First show that is continuous at Given take Then for all
Now show that is continuous at Given take Then