f(x) = abs(x-1) log x