The sum and difference rules tell us how to take derivatives of functions that have more than a single term. They are some of the most frequently-used rules, so much so that we tend to use them automatically without even realizing it.

## The Sum and Difference Rules

Simply put, the derivative of a sum (or difference) is equal to the sum (or difference) of the derivatives.

More precisely, suppose *f* and *g* are functions that are differentiable in a particular interval (*a*, *b*). Then the **sum** *f* + *g* and the **difference** *f* – *g* are both differentiable in that interval, and

### Example: Unknown Profit Function

Let *C*(*x*) be the cost of producing *x* items, and *R*(*x*) be the revenue generated from selling *x* items. Then the profit generated from producing and selling *x* items is *P*(*x*) = *R*(*x*) – *C*(*x*). Suppose we know the following data.

C(1000) | C '(1000) | R(1000) | R '(1000) |
---|---|---|---|

$7800 | $8.50 | $10,320 | $7.80 |

Find the value of *P* ‘(*1000*) and interpret its meaning. Should the company produce more or fewer than 1000 items based on your analysis?

Use the difference rule:

Because the derivative measures rate of change, we conclude that the company would lose 70 cents per each additional item produced and sold beyond 1000. Since increasing the production level results in *less* profit, the company should probably scale back production to some amount fewer than 1000 items.

### Example: Polynomials

We rarely encounter the sum and difference rules in isolation. Together with the power rule and constant multiple rule, these rules allow you to differentiate any polynomial.

Find *f* ‘(*x*) if *f*(*x*) = 7*x*^{5} + 3*x*^{2} – 4*x* + 12.

Therefore, *f* ‘(*x*) = 35*x*^{4} + 6*x* – 4.

Note, in practice you do not have to write out each step like this every time. Once you become familiar with the rules, you can get to the answer in one step — at least for simple functions like polynomials!

## Example: General Functions

The rules work the same way even in more complicated situations.

Find

In this case, it helps to first rewrite the original function so that it is easier to take the derivative.

Now we have a sum of two terms! Use the sum rule to find the derivative.

## Summary

The sum and difference rules are just two of the many differentiation rules that you’ll need to master in order to succeed on the AP Calculus exams. Check out this Calculus Review: Dervative Rules for a more complete picture.