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.
sum, difference, and constant multiple rules
Let [latex]f(x)[/latex] and [latex]g(x)[/latex] be differentiable functions and [latex]k[/latex] be a constant. Then each of the following equations holds.
Sum Rule: The derivative of the sum of a function [latex]f[/latex] and a function [latex]g[/latex] is the same as the sum of the derivative of [latex]f[/latex] and the derivative of [latex]g[/latex].
for [latex]j(x)=f(x)+g(x), \, j^{\prime}(x)=f^{\prime}(x)+g^{\prime}(x)[/latex]
Difference Rule: The derivative of the difference of a function [latex]f[/latex] and a function [latex]g[/latex] is the same as the difference of the derivative of [latex]f[/latex] and the derivative of [latex]g[/latex].
for [latex]j(x)=f(x)-g(x), \, j^{\prime}(x)=f^{\prime}(x)-g^{\prime}(x)[/latex]
Constant Multiple Rule: The derivative of a constant [latex]k[/latex] multiplied by a function [latex]f[/latex] is the same as the constant multiplied by the derivative:
for [latex]j(x)=kf(x), \, j^{\prime}(x)=kf^{\prime}(x)[/latex]
Proof
We provide only the proof of the sum rule here. The rest follow in a similar manner.
For differentiable functions [latex]f(x)[/latex] and [latex]g(x)[/latex], we set [latex]j(x)=f(x)+g(x)[/latex]. Using the limit definition of the derivative we have
Since [latex]f(x)=x^2[/latex] has derivative [latex]f^{\prime}(x)=2x[/latex], we see that the derivative of [latex]g(x)[/latex] is [latex]3[/latex] times the derivative of [latex]f(x)[/latex]. This relationship is illustrated in the graphs below.
Figure 1. The derivative of [latex]g(x)[/latex] is 3 times the derivative of [latex]f(x)[/latex].
Find the derivative of [latex]f(x)=2x^5+7[/latex].
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:
[latex]\begin{array}{lllll}f^{\prime}(x) & =\frac{d}{dx}(2x^5+7) & & & \\ & =\frac{d}{dx}(2x^5)+\frac{d}{dx}(7) & & & \text{Apply the sum rule.} \\ & =2\frac{d}{dx}(x^5)+\frac{d}{dx}(7) & & & \text{Apply the constant multiple rule.} \\ & =2(5x^4)+0 & & & \text{Apply the power rule and the constant rule.} \\ & =10x^4. & & & \text{Simplify.} \end{array}[/latex]
Find the equation of the line tangent to the graph of [latex]f(x)=x^2-4x+6[/latex] at [latex]x=1[/latex].
To find the equation of the tangent line, we need a point and a slope. To find the point, compute
[latex]f(1)=1^2-4(1)+6=3[/latex].
This gives us the point [latex](1,3)[/latex]. Since the slope of the tangent line at [latex]1[/latex] is [latex]f^{\prime}(1)[/latex], we must first find [latex]f^{\prime}(x)[/latex]. Using the definition of a derivative, we have
[latex]f^{\prime}(x)=2x-4[/latex]
so the slope of the tangent line is [latex]f^{\prime}(1)=-2[/latex]. Using the point-slope formula, we see that the equation of the tangent line is
[latex]y-3=-2(x-1)[/latex].
Putting the equation of the line in slope-intercept form, we obtain
[latex]y=-2x+5[/latex].
Watch the following video to see the worked solution to this example.
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.