In the context where it is defined, the derivative of a function measures the rate of change of function (output) values with respect to change in input values. A constant function does not change, so its derivative is 0. This is often written:  formula_12 .