Sum rule in differentiation

From Wikipedia, the free encyclopedia
Jump to: navigation, search

In calculus, the sum rule in differentiation is a method of finding the derivative of a function that is the sum of two other functions for which derivatives exist. This is a part of the linearity of differentiation. The sum rule in integration follows from it. The rule itself is a direct consequence of differentiation from first principles.

The sum rule states that for two functions u and v:

This rule also applies to subtraction and to additions and subtractions of more than two functions


Simple proof[edit]

Let h(x) = f(x) + g(x), and suppose that f and g are each differentiable at x. One wants to prove that h is differentiable at x and that its derivative h'(x) is given by f'(x)+g'(x).


More complicated proof[edit]

Let y be a function given by the sum of two functions u and v, such that:

Now let y, u and v be increased by small increases Δy, Δu and Δv respectively. Hence:


Now divide throughout by Δx:

Let Δx tend to 0:

Now recall that y = u + v, giving the sum rule in differentiation:

The rule can be extended to subtraction, as follows:

Now use the special case of the constant factor rule in differentiation with k=−1 to obtain:

Therefore, the sum rule can be extended so it "accepts" addition and subtraction as follows:

The sum rule in differentiation can be used as part of the derivation for both the sum rule in integration and linearity of differentiation.

Generalization to finite sums[edit]

Consider a set of functions f1, f2,..., fn. Then


In other words, the derivative of any finite sum of functions is the sum of the derivatives of those functions.

This follows easily by induction; we have just proven this to be true for n = 2. Assume it is true for all n < k, then define


By the inductive hypothesis,


which ends the proof of the sum rule of differentiation.

Note this does not automatically extend to infinite sums. An intuitive reason for why things can go wrong is that there is more than one limit involved (specifically, one for the sum and one in the definition of the derivative). Uniform convergence deals with these sorts of issues.