Sum rule in differentiation
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 tells us that for two functions u and v:
This rule also applies to subtraction and to additions and subtractions of more than two functions
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:
Generalization to finite sums 
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
and it follows from the proof above that
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.