The Sum, Difference, and Constant Multiple Rules

We find our next differentiation rules by looking at derivatives of sums, differences, and constant multiples of functions. Just as when we work with functions, there are rules that make it easier to find derivatives of functions that we add, subtract, or multiply by a constant. These rules are summarized in the following theorem.

Theorem 3.4

Sum, Difference, and Constant Multiple Rules

Let \(f \left(\right. x \left.\right)\) and \(g \left(\right. x \left.\right)\) be differentiable functions and \(k\) be a constant. Then each of the following equations holds.

Sum Rule. The derivative of the sum of a function \(f\) and a function \(g\) is the same as the sum of the derivative of \(f\) and the derivative of \(g .\)

\[\frac{d}{d x} \left(\right. f \left(\right. x \left.\right) + g \left(\right. x \left.\right) \left.\right) = \frac{d}{d x} \left(\right. f \left(\right. x \left.\right) \left.\right) + \frac{d}{d x} \left(\right. g \left(\right. x \left.\right) \left.\right) ;\]

that is,

\[\text{for} j \left(\right. x \left.\right) = f \left(\right. x \left.\right) + g \left(\right. x \left.\right) , j^{'} \left(\right. x \left.\right) = f^{'} \left(\right. x \left.\right) + g^{'} \left(\right. x \left.\right) .\]

Difference Rule. The derivative of the difference of a function f and a function g is the same as the difference of the derivative of f and the derivative of \(g :\)

\[\frac{d}{d x} \left(\right. f \left(\right. x \left.\right) - g \left(\right. x \left.\right) \left.\right) = \frac{d}{d x} \left(\right. f \left(\right. x \left.\right) \left.\right) - \frac{d}{d x} \left(\right. g \left(\right. x \left.\right) \left.\right) ;\]

that is,

\[\text{for} j \left(\right. x \left.\right) = f \left(\right. x \left.\right) - g \left(\right. x \left.\right) , j^{'} \left(\right. x \left.\right) = f^{'} \left(\right. x \left.\right) - g^{'} \left(\right. x \left.\right) .\]

Constant Multiple Rule. The derivative of a constant k multiplied by a function f is the same as the constant multiplied by the derivative:

\[\frac{d}{d x} \left(\right. k f \left(\right. x \left.\right) \left.\right) = k \frac{d}{d x} \left(\right. f \left(\right. x \left.\right) \left.\right) ;\]

that is,

\[\text{for} j \left(\right. x \left.\right) = k f \left(\right. x \left.\right) , j^{'} \left(\right. x \left.\right) = k f^{'} \left(\right. x \left.\right) .\]

Proof

We provide only the proof of the sum rule here. The rest follow in a similar manner.

For differentiable functions \(f \left(\right. x \left.\right)\) and \(g \left(\right. x \left.\right) ,\) we set \(j \left(\right. x \left.\right) = f \left(\right. x \left.\right) + g \left(\right. x \left.\right) .\) Using the limit definition of the derivative we have

\[j^{'} \left(\right. x \left.\right) = \underset{h \rightarrow 0}{\text{lim}} \frac{j \left(\right. x + h \left.\right) - j \left(\right. x \left.\right)}{h} .\]

By substituting \(j \left(\right. x + h \left.\right) = f \left(\right. x + h \left.\right) + g \left(\right. x + h \left.\right)\) and \(j \left(\right. x \left.\right) = f \left(\right. x \left.\right) + g \left(\right. x \left.\right) ,\) we obtain

\[j^{'} \left(\right. x \left.\right) = \underset{h \rightarrow 0}{\text{lim}} \frac{\left(\right. f \left(\right. x + h \left.\right) + g \left(\right. x + h \left.\right) \left.\right) - \left(\right. f \left(\right. x \left.\right) + g \left(\right. x \left.\right) \left.\right)}{h} .\]

Rearranging and regrouping the terms, we have

\[j^{'} \left(\right. x \left.\right) = \underset{h \rightarrow 0}{\text{lim}} \left(\right. \frac{f \left(\right. x + h \left.\right) - f \left(\right. x \left.\right)}{h} + \frac{g \left(\right. x + h \left.\right) - g \left(\right. x \left.\right)}{h} \left.\right) .\]

We now apply the sum law for limits and the definition of the derivative to obtain

\[j^{'} \left(\right. x \left.\right) = \underset{h \rightarrow 0}{\text{lim}} \left(\right. \frac{f \left(\right. x + h \left.\right) - f \left(\right. x \left.\right)}{h} \left.\right) + \underset{h \rightarrow 0}{\text{lim}} \left(\right. \frac{g \left(\right. x + h \left.\right) - g \left(\right. x \left.\right)}{h} \left.\right) = f^{'} \left(\right. x \left.\right) + g^{'} \left(\right. x \left.\right) .\]

Example 3.20

Applying the Constant Multiple Rule

Find the derivative of \(g \left(\right. x \left.\right) = 3 x^{2}\) and compare it to the derivative of \(f \left(\right. x \left.\right) = x^{2} .\)

Solution

We use the power rule directly:

\[g^{'} \left(\right. x \left.\right) = \frac{d}{d x} \left(\right. 3 x^{2} \left.\right) = 3 \frac{d}{d x} \left(\right. x^{2} \left.\right) = 3 \left(\right. 2 x \left.\right) = 6 x .\]

Since \(f \left(\right. x \left.\right) = x^{2}\) has derivative \(f^{'} \left(\right. x \left.\right) = 2 x ,\) we see that the derivative of \(g \left(\right. x \left.\right)\) is 3 times the derivative of \(f \left(\right. x \left.\right) .\) This relationship is illustrated in Figure 3.18.

Two graphs are shown. The first graph shows g(x) = 3x2 and f(x) = x squared. The second graph shows g’(x) = 6x and f’(x) = 2x. In the first graph, g(x) increases three times more quickly than f(x). In the second graph, g’(x) increases three times more quickly than f’(x).
Figure 3.18 The derivative of \(g \left(\right. x \left.\right)\) is 3 times the derivative of \(f \left(\right. x \left.\right) .\)

Example 3.21

Applying Basic Derivative Rules

Find the derivative of \(f \left(\right. x \left.\right) = 2 x^{5} + 7 .\)

Solution

We begin by applying the rule for differentiating the sum of two functions, followed by the rules for differentiating constant multiples of functions and the rule for differentiating powers. To better understand the sequence in which the differentiation rules are applied, we use Leibniz notation throughout the solution:

\[\begin{aligned} f^{'} \left(\right. x \left.\right) & = \frac{d}{d x} \left(\right. 2 x^{5} + 7 \left.\right) & & & \\ & = \frac{d}{d x} \left(\right. 2 x^{5} \left.\right) + \frac{d}{d x} \left(\right. 7 \left.\right) & & & \text{Apply the sum rule}. \\ & = 2 \frac{d}{d x} \left(\right. x^{5} \left.\right) + \frac{d}{d x} \left(\right. 7 \left.\right) & & & \text{Apply the constant multiple rule}. \\ & = 2 \left(\right. 5 x^{4} \left.\right) + 0 & & & \text{Apply the power rule and the constant rule}. \\ & = 10 x^{4} . & & & \text{Simplify}. \end{aligned}\]

Checkpoint 3.14

Find the derivative of \(f \left(\right. x \left.\right) = 2 x^{3} - 6 x^{2} + 3 .\)

Example 3.22

Finding the Equation of a Tangent Line

Find the equation of the line tangent to the graph of \(f \left(\right. x \left.\right) = x^{2} - 4 x + 6\) at \(x = 1 .\)

Solution

To find the equation of the tangent line, we need a point and a slope. To find the point, compute

\[f \left(\right. 1 \left.\right) = 1^{2} - 4 \left(\right. 1 \left.\right) + 6 = 3 .\]

This gives us the point \(\left(\right. 1 , 3 \left.\right) .\) Since the slope of the tangent line at 1 is \(f^{'} \left(\right. 1 \left.\right) ,\) we must first find \(f^{'} \left(\right. x \left.\right) .\) Using the definition of a derivative, we have

\[f^{'} \left(\right. x \left.\right) = 2 x - 4\]

so the slope of the tangent line is \(f^{'} \left(\right. 1 \left.\right) = −2 .\) Using the point-slope formula, we see that the equation of the tangent line is

\[y - 3 = −2 \left(\right. x - 1 \left.\right) .\]

Putting the equation of the line in slope-intercept form, we obtain

\[y = −2 x + 5 .\]

Checkpoint 3.15

Find the equation of the line tangent to the graph of \(f \left(\right. x \left.\right) = 3 x^{2} - 11\) at \(x = 2 .\) Use the point-slope form.

This lesson is part of:

Derivatives

View Full Tutorial

Track Your Learning Progress

Sign in to unlock unlimited practice exams, tutorial practice quizzes, personalized weak area practice, AI study assistance with Lexi, and detailed performance analytics.