difference quotient with a quadratic