
\begin{displaymath}
 y = \left\{ \begin{array}{ll}
   1 &  \textrm{$x > 0$}\\
-1 &  \textrm{$x<0$}\\
0 & \textrm{$x=0$}
\end{array} \right .
\end{displaymath}
