f(x) = \left\{ \begin{array}{ll} 1-|x|, & |x| \leq 1 \\ 0, & |x| > 1 \end{array} \right.