Constant multiple rule

From HandWiki

In calculus, the constant factor rule in differentiation allows one to take constants outside a derivative and concentrate on differentiating the function of x itself. This is a part of the linearity of differentiation.

Consider a differentiable function

g(x)=kf(x).

where k is a constant.

Use the formula for differentiation from first principles to obtain:

g(x)=limh0g(x+h)g(x)h=limh0kf(x+h)kf(x)h=limh0k(f(x+h)f(x))h=klimh0f(x+h)f(x)h=kf(x).

This is the statement of the constant factor rule in differentiation, in Lagrange's notation for differentiation.

In Leibniz's notation, this reads

d(kf(x))dx=kd(f(x))dx.

If we put k = −1 in the constant factor rule for differentiation, we have:

d(y)dx=dydx.