Suppose you have a function
In Leibniz's notation for differentiation, this reads
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 (*).
If k depends on x there is no reason to think k(x+h) = k(x). In that case the more complicated proof of the product rule applies.