13 - Linearity Rule for Differentiation - 2

Note that if we had y=f(x)−g(x) , then we can consider it as y=f(x)+(−g(x)) and we would have

dydx=ddx(f(x))+ddx(−g(x))

=ddx(f(x))−ddx(g(x))

=f′(x)−g′(x)

We can combine both the cases to say that if y=f(x)±g(x) , then dydx=f′(x)±g′(x)

Basically what this says is that the derivative of the sum or difference of two functions is the sum or difference of the derivatives of the two functions. In fact, we can extend this statement to even three or more functions.

Here are some straight forward examples that employ this differentiation rule.