Section 3.3 Differentiation Rules
Learning Objectives.
State the constant, constant multiple, and power rules.
Apply the sum and difference rules to combine derivatives.
Use the product rule for finding the derivative of a product of functions.
Use the quotient rule for finding the derivative of a quotient of functions.
Extend the power rule to functions with negative exponents.
Combine the differentiation rules to find the derivative of a polynomial or rational function.
Finding derivatives of functions by using the definition of the derivative can be a lengthy and, for certain functions, a rather challenging process. For example, previously we found that \(\frac{d}{dx}(\sqrt{x})=\frac{1}{2\sqrt{x}}\) by using a process that involved multiplying an expression by a conjugate prior to evaluating a limit. The process that we could use to evaluate \(\frac{d}{dx}(\sqrt[3]{x})\) using the definition, while similar, is more complicated. In this section, we develop rules for finding derivatives that allow us to bypass this process. We begin with the basics.
Subsection 3.3.1 The Basic Rules
The functions \(f(x)=c\) and \(g(x)=x^n\) where \(n\) is a positive integer are the building blocks from which all polynomials and rational functions are constructed. To find derivatives of polynomials and rational functions efficiently without resorting to the limit definition of the derivative, we must first develop formulas for differentiating these basic functions.
Subsubsection 3.3.1.1 The Constant Rule
We first apply the limit definition of the derivative to find the derivative of the constant function, \(f(x)=c.\) For this function, both \(f(x)=c\) and \(f(x+h)=c,\) so we obtain the following result:
The rule for differentiating constant functions is called the constant rule. It states that the derivative of a constant function is zero; that is, since a constant function is a horizontal line, the slope, or the rate of change, of a constant function is \(0.\) We restate this rule in the following theorem.
Theorem 3.55. The Constant Rule.
Let \(c\) be a constant.
If \(f(x)=c,\) then \(f'(c)=0.\)
Alternatively, we may express this rule as
Example 3.56. Applying the Constant Rule.
Find the derivative of \(f(x)=8.\)
This is just a one-step application of the rule:
Checkpoint 3.57.
Find the derivative of \(g(x)=-3.\)
Subsubsection 3.3.1.2 The Power Rule
We have shown that
At this point, you might see a pattern beginning to develop for derivatives of the form \(\frac{d}{dx}(x^n).\) We continue our examination of derivative formulas by differentiating power functions of the form \(f(x)=x^n\) where \(n\) is a positive integer. We develop formulas for derivatives of this type of function in stages, beginning with positive integer powers. Before stating and proving the general rule for derivatives of functions of this form, we take a look at a specific case, \(\frac{d}{dx}(x^3).\) As we go through this derivation, pay special attention to the portion of the expression in boldface, as the technique used in this case is essentially the same as the technique used to prove the general case.
Example 3.58. Differentiating \(x^3\).
Find \(\frac{d}{dx}(x^3).\)
Checkpoint 3.59.
Find \(\frac{d}{dx}(x^4).\)
As we shall see, the procedure for finding the derivative of the general form \(f(x)=x^n\) is very similar. Although it is often unwise to draw general conclusions from specific examples, we note that when we differentiate \(f(x)=x^3,\) the power on \(x\) becomes the coefficient of \(x^2\) in the derivative and the power on \(x\) in the derivative decreases by 1. The following theorem states that the power rule holds for all positive integer powers of \(x.\) We will eventually extend this result to negative integer powers. Later, we will see that this rule may also be extended first to rational powers of \(x\) and then to arbitrary powers of \(x.\) Be aware, however, that this rule does not apply to functions in which a constant is raised to a variable power, such as \(f(x)=3^x.\)
Theorem 3.60. The Power Rule.
Let \(n\) be any real number. If \(f(x)=x^n,\) then
Alternatively, we may express this rule as
Example 3.61. Applying the Power Rule.
Find the derivative of the function \(f(x)=x^{10}\) by applying the power rule.
Using the power rule with \(n=10,\) we obtain
Checkpoint 3.62.
Find the derivative of \(f(x)=x^7.\)
Subsection 3.3.2 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.63. Sum, Difference, and Constant Multiple Rules.
Let \(f(x)\) and \(g(x)\) 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.\)
that is,
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\text{ : }\)
that is,
Constant Multiple Rule. The derivative of a constant \(k\) multiplied by a function \(f\) is the same as the constant multiplied by the derivative:
that is,
Proof.
We provide only the proof of the sum rule here. The rest follow in a similar manner.
For differentiable functions \(f(x)\) and \(g(x),\) we set \(j(x)=f(x)+g(x).\) Using the limit definition of the derivative we have
By substituting \(j(x+h)=f(x+h)+g(x+h)\) and \(j(x)=f(x)+g(x),\) we obtain
Rearranging and regrouping the terms, we have
We now apply the sum law for limits and the definition of the derivative to obtain
Example 3.64. Applying the Constant Multiple Rule.
Find the derivative of \(g(x)=3x^2\) and compare it to the derivative of \(f(x)=x^2.\)
We use the power rule directly:
Since \(f(x)=x^2\) has derivative \(f'(x)=2x,\) we see that the derivative of \(g(x)\) is 3 times the derivative of \(f(x).\) This relationship is illustrated in Figure 3.65.
Example 3.66. Applying Basic Derivative Rules.
Find the derivative of \(f(x)=2x^5+7.\)
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:
Checkpoint 3.67.
Find the derivative of \(f(x)=2x^3-6x^2+3.\)
Example 3.68. Finding the Equation of a Tangent Line.
Find the equation of the line tangent to the graph of \(f(x)=x^2-4x+6\) at \(x=1.\)
To find the equation of the tangent line, we need a point and a slope. To find the point, compute
This gives us the point \((1,3).\) Since the slope of the tangent line at 1 is \(f'(1),\) we must first find \(f'(x).\) Using the definition of a derivative, we have
so the slope of the tangent line is \(f'(1)=-2.\) Using the point-slope formula, we see that the equation of the tangent line is
Putting the equation of the line in slope-intercept form, we obtain
Checkpoint 3.69.
Find the equation of the line tangent to the graph of \(f(x)=3x^2-11\) at \(x=2.\) Use the point-slope form.
Subsection 3.3.3 The Product Rule
Now that we have examined the basic rules, we can begin looking at some of the more advanced rules. The first one examines the derivative of the product of two functions. Although it might be tempting to assume that the derivative of the product is the product of the derivatives, similar to the sum and difference rules, the product rule does not follow this pattern. To see why we cannot use this pattern, consider the function \(f(x)=x^2,\) whose derivative is \(f'(x)=2x\) and not \(\frac{d}{dx}(x)\cdot \frac{d}{dx}(x)=1\cdot 1=1.\)
Theorem 3.70. Product Rule.
Let \(f(x)\) and \(g(x)\) be differentiable functions. Then
That is,
This means that the derivative of a product of two functions is the derivative of the first function times the second function plus the derivative of the second function times the first function.
Example 3.71. Applying the Product Rule to Functions at a Point.
For \(j(x)=f(x)g(x),\) use the product rule to find \(j'(2)\) if \(f(2)=3,f'(2)=-4,g(2)=1,\) and \(g'(2)=6.\)
Since \(j(x)=f(x)g(x),j'(x)=f'(x)g(x)+g'(x)f(x),\) and hence
Example 3.72. Applying the Product Rule to Binomials.
For \(j(x)=(x^2+2)(3x^3-5x),\) find \(j'(x)\) by applying the product rule. Check the result by first finding the product and then differentiating.
If we set \(f(x)=x^2+2\) and \(g(x)=3x^3-5x,\) then \(f'(x)=2x\) and \(g'(x)=9x^2-5.\) Thus,
Simplifying, we have
To check, we see that \(j(x)=3x^5+x^3-10x\) and, consequently, \(j'(x)=15x^4+3x^2-10.\)
Checkpoint 3.73.
Use the product rule to obtain the derivative of \(j(x)=2x^5(4x^2+x).\)
Subsection 3.3.4 The Quotient Rule
Having developed and practiced the product rule, we now consider differentiating quotients of functions. As we see in the following theorem, the derivative of the quotient is not the quotient of the derivatives; rather, it is the derivative of the function in the numerator times the function in the denominator minus the derivative of the function in the denominator times the function in the numerator, all divided by the square of the function in the denominator. In order to better grasp why we cannot simply take the quotient of the derivatives, keep in mind that
Theorem 3.74. The Quotient Rule.
Let \(f(x)\) and \(g(x)\) be differentiable functions. Then
That is,
The proof of the quotient rule is very similar to the proof of the product rule, so it is omitted here. Instead, we apply this new rule for finding derivatives in the next example.
Example 3.75. Applying the Quotient Rule.
Use the quotient rule to find the derivative of \(k(x)=\frac{5x^2}{4x+3}.\)
Let \(f(x)=5x^2\) and \(g(x)=4x+3.\) Thus, \(f'(x)=10x\) and \(g'(x)=4.\) Substituting into the quotient rule, we have
Simplifying, we obtain
Checkpoint 3.76.
Find the derivative of \(h(x)=\frac{3x+1}{4x-3}.\)
Example 3.77. Using the Power Rule.
Find \(\frac{d}{dx}(x^{-4}).\)
By applying the power rule with \(k=-4,\) we obtain
Example 3.78. Using the Power Rule and the Constant Multiple Rule.
Use the power rule and the constant multiple rule to find \(f(x)=\frac{6}{x^2}.\)
It may seem tempting to use the quotient rule to find this derivative, and it would certainly not be incorrect to do so. However, it is far easier to differentiate this function by first rewriting it as \(f(x)=6x^{-2}.\)
Checkpoint 3.79.
Find the derivative of \(g(x)=\frac{1}{x^7}\) using the power rule.
Subsection 3.3.5 Combining Differentiation Rules
As we have seen throughout the examples in this section, it seldom happens that we are called on to apply just one differentiation rule to find the derivative of a given function. At this point, by combining the differentiation rules, we may find the derivatives of any polynomial or rational function. Later on we will encounter more complex combinations of differentiation rules. A good rule of thumb to use when applying several rules is to apply the rules in reverse of the order in which we would evaluate the function.
Example 3.80. Combining Differentiation Rules.
For \(k(x)=3h(x)+x^2g(x),\) find \(k'(x).\)
Finding this derivative requires the sum rule, the constant multiple rule, and the product rule.
Example 3.81. Extending the Product Rule.
For \(k(x)=f(x)g(x)h(x),\) express \(k'(x)\) in terms of \(f(x),g(x),h(x),\) and their derivatives.
We can think of the function \(k(x)\) as the product of the function \(f(x)g(x)\) and the function \(h(x).\) That is, \(k(x)=(f(x)g(x))\cdot h(x).\) Thus,
Example 3.82. Combining the Quotient Rule and the Product Rule.
For \(h(x)=\frac{2x^3k(x)}{3x+2},\) find \(h'(x).\)
This procedure is typical for finding the derivative of a rational function.
Checkpoint 3.83.
Find \(\frac{d}{dx}(3f(x)-2g(x)).\)
Example 3.84. Determining Where a Function Has a Horizontal Tangent.
Determine the values of \(x\) for which \(f(x)=x^3-7x^2+8x+1\) has a horizontal tangent line.
To find the values of \(x\) for which \(f(x)\) has a horizontal tangent line, we must solve \(f'(x)=0.\) Since
we must solve \((3x-2)(x-4)=0.\) Thus we see that the function has horizontal tangent lines at \(x=\frac{2}{3}\) and \(x=4\) as shown in the following graph.
Example 3.86. Cost, Revenue, and Profit.
Michael finds his cost and revenue in dollars when \(x\) units are sold to be
respectively.
Find the profit function, \(P(x).\)
Find \(P'(4)\) and interpret.
Recall that
Using the power rule,
When 4 units are sold, the profit is decreasing (dropping) at a rate of \(\$33\) per unit sold. So if 1 more unit is sold, we would expect profit to decrease by \(\$33\text{.}\)
Checkpoint 3.87.
Find the values of \(x\) for which the line tangent to the graph of \(f(x)=4x^2-3x+2\) has a tangent line parallel to the line \(y=2x+3.\)
Note 3.88. Project: Formula One Grandstands.
Formula One car races can be very exciting to watch and attract a lot of spectators. Formula One track designers have to ensure sufficient grandstand space is available around the track to accommodate these viewers. However, car racing can be dangerous, and safety considerations are paramount. The grandstands must be placed where spectators will not be in danger should a driver lose control of a car (Figure 3.89).
**********Safety is especially a concern on turns. If a driver does not slow down enough before entering the turn, the car may slide off the racetrack. Normally, this just results in a wider turn, which slows the driver down. But if the driver loses control completely, the car may fly off the track entirely, on a path tangent to the curve of the racetrack.
Suppose you are designing a new Formula One track. One section of the track can be modeled by the function \(f(x)=x^3+3x^2+x\) (Figure 3.90). The current plan calls for grandstands to be built along the first straightaway and around a portion of the first curve. The plans call for the front corner of the grandstand to be located at the point \((-1.9,2.8).\) We want to determine whether this location puts the spectators in danger if a driver loses control of the car.
Physicists have determined that drivers are most likely to lose control of their cars as they are coming into a turn, at the point where the slope of the tangent line is 1. Find the \((x,y)\) coordinates of this point near the turn.
Find the equation of the tangent line to the curve at this point.
To determine whether the spectators are in danger in this scenario, find the \(x\)-coordinate of the point where the tangent line crosses the line \(y=2.8.\) Is this point safely to the right of the grandstand? Or are the spectators in danger?
What if a driver loses control earlier than the physicists project? Suppose a driver loses control at the point \((-2.5,0.625).\) What is the slope of the tangent line at this point?
If a driver loses control as described in part 4, are the spectators safe?
Should you proceed with the current design for the grandstand, or should the grandstands be moved?
Subsection 3.3.6 Key Concepts
The derivative of a constant function is zero.
The derivative of a power function is a function in which the power on \(x\) becomes the coefficient of the term and the power on \(x\) in the derivative decreases by 1.
The derivative of a constant \(c\) multiplied by a function \(f\) is the same as the constant multiplied by the derivative.
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.
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.
The derivative of a product of two functions is the derivative of the first function times the second function plus the derivative of the second function times the first function.
The derivative of the quotient of two functions is the derivative of the first function times the second function minus the derivative of the second function times the first function, all divided by the square of the second function.
We used the limit definition of the derivative to develop formulas that allow us to find derivatives without resorting to the definition of the derivative. These formulas can be used singly or in combination with each other.
This book is a custom edition based on OpenStax Calculus Volume 1. You can download the original for free at https://openstax.org/details/books/calculus-volume-1.