derivative of ax^n + bx^{n-1} + … + c