f(x)=\left\{\begin{array}{rl}1 & x\geq 0\\-1 & x<0\end{array}