  ## Encyclopedia > Constant factor rule in differentiation

Article Content

# Constant factor rule in differentiation

The constant factor rule in differentiation allows you to take constants outside a derivative and concentrate on differentiating the function of x itself.

Suppose you have a function

$g(x) = k \cdot f(x)$

Differentiate both sides to obtain:

$g'(x) = \frac{d(k \cdot f(x))}{dx}$

where the notation on the LHS is Newton's notation for differentiation and on the RHS we have Leibniz's notation for differentiation.

Now use the formula for differentiation from first principles to obtain:

$g'(x) = \lim_{h \to 0} \frac{g(x+h)-g(x)}{h}$
$g'(x) = \lim_{h \to 0} \frac{k \cdot f(x+h) - k \cdot g(x)}{h}$
$g'(x) = \lim_{h \to 0} \frac{k(f(x+h) - g(x))}{h}$
$g'(x) = k \lim_{h \to 0} \frac{f(x+h) - g(x)}{h} \quad \mbox{(*)}$
$g'(x) = k \cdot f'(x)$

But we have already seen that:

$g'(x) = \frac{d(k\cdot f(x))}{dx}$

Thus:

$\frac{d(k \cdot f(x))}{dx} = k \cdot f'(x)$

Or:

$\frac{d(k \cdot f(x))}{dx} = k \cdot \frac{d(f(x))}{dx}$

This is the statement of the constant factor rule in differentiation.

Note that for this statement to be true, k must be a constant, or else the k can't be taken outside the limit in the line marked (*). The reason for this taking away follows from the product rule for limits[?]:

$\lim_{x \to 0} kf(x) = (\lim_{x \to 0} k) \cdot (\lim_{x \to 0} f(x)) = k \lim_{x \to 0} f(x)$

(since x does not affect k).

Hence you CAN take the k outside the limit, since k is a constant with respect to x, and so isn't going to make any difference to k if x tends to 0.

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

$\frac{d(-y)}{dx} = -\frac{dy}{dx}$

All Wikipedia text is available under the terms of the GNU Free Documentation License

Search Encyclopedia
 Search over one million articles, find something about almost anything!

Featured Article
 Charles V, Holy Roman Emperor ... to his son, Philip II of Spain, and the Holy Roman Empire to his brother, Ferdinand. Charles retired to the monastery of Yuste[?] and is thought to have had a nervous ...  