What Is The Sum And Difference Rule?
The sum and difference rule states that the derivative of a sum of two differentiable functions is the sum of their derivatives, and the derivative of a difference is the difference of their derivatives. In words: you may differentiate term by term, and the plus and minus signs stay where they are.
If and are both differentiable at , then
Here and are functions of the input , and means "the rate of change with respect to ". The condition matters: each piece must have a derivative at the point. When both do, the sum and the difference automatically have derivatives there too.
The rule runs in two directions you will use constantly. Forward, it breaks a long expression into short pieces. In reverse, it lets you integrate term by term, which the integral section below makes precise. It also extends to any finite number of terms:
That extension follows by applying the two-term rule repeatedly (a short induction), so a polynomial with ten terms needs nothing new.
Why Does The Derivative Of A Sum Equal The Sum Of The Derivatives?
"Why does the derivative of a sum equal the sum of the derivatives?" is a question readers ask on Quora, and the answer comes straight out of the limit definition of the derivative. The difference quotient of a sum splits into two difference quotients, and limits respect addition.
Let . By definition,
Regroup the four terms so each function's change sits together:
Both limits on the right exist, because and are differentiable at . The sum law, one of the basic limit laws, says the limit of a sum is the sum of the limits when both limits exist:
The difference rule has the same proof with a minus sign carried through every line. A second route is shorter once you know that a constant factor passes through a derivative: write , apply the sum rule, then pull out the .
So the rule is not a convention someone chose. It is the limit sum law wearing different clothes, which is also why the same pattern shows up for limits, derivatives and integrals alike.
What Does The Sum And Difference Rule Mean Geometrically?
Geometrically, the rule says slopes add. Stack the graph of on top of the graph of , point by point, and the steepness of the new graph at any is the steepness of there plus the steepness of there.
Take and . At , the tangent to has slope and the line has slope . The graph of at has tangent slope , which you can confirm by differentiating to get and substituting .
The rates picture is just as useful. Two pipes fill a tank, one at a rate that varies with time and one at a steady rate; the water level rises at the sum of the two rates. Open a drain and the level changes at the inflow rate minus the outflow rate. Any quantity built by adding or subtracting other quantities changes at the matching sum or difference of their rates.
How Does The Sum And Difference Rule Work With The Constant Multiple Rule?
The two rules combine into one statement called linearity of differentiation. A Brainly question asks students to "write down the following derivative rules: (a) the sum and difference rules (b) the constant multiple" rule, and together they read:
where and are constants and and are differentiable at . Setting gives the sum rule; and gives the difference rule; gives the constant multiple rule on its own.
Linearity is what makes polynomials easy. Every one of the polynomial functions is a sum of constant multiples of powers of , so you split it into terms, apply the power rule to each power, and keep the coefficients and signs:
The same pattern covers mixed functions. Sines, exponentials and logarithms each have their own derivative, and the sum and difference rule lets you handle them side by side without any interaction between the terms.
Does The Sum And Difference Rule Work For Products And Quotients?
No. The derivative of a product is not the product of the derivatives, and the derivative of a quotient is not the quotient of the derivatives. Quora readers ask "What is the rule of differentiation of a product of two functions?" exactly because the sum pattern looks like it should carry over, and it does not.
One example settles it. Take :
The two answers disagree at every except , so "multiply the derivatives" is wrong. Quotients fail the same way: (for ) has derivative , while dividing the derivatives gives .
Products need the product rule, and quotients need the quotient rule. The table below is a quick way to choose:
How the pieces are joined | Rule to use | Pattern |
|---|---|---|
Added | Sum rule | derivative of is rate plus rate |
Subtracted | Difference rule | derivative of is rate minus rate |
Multiplied by a constant | Constant multiple rule | the constant stays |
Multiplied together | Product rule | not the product of the rates |
Divided | Quotient rule | not the quotient of the rates |
There is often a way back to the sum rule. Expand a product first, , or split a fraction whose denominator is a single term, . After rewriting, the expression is a sum again and term-by-term differentiation works. Splitting only works over a single-term denominator, though: cannot be split into .
Does The Sum Rule Need Both Functions To Be Differentiable?
The hypothesis guarantees the conclusion, but it is not required for the sum to be differentiable. If and are both differentiable at , then is too. The reverse can fail.
Take and . Neither is differentiable at , where each graph has a sharp corner (see absolute value functions). Their sum is , a constant, and its derivative at is . So you cannot read the rule backwards and split the derivative of a sum into parts that do not exist; the corners cancel only after adding.
This direction tripped me up the first time too; the rule is a one-way guarantee, and the differentiability of a function has to be checked piece by piece before the split is allowed. For infinite sums the situation is harder still, which is why term-by-term differentiation of a power series comes with its own convergence conditions.
What Is The Sum And Difference Rule For Integrals?
Integration inherits the rule in reverse: the integral of a sum is the sum of the integrals, and the integral of a difference is the difference of the integrals. For indefinite integrals,
and the result carries one combined constant . The reason is the derivative rule itself: if is an antiderivative of and is an antiderivative of , then the derivative of is , so is the antiderivative of .
Check by differentiating: .
For definite integrals the same split is one of the standard properties of definite integrals, and its picture is stacked area. The area under from to is the area under plus the area under over the same interval:
The integral version has the same blind spot as the derivative version. The integral of a product is not the product of the integrals: , while .
Examples Of The Sum And Difference Rule
Example 1
Find the derivative of , and its value at .
Differentiate each term and keep the plus sign.
At :
Final answer: , which equals at .
Example 2
Differentiate .
Split into four terms, use the constant multiple rule and the power rule on each, and keep every sign.
Final answer: .
Example 3
Differentiate .
The sum rule works so smoothly that the natural next move is to treat the product the same way and multiply the two derivatives:
Test that at . The tempting answer gives slope . But and , so the graph rises by about over a run of , a slope close to , not . The shortcut has failed, because the sum rule says nothing about products.
The rescue is to rewrite the product as a sum first. Expand:
Now the sum and difference rule applies term by term:
At this gives , which matches the numerical check. The product rule gives the same result without expanding.
Final answer: .
Example 4
Differentiate for .
Each term has a standard derivative. The differentiation of trigonometric functions gives for ; the derivatives of exponential functions give for ; and the derivatives of logarithmic functions give for .
Final answer: , valid for .
Example 5
Find the equation of the tangent line to at .
Rewrite the single-term denominator as a sum, then differentiate term by term.
At , the point is and the slope is . Using point-slope form, as in tangent line equations:
Final answer: the tangent line is .
Example 6
A workshop's revenue is dollars and its cost is dollars for items. Find the rate of change of profit at and at , and the output where it equals zero.
Profit is revenue minus cost, so the difference rule gives the profit rate directly.
At :
At :
Setting gives .
Final answer: profit rises by about dollars per extra item at , falls by about dollars per item at , and its rate is zero at .
Why Does The Sum And Difference Rule Matter?
The rule matters because complicated functions are built from simple pieces, and it guarantees that their rates can be built the same way. Without it, every new polynomial or mixed function would need its own trip through the limit definition. Three places where it carries real weight:
Economics. Profit is revenue minus cost, so marginal profit is marginal revenue minus marginal cost. Example 6 is the everyday version of this, and marginal cost and marginal revenue builds the full picture.
Physics and flows. Net flow into a tank, net force on an object and net heat into a room are all sums and differences of separate contributions, so their rates of change are sums and differences of separate rates.
Modelling. Scientists fit data with polynomials and sums of exponentials and sines precisely because linearity lets them differentiate and integrate those models one term at a time.
The history shows how special additivity is. In the same manuscript of 21 November 1675 where he first wrote the integral sign, Gottfried Leibniz also set down the product rule as a rule of its own; sums pass through a derivative untouched, but products never do. The statement of the sum rule and its limit proof appear in OpenStax Calculus Volume 1, Section 3.3 and, for general linear combinations, under linearity of differentiation.
Common Confusions With The Sum And Difference Rule
The rule itself is easy to state; most lost marks come from applying it where it does not belong or from losing a sign along the way.
Mistake 1: Extending The Rule To Products Or Quotients
Where it slips in:
Any expression with two factors, such as or , met right after a run of polynomial practice.
Don't do this:
Writing the derivative of as , or the derivative of as the quotient of the derivatives.
The correct way:
Use the product rule or the quotient rule, or rewrite the expression as a sum first when the algebra allows it, as in Example 3.
The rusher is the student most likely to do this, because after ten polynomials in a row "differentiate each piece" has become automatic and the multiplication sign goes unread.
Mistake 2: Dropping The Minus Sign On A Grouped Difference
Where it slips in:
Expressions such as , where a minus sign sits in front of a bracket.
Don't do this:
Writing , which applies the minus to the first term inside the bracket and forgets the second.
The correct way:
Distribute first: , so the derivative is .
Students who are fluent with the derivative rules usually lose this mark to the algebra, not the calculus: the sign error happens one line before any differentiation starts. Writing the expanded expression out in full before differentiating is the habit that stops it.
Mistake 3: Adding Several Constants Of Integration
Where it slips in:
Integrating a sum term by term, as in .
Don't do this:
Writing and then treating and as two separate unknowns to solve for.
The correct way:
Combine them into one: . Two arbitrary constants added together are just one arbitrary constant.
The memorizer tends to write a after every single term, because "always add " was learned as a ritual per integral sign rather than per answer.
Practice Problems On The Sum And Difference Rule
Work each problem before checking the answers below.
Differentiate .
Differentiate for .
Differentiate by splitting it into a sum first.
Evaluate .
Evaluate , exactly and to 4 decimal places.
Find the -values where the curve has a horizontal tangent.
Answer to Problem 1: .
Answer to Problem 2: .
Answer to Problem 3: after splitting, , so the derivative is .
Answer to Problem 4: .
Answer to Problem 5: , since the cosine part contributes .
Answer to Problem 6: the derivative equals at and .
Wrapping Up
The sum and difference rule lets you differentiate a sum or difference term by term, provided each term is differentiable at the point.
Its proof is the limit definition plus the sum law for limits, so the rule is a consequence, not a convention.
Geometrically, slopes add when graphs are added, and areas add when integrands are added.
Combined with the constant multiple rule it gives linearity, which is why polynomials differentiate and integrate so easily.
It does not extend to products or quotients, which need the product rule and quotient rule or a rewrite into a sum.
Your Next Move
Work through Practice Problems 1 to 6, then redo Example 3 without looking; if a product keeps getting differentiated as a product of derivatives, return to "Does The Sum And Difference Rule Work For Products And Quotients?", and if a sign goes missing in a bracket, return to Mistake 2.
Want a live trainer to walk through more derivative rules with you? Book a free demo class with Bhanzu:
Read More
Was this article helpful?
Your feedback helps us write better content