Sum rule in differentiation
The sum rule in differentiation is possibly the most useful rule in 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:
- d/dx(u + v) = du/dx + dv/dx
Proof
Let y be a function given by the sum of two functions u and v, such that:
- y = u + v
- y + δy = (u + δu) + (v + δv) = u + v + δu + δv = y + δu + δv
- δy = δu + δv
- δy/δx = δu/δx + δv/δx
- dy/dx = du/dx + dv/dx
- d/dx(u + v) = du/dx + dv/dx
- d/dx(u - v) = d/dx(u + (-v)) = du/dx + d/dx(-v)
- d/dx(u - v) = du/dx + (-dv/dx) = du/dx - dv/dx
- d/dx(u ± v) = du/dx ± dv/dx
Generalization to sums
Assume we have some set of functions f1, f2,..., fn. Then
- d/dx (∑i=1 to n fi(x)) = d/dx [f1(x) + f2(x) + ... + fn(x)] = d/dx(f1(x)) + d/dx(f2(x)) + ... + d/dx(fn(x))
- d/dx (∑i=1 to n fi(x)) = ∑i=1 to n (d/dx(fi(x))
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
- g(x) = ∑i=1 to k-1(fi(x)).
- ∑i=1 to k fi(x) = g(x) + fk(x)
- d/dx (∑i=1 to k fi(x)) = d/dx(g(x)) + d/dx(fk(x))
- d/dx(g(x)) = d/dx (∑i=1 to k-1 fi(x)) = ∑i=1 to k-1 d/dx (fi(x))
- d/dx (∑i=1 to k fi(x)) = ∑i=1 to k-1 d/dx (fi(x)) + d/dx (fk(x)) = ∑i=1 to k d/dx (fi(x))
