The function f(x) seems to be a scaled inverse function, which is negative for positive x and positive for negative x.

