minor edit - inflection points could appear when f'' is undefined