inflection points x^2/2+1/x