Defining average and instantaneous rates of change at a point