|x|=\left\{\begin{array}{cc}x & x\geq 0\\ -x & x<0\end{array}