Tutorials › AP Calculus › Deriving the Constant-Multiple and Sum Rules

Power, Polynomial, and Rational Rules · Tutorial 122 of 999

Deriving the Constant-Multiple and Sum Rules

See why constants can be factored out of a derivative and why derivatives distribute across sums and differences, then practise those rules on linear functions.

Intermediate 9 min read

What You'll Learn

  • Derive the constant-multiple rule from the difference quotient.
  • Derive the sum rule using the limit law for sums.
  • State the conditions under which the rules apply.
  • Use the rules to differentiate sums and differences of linear functions.
  • Check derivative results directly with a difference quotient.
  • Recognize the mistake of differentiating a constant as if it were unchanged.

Why These Rules Matter

The difference quotient defines a derivative, but using it from scratch for every expression can involve repeated algebra. The constant-multiple and sum rules explain how differentiation interacts with two basic operations: multiplying a function by a constant, and adding functions.

These rules are not just shortcuts. They follow from the definition of the derivative, provided the functions involved are differentiable at the point in question. That condition matters: a rule for combining derivatives cannot create a derivative where one of the component functions has none.

The Difference Quotient and the Conditions

For a function \(f\), the derivative at an interior point \(a\) of its domain is defined by the limit of its difference quotient, when that limit exists:

$$ f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}. $$

The increment \(h\) is nonzero while the quotient is formed, and it approaches zero in the limit. If this limit exists as a finite real number, \(f\) is differentiable at \(a\). The rules below apply at any point where the functions in them are differentiable. In particular, to apply a rule at \(a\), the component functions must be defined near \(a\) and have derivatives there.

Definition: If \(f\) and \(g\) are differentiable at \(a\), and \(c\) is a real constant, then \(cf\) and \(f+g\) are differentiable at \(a\). Their derivatives are given by the constant-multiple and sum rules derived below.

Deriving the Constant-Multiple Rule

Let \(c\) be a constant and suppose \(f\) is differentiable at \(a\). Apply the difference quotient definition to the function \(cf\). Since \(c\) does not depend on \(h\), it can be factored out of the quotient:

$$ \begin{aligned} (cf)'(a) &=\lim_{h\to 0}\frac{c f(a+h)-c f(a)}{h}\\ &=\lim_{h\to 0}c\frac{f(a+h)-f(a)}{h}\\ &=c\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}\\ &=c f'(a). \end{aligned} $$

The third equality uses the constant-multiple law for limits: if a limit exists, multiplying every value in the expression by a fixed constant multiplies the limit by that constant. The last limit exists because \(f\) is differentiable at \(a\). Thus the rule follows directly from the definition, rather than from a pattern observed in examples.

Theorem: If \(f\) is differentiable at \(a\) and \(c\) is a real constant, then $$ \frac{d}{dx}\bigl(c f(x)\bigr)\bigg|_{x=a}=c f'(a). $$ Equivalently, wherever \(f\) is differentiable, \((cf)'(x)=c f'(x)\).

The constant may be positive, negative, or zero. If \(c=0\), the function \(cf\) is the zero function, whose derivative is zero; the formula gives \(0f'(a)=0\), as expected.

Deriving the Sum Rule

Suppose \(f\) and \(g\) are both differentiable at \(a\). In the difference quotient for \(f+g\), separate the change in the sum into the change in each function:

$$ \begin{aligned} (f+g)'(a) &=\lim_{h\to 0} \frac{f(a+h)+g(a+h)-f(a)-g(a)}{h}\\ &=\lim_{h\to 0}\left( \frac{f(a+h)-f(a)}{h} + \frac{g(a+h)-g(a)}{h} \right)\\ &=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h} + \lim_{h\to 0}\frac{g(a+h)-g(a)}{h}\\ &=f'(a)+g'(a). \end{aligned} $$

The third equality uses the limit law for sums. It is valid here because differentiability of \(f\) and \(g\) guarantees that both difference-quotient limits exist. If either limit does not exist, this derivation cannot be used to assert that the sum has a derivative.

Theorem: If \(f\) and \(g\) are differentiable at \(a\), then $$ (f+g)'(a)=f'(a)+g'(a). $$ Where both functions are differentiable, this can be written \((f+g)'=f'+g'\).

The difference rule is a consequence of these two results: subtracting \(g\) is the same as adding \((-1)g\). Therefore, if \(f\) and \(g\) are differentiable at \(a\),

$$ (f-g)'(a)=f'(a)-g'(a). $$

A Basic Derivative to Use with the Rules

The identity function \(I(x)=x\) has derivative \(1\), since its difference quotient simplifies to \(1\) for every nonzero \(h\):

$$ I'(a)=\lim_{h\to 0}\frac{(a+h)-a}{h} =\lim_{h\to 0}\frac{h}{h} =1. $$

A constant function has derivative zero, as established in the earlier material on the derivative of a constant function. These two facts let us apply the new rules to linear functions, without needing any additional derivative rules.

Worked Examples

Worked Example: Differentiate a Constant Multiple Plus a Constant

Find the derivative of \(F(x)=4x-7\). Write the function as \(4I(x)+(-7)\), where \(I(x)=x\). By the constant-multiple rule, \( (4I)'(x)=4I'(x)=4\). The derivative of the constant \(-7\) is \(0\). Therefore,

$$ F'(x)=4+0=4. $$

Check directly from the difference quotient. For \(h\ne 0\),

$$ \begin{aligned} \frac{F(x+h)-F(x)}{h} &=\frac{[4(x+h)-7]-(4x-7)}{h}\\ &=\frac{4x+4h-7-4x+7}{h}\\ &=\frac{4h}{h}\\ &=4. \end{aligned} $$

The quotient is \(4\) for every nonzero \(h\), so its limit is \(4\). This agrees with the derivative obtained using the rules.

Worked Example: Differentiate a Sum of Linear Functions

Let \(G(x)=(2x+3)+(5x-8)\). Set \(f(x)=2x+3\) and \(g(x)=5x-8\). Each is differentiable: the identity function has derivative \(1\), and the constant terms have derivative \(0\). The constant-multiple rule gives

$$ f'(x)=2(1)+0=2, \qquad g'(x)=5(1)+0=5. $$

Both functions are differentiable for every real \(x\), so the sum rule applies for every real \(x\):

$$ G'(x)=f'(x)+g'(x)=2+5=7. $$

Check using the difference quotient. First, \(G(x)=7x-5\), so

$$ \begin{aligned} \frac{G(x+h)-G(x)}{h} &=\frac{[7(x+h)-5]-(7x-5)}{h}\\ &=\frac{7x+7h-5-7x+5}{h}\\ &=\frac{7h}{h}\\ &=7. \end{aligned} $$

Its limit as \(h\) approaches zero is \(7\), confirming the sum-rule result.

Worked Example: Differentiate a Difference of Linear Functions

Find the derivative of \(H(x)=(6x-1)-(2x+4)\). Let \(u(x)=6x-1\) and \(v(x)=2x+4\). Their derivatives, using the constant-multiple rule and the derivative of a constant, are

$$ u'(x)=6(1)+0=6, \qquad v'(x)=2(1)+0=2. $$

Both functions are differentiable for every real \(x\). Apply the difference rule:

$$ H'(x)=u'(x)-v'(x)=6-2=4. $$

Check directly. Simplifying first gives \(H(x)=4x-5\), and hence

$$ \begin{aligned} \frac{H(x+h)-H(x)}{h} &=\frac{[4(x+h)-5]-(4x-5)}{h}\\ &=\frac{4x+4h-5-4x+5}{h}\\ &=\frac{4h}{h}\\ &=4. \end{aligned} $$

The difference quotient is constantly \(4\) for \(h\ne 0\), so the derivative is \(4\), as predicted.

Why the Differentiability Conditions Matter

The algebra in the derivations splits a difference quotient into component quotients. To take the limit of their sum, the component limits must exist. This is why the sum rule requires both component functions to be differentiable at the point. The same condition applies to the difference rule and to the constant-multiple rule's function.

These rules give a reliable way to combine derivatives that already exist. They do not say that every sum or multiple is differentiable everywhere regardless of its components. At a point where a component derivative fails to exist, the rule alone gives no conclusion about the combined function; further analysis would be needed.

Common Mistake: Keeping a Constant in the Derivative

A frequent error is to treat a constant term as though differentiation leaves it unchanged. For example, an incorrect calculation might say

$$ \text{Incorrect:}\qquad (4x-7)'=4-7=-3. $$

This confuses the original constant with its derivative. The constant function \(-7\) has derivative \(0\), because its output does not change when \(x\) changes. The correct calculation is

$$ (4x-7)'=(4x)'+(-7)'=4(1)+0=4. $$

The difference quotient confirms the correction: the constant terms cancel in \(F(x+h)-F(x)\), leaving only \(4h\), and dividing by \(h\) gives \(4\).

What These Rules Establish

The constant-multiple and sum rules allow derivatives to be combined linearly: multiplying a differentiable function by a constant multiplies its derivative by that constant, and adding differentiable functions adds their derivatives. Subtraction follows by multiplying one function by \(-1\). In the examples here, the rules apply to linear functions because their derivatives follow directly from the identity and constant functions.

The scope is deliberate. These rules alone do not yet determine derivatives of higher powers such as \(x^2\) or \(x^3\). To differentiate such terms, another result is needed. For now, the key habits are to check that the component functions are differentiable at the point, apply the rules with constants handled correctly, and use a difference quotient when a direct check is useful.

Check Your Understanding

Use the difference-quotient derivations and examples above to answer these questions.

  1. State the condition on \(f\) and the constant \(c\) needed to use the constant-multiple rule at \(a\).
  2. In the sum-rule derivation, which limit law allows the limit of the two difference quotients to be separated?
  3. Find the derivative of \(9x+2\), and verify it by simplifying its difference quotient.
  4. Find the derivative of \((3x-4)-(x+6)\), showing the derivative of each component.
  5. Explain why the claim \((5x-12)'=5-12\) is incorrect, and give the correct derivative.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon
Clinical Biostats