1. ## continuity example

Hi, can anyone give me an example of a function whose absolute value is continuous at x=0, but the original function is not continuous at x=0.
Cheers!

2. ## Re: continuity example

Originally Posted by liedora
Hi, can anyone give me an example of a function whose absolute value is continuous at x=0, but the original function is not continuous at x=0.
Cheers!
Try:

$f(x):=\left\{\begin{matrix}1& x\geq 0 \\ -1& x<0 \end{matrix}\right$