Derivative of a linear function