場合わけはOK?
f(x) = -x (x >= 0)
f(x) = +x (x <= 0)