Concavity of f(x) = 1/x on the intervals (0,infinity) and (-infinity,0)