We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Calculus Volume 1

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 [latex]\frac{d}{dx}(\sqrt{x})=\frac{1}{2\sqrt{x}}[/latex] 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 [latex]\frac{d}{dx}(\sqrt[3]{x})[/latex] 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.

The Basic Rules

The functions [latex]f(x)=c[/latex] and [latex]g(x)=x^n[/latex] where [latex]n[/latex] 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.

The Constant Rule

We first apply the limit definition of the derivative to find the derivative of the constant function, [latex]f(x)=c[/latex]. For this function, both [latex]f(x)=c[/latex] and [latex]f(x+h)=c[/latex], so we obtain the following result:

[latex]\begin{array}{ll}f^{\prime}(x) & =\underset{h\to 0}{\lim}\frac{f(x+h)-f(x)}{h} \\ & =\underset{h\to 0}{\lim}\frac{c-c}{h} \\ & =\underset{h\to 0}{\lim}\frac{0}{h} \\ & =\underset{h\to 0}{\lim}0=0 \end{array}[/latex]

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.

The Constant Rule

Let [latex]c[/latex] be a constant.

If [latex]f(x)=c[/latex], then [latex]f^{\prime}(c)=0[/latex].

Alternatively, we may express this rule as

[latex]\frac{d}{dx}(c)=0[/latex].

Applying the Constant Rule

Find the derivative of [latex]f(x)=8[/latex].

Answer:

This is just a one-step application of the rule:

[latex]f^{\prime}(8)=0[/latex].

Find the derivative of [latex]g(x)=-3[/latex].

Answer:

0

Hint

Use the preceding example as a guide.

The Power Rule

We have shown that

[latex]\frac{d}{dx}(x^2)=2x[/latex] and [latex]\frac{d}{dx}(x^{1/2})=\frac{1}{2}x^{−1/2}[/latex].

At this point, you might see a pattern beginning to develop for derivatives of the form [latex]\frac{d}{dx}(x^n)[/latex]. We continue our examination of derivative formulas by differentiating power functions of the form [latex]f(x)=x^n[/latex] where [latex]n[/latex] 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, [latex]\frac{d}{dx}(x^3)[/latex].

Differentiating [latex]x^3[/latex]

Find [latex]\frac{d}{dx}(x^3)[/latex].

Answer:

[latex]\begin{array}{lllll}\frac{d}{dx}(x^3) & =\underset{h\to 0}{\lim}\frac{(x+h)^3-x^3}{h} & & & \\ & =\underset{h\to 0}{\lim}\frac{x^3+3x^2h+3xh^2+h^3-x^3}{h} & & & \begin{array}{l}\text{Notice that the first term in the expansion of} \\ (x+h)^3 \, \text{is} \, x^3 \, \text{and the second term is} \, 3x^2h. \, \text{All} \\ \text{other terms contain powers of} \, h \, \text{that are two or} \\ \text{greater.} \end{array} \\ & =\underset{h\to 0}{\lim}\frac{3x^2h+3xh^2+h^3}{h} & & & \begin{array}{l}\text{In this step the} \, x^3 \, \text{terms have been cancelled,} \\ \text{leaving only terms containing} \, h. \end{array} \\ & =\underset{h\to 0}{\lim}\frac{h(3x^2+3xh+h^2)}{h} & & & \text{Factor out the common factor of} \, h. \\ & =\underset{h\to 0}{\lim}(3x^2+3xh+h^2) & & & \begin{array}{l}\text{After cancelling the common factor of} \, h, \, \text{the} \\ \text{only term not containing} \, h \, \text{is} \, 3x^2. \end{array} \\ & =3x^2 & & & \text{Let} \, h \, \text{go to 0.} \end{array}[/latex]

Find [latex]\frac{d}{dx}(x^4)[/latex].

Answer:

[latex]4x^3[/latex]

Hint

Use [latex](x+h)^4=x^4+4x^3h+6x^2h^2+4xh^3+h^4[/latex] and follow the procedure outlined in the preceding example.

As we shall see, the procedure for finding the derivative of the general form [latex]f(x)=x^n[/latex] is very similar. Although it is often unwise to draw general conclusions from specific examples, we note that when we differentiate [latex]f(x)=x^3[/latex], the power on [latex]x[/latex] becomes the coefficient of [latex]x^2[/latex] in the derivative and the power on [latex]x[/latex] in the derivative decreases by 1. The following theorem states that this power rule holds for all positive integer powers of [latex]x[/latex]. 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 [latex]x[/latex] and then to arbitrary powers of [latex]x[/latex]. Be aware, however, that this rule does not apply to functions in which a constant is raised to a variable power, such as [latex]f(x)=3^x[/latex].

The Power Rule

Let [latex]n[/latex] be a positive integer. If [latex]f(x)=x^n[/latex], then

[latex]f^{\prime}(x)=nx^{n-1}[/latex].

Alternatively, we may express this rule as

[latex]\frac{d}{dx}(x^n)=nx^{n-1}[/latex].

Proof

For [latex]f(x)=x^n[/latex] where [latex]n[/latex] is a positive integer, we have

[latex]f^{\prime}(x)=\underset{h\to 0}{\lim}\frac{(x+h)^n-x^n}{h}[/latex].
Since [latex](x+h)^n=x^n+nx^{n-1}h+\binom{n}{2}x^{n-2}h^2+\binom{n}{3}x^{n-3}h^3+\cdots+nxh^{n-1}+h^n[/latex],

we see that

[latex](x+h)^n-x^n=nx^{n-1}h+\binom{n}{2}x^{n-2}h^2+\binom{n}{3}x^{n-3}h^3+\cdots+nxh^{n-1}+h^n[/latex].

Next, divide both sides by [latex]h[/latex]:

[latex]\large \frac{(x+h)^n-x^n}{h}=\frac{nx^{n-1}h+\binom{n}{2}x^{n-2}h^2+\binom{n}{3}x^{n-3}h^3+\cdots+nxh^{n-1}+h^n}{h}[/latex].

Thus,

[latex]\frac{(x+h)^n-x^n}{h}=nx^{n-1}+\binom{n}{2}x^{n-2}h+\binom{n}{3}x^{n-3}h^2+\cdots+nxh^{n-2}+h^{n-1}[/latex].

Finally,

[latex]\begin{array}{ll}f^{\prime}(x) & =\underset{h\to 0}{\lim}(nx^{n-1}+\binom{n}{2}x^{n-2}h+\binom{n}{3}x^{n-3}h^2+\cdots+nxh^{n-1}+h^n) \\ & =nx^{n-1} \end{array} _\blacksquare[/latex]

Applying the Power Rule

Find the derivative of the function [latex]f(x)=x^{10}[/latex] by applying the power rule.

Answer:

Using the power rule with [latex]n=10[/latex], we obtain

[latex]f^{\prime}(x)=10x^{10-1}=10x^9[/latex].

Find the derivative of [latex]f(x)=x^7[/latex].

Answer:

[latex]f^{\prime}(x)=7x^6[/latex]

Hint

Use the power rule with [latex]n=7[/latex].

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.

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].

[latex]\frac{d}{dx}(f(x)+g(x))=\frac{d}{dx}(f(x))+\frac{d}{dx}(g(x))[/latex];

that is,

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].

[latex]\frac{d}{dx}(f(x)-g(x))=\frac{d}{dx}(f(x))-\frac{d}{dx}(g(x))[/latex];

that is,

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]c[/latex] multiplied by a function [latex]f[/latex] is the same as the constant multiplied by the derivative:

[latex]\frac{d}{dx}(kf(x))=k\frac{d}{dx}(f(x))[/latex];

that is,

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

[latex]j^{\prime}(x)=\underset{h\to 0}{\lim}\frac{j(x+h)-j(x)}{h}[/latex].

By substituting [latex]j(x+h)=f(x+h)+g(x+h)[/latex] and [latex]j(x)=f(x)+g(x)[/latex], we obtain

[latex]j^{\prime}(x)=\underset{h\to 0}{\lim}\frac{(f(x+h)+g(x+h))-(f(x)+g(x))}{h}[/latex].

Rearranging and regrouping the terms, we have

[latex]j^{\prime}(x)=\underset{h\to 0}{\lim}(\frac{f(x+h)-f(x)}{h}+\frac{g(x+h)-g(x)}{h})[/latex].

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

[latex]j^{\prime}(x)=\underset{h\to 0}{\lim}(\frac{f(x+h)-f(x)}{h})+\underset{h\to 0}{\lim}(\frac{g(x+h)-g(x)}{h})=f^{\prime}(x)+g^{\prime}(x) \, _\blacksquare[/latex]

Applying the Constant Multiple Rule

Find the derivative of [latex]g(x)=3x^2[/latex] and compare it to the derivative of [latex]f(x)=x^2[/latex].

Answer:

We use the power rule directly:

[latex]g^{\prime}(x)=\frac{d}{dx}(3x^2)=3\frac{d}{dx}(x^2)=3(2x)=6x[/latex].

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 3 times the derivative of [latex]f(x)[/latex]. This relationship is illustrated in (Figure).

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).
The derivative of [latex]g(x)[/latex] is 3 times the derivative of [latex]f(x)[/latex].

Applying Basic Derivative Rules

Find the derivative of [latex]f(x)=2x^5+7[/latex].

Answer:

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 derivative of [latex]f(x)=2x^3-6x^2+3[/latex].

Answer:

[latex]f^{\prime}(x)=6x^2-12x[/latex].

Hint

Use the preceding example as a guide.

Finding the Equation of a Tangent Line

Find the equation of the line tangent to the graph of [latex]f(x)=x^2-4x+6[/latex] at [latex]x=1[/latex].

Answer:

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 1 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].

Find the equation of the line tangent to the graph of [latex]f(x)=3x^2-11[/latex] at [latex]x=2[/latex]. Use the point-slope form.

Answer:

[latex]y=12x-23[/latex]

Hint

Use the preceding example as a guide.

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 [latex]f(x)=x^2[/latex], whose derivative is [latex]f^{\prime}(x)=2x[/latex] and not [latex]\frac{d}{dx}(x)\cdot \frac{d}{dx}(x)=1\cdot 1=1[/latex].

Product Rule

Let [latex]f(x)[/latex] and [latex]g(x)[/latex] be differentiable functions. Then

[latex]\frac{d}{dx}(f(x)g(x))=\frac{d}{dx}(f(x))\cdot g(x)+\frac{d}{dx}(g(x))\cdot f(x)[/latex].

That is,

if [latex]j(x)=f(x)g(x)[/latex] then [latex]j^{\prime}(x)=f^{\prime}(x)g(x)+g^{\prime}(x)f(x)[/latex].

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.

Proof

We begin by assuming that [latex]f(x)[/latex] and [latex]g(x)[/latex] are differentiable functions. At a key point in this proof we need to use the fact that, since [latex]g(x)[/latex] is differentiable, it is also continuous. In particular, we use the fact that since [latex]g(x)[/latex] is continuous, [latex]\underset{h\to 0}{\lim}g(x+h)=g(x)[/latex].

By applying the limit definition of the derivative to [latex]j(x)=f(x)g(x)[/latex], we obtain

[latex]j^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)g(x+h)-f(x)g(x)}{h}[/latex].

By adding and subtracting [latex]f(x)g(x+h)[/latex] in the numerator, we have

[latex]j^{\prime}(x)=\underset{h\to 0}{\lim}\frac{f(x+h)g(x+h)-f(x)g(x+h)+f(x)g(x+h)-f(x)g(x)}{h}[/latex].

After breaking apart this quotient and applying the sum law for limits, the derivative becomes

[latex]j^{\prime}(x)=\underset{h\to 0}{\lim}(\frac{f(x+h)g(x+h)-f(x)g(x+h)}{h})+\underset{h\to 0}{\lim}(\frac{f(x)g(x+h)-f(x)g(x)}{h})[/latex].

Rearranging, we obtain

[latex]j^{\prime}(x)=\underset{h\to 0}{\lim}(\frac{f(x+h)-f(x)}{h}\cdot g(x+h))+\underset{h\to 0}{\lim}(\frac{g(x+h)-g(x)}{h}\cdot f(x))[/latex].

By using the continuity of [latex]g(x)[/latex], the definition of the derivatives of [latex]f(x)[/latex] and [latex]g(x)[/latex], and applying the limit laws, we arrive at the product rule,

[latex]j^{\prime}(x)=f^{\prime}(x)g(x)+g^{\prime}(x)f(x) \, _\blacksquare[/latex]

Applying the Product Rule to Constant Functions

For [latex]j(x)=f(x)g(x)[/latex], use the product rule to find [latex]j^{\prime}(2)[/latex] if [latex]f(2)=3, \, f^{\prime}(2)=-4, \, g(2)=1[/latex], and [latex]g^{\prime}(2)=6[/latex].

Answer:

Since [latex]j(x)=f(x)g(x), \, j^{\prime}(x)=f^{\prime}(x)g(x)+g^{\prime}(x)f(x)[/latex], and hence

[latex]j^{\prime}(2)=f^{\prime}(2)g(2)+g^{\prime}(2)f(2)=(-4)(1)+(6)(3)=14[/latex].

Applying the Product Rule to Binomials

For [latex]j(x)=(x^2+2)(3x^3-5x)[/latex], find [latex]j^{\prime}(x)[/latex] by applying the product rule. Check the result by first finding the product and then differentiating.

Answer:

If we set [latex]f(x)=x^2+2[/latex] and [latex]g(x)=3x^3-5x[/latex], then [latex]f^{\prime}(x)=2x[/latex] and [latex]g^{\prime}(x)=9x^2-5[/latex]. Thus,

[latex]j^{\prime}(x)=f^{\prime}(x)g(x)+g^{\prime}(x)f(x)=(2x)(3x^3-5x)+(9x^2-5)(x^2+2)[/latex].

Simplifying, we have

[latex]j^{\prime}(x)=15x^4+3x^2-10[/latex].

To check, we see that [latex]j(x)=3x^5+x^3-10x[/latex] and, consequently, [latex]j^{\prime}(x)=15x^4+3x^2-10[/latex].

Use the product rule to obtain the derivative of [latex]j(x)=2x^5(4x^2+x)[/latex].

Answer:

[latex]j^{\prime}(x)=10x^4(4x^2+x)+(8x+1)(2x^5)=56x^6+12x^5[/latex].

Hint

Set [latex]f(x)=2x^5[/latex] and [latex]g(x)=4x^2+x[/latex] and use the preceding example as a guide.

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

[latex]\frac{d}{dx}(x^2)=2x[/latex], which is not the same as [latex]\large \frac{\frac{d}{dx}(x^3)}{\frac{d}{dx}(x)} \normalsize =\frac{3x^2}{1}=3x^2[/latex].

The Quotient Rule

Let [latex]f(x)[/latex] and [latex]g(x)[/latex] be differentiable functions. Then

[latex]\frac{d}{dx}\Big(\frac{f(x)}{g(x)}\Big)=\large\frac{\frac{d}{dx}(f(x))\cdot g(x)-\frac{d}{dx}(g(x))\cdot f(x)}{(g(x))^2}[/latex].

That is,

if [latex]j(x)=\frac{f(x)}{g(x)}[/latex], then [latex]j^{\prime}(x)=\large \frac{f^{\prime}(x)g(x)-g^{\prime}(x)f(x)}{(g(x))^2}[/latex].

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.

Applying the Quotient Rule

Use the quotient rule to find the derivative of [latex]k(x)=\frac{5x^2}{4x+3}[/latex].

Answer:

Let [latex]f(x)=5x^2[/latex] and [latex]g(x)=4x+3[/latex]. Thus, [latex]f^{\prime}(x)=10x[/latex] and [latex]g^{\prime}(x)=4[/latex]. Substituting into the quotient rule, we have

[latex]k^{\prime}(x)=\frac{f^{\prime}(x)g(x)-g^{\prime}(x)f(x)}{(g(x))^2}=\frac{10x(4x+3)-4(5x^2)}{(4x+3)^2}[/latex].

Simplifying, we obtain

[latex]k^{\prime}(x)=\frac{20x^2+30x}{(4x+3)^2}[/latex].

Find the derivative of [latex]h(x)=\frac{3x+1}{4x-3}[/latex].

Answer:

[latex]k^{\prime}(x)=-\frac{13}{(4x-3)^2}[/latex].

Hint

Apply the quotient rule with [latex]f(x)=3x+1[/latex] and [latex]g(x)=4x-3[/latex].

It is now possible to use the quotient rule to extend the power rule to find derivatives of functions of the form [latex]x^k[/latex] where [latex]k[/latex] is a negative integer.

Extended Power Rule

If [latex]k[/latex] is a negative integer, then

[latex]\frac{d}{dx}(x^k)=kx^{k-1}[/latex].

Proof

If [latex]k[/latex] is a negative integer, we may set [latex]n=−k[/latex], so that [latex]n[/latex] is a positive integer with [latex]k=−n[/latex]. Since for each positive integer [latex]n, \, x^{−n}=\frac{1}{x^n}[/latex], we may now apply the quotient rule by setting [latex]f(x)=1[/latex] and [latex]g(x)=x^n[/latex]. In this case, [latex]f^{\prime}(x)=0[/latex] and [latex]g^{\prime}(x)=nx^{n-1}[/latex]. Thus,
[latex]\frac{d}{dx}(x^{−n})=\frac{0(x^n)-1(nx^{n-1})}{(x^n)^2}[/latex].

Simplifying, we see that

[latex]\frac{d}{dx}(x^{−n})=\frac{−nx^{n-1}}{x^{2n}}=−nx^{(n-1)-2n}=−nx^{−n-1}[/latex].

Finally, observe that since [latex]k=−n[/latex], by substituting we have

[latex]\frac{d}{dx}(x^k)=kx^{k-1}. \, _\blacksquare[/latex]

Using the Extended Power Rule

Find [latex]\frac{d}{dx}(x^{-4})[/latex].

Answer:

By applying the extended power rule with [latex]k=-4[/latex], we obtain

[latex]\frac{d}{dx}(x^{-4})=-4x^{-4-1}=-4x^{-5}[/latex].

Using the Extended Power Rule and the Constant Multiple Rule

Use the extended power rule and the constant multiple rule to find [latex]f(x)=\frac{6}{x^2}[/latex].

Answer:

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 [latex]f(x)=6x^{-2}[/latex].

[latex]\begin{array}{lllll}f^{\prime}(x) & =\frac{d}{dx}(\frac{6}{x^2})=\frac{d}{dx}(6x^{-2}) & & & \text{Rewrite} \, \frac{6}{x^2} \, \text{as} \, 6x^{-2}. \\ & =6\frac{d}{dx}(x^{-2}) & & & \text{Apply the constant multiple rule.} \\ & =6(-2x^{-3}) & & & \text{Use the extended power rule to differentiate} \, x^{-2}. \\ & =-12x^{-3} & & & \text{Simplify.} \end{array}[/latex]

Find the derivative of [latex]g(x)=\frac{1}{x^7}[/latex] using the extended power rule.

Answer:

[latex]g^{\prime}(x)=-7x^{-8}[/latex].

Hint

Rewrite [latex]g(x)=\frac{1}{x^7}=x^{-7}[/latex]. Use the extended power rule with [latex]k=-7[/latex].

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.

Combining Differentiation Rules

For [latex]k(x)=3h(x)+x^2g(x)[/latex], find [latex]k^{\prime}(x)[/latex].

Answer:

Finding this derivative requires the sum rule, the constant multiple rule, and the product rule.

[latex]\begin{array}{lllll}k^{\prime}(x) & =\frac{d}{dx}(3h(x)+x^2g(x))=\frac{d}{dx}(3h(x))+\frac{d}{dx}(x^2g(x)) & & & \text{Apply the sum rule.} \\ & =3\frac{d}{dx}(h(x))+(\frac{d}{dx}(x^2)g(x)+\frac{d}{dx}(g(x))x^2) & & & \begin{array}{l}\text{Apply the constant multiple rule to} \\ \text{differentiate} \, 3h(x) \, \text{and the product} \\ \text{rule to differentiate} \, x^2g(x). \end{array} \\ & =3h^{\prime}(x)+2xg(x)+g^{\prime}(x)x^2 & & & \end{array}[/latex]

Extending the Product Rule

For [latex]k(x)=f(x)g(x)h(x)[/latex], express [latex]k^{\prime}(x)[/latex] in terms of [latex]f(x), \, g(x), \, h(x)[/latex], and their derivatives.

Answer:

We can think of the function [latex]k(x)[/latex] as the product of the function [latex]f(x)g(x)[/latex] and the function [latex]h(x)[/latex]. That is, [latex]k(x)=(f(x)g(x))\cdot h(x)[/latex]. Thus,

[latex]\begin{array}{lllll}k^{\prime}(x) & =\frac{d}{dx}(f(x)g(x))\cdot h(x)+\frac{d}{dx}(h(x))\cdot (f(x)g(x)) & & & \begin{array}{l}\text{Apply the product rule to the product} \\ \text{of} \, f(x)g(x) \, \text{and} \, h(x). \end{array} \\ & =(f^{\prime}(x)g(x)+g^{\prime}(x)f(x))h(x)+h^{\prime}(x)f(x)g(x) & & & \text{Apply the product rule to} \, f(x)g(x). \\ & =f^{\prime}(x)g(x)h(x)+f(x)g^{\prime}(x)h(x)+f(x)g(x)h^{\prime}(x). & & & \text{Simplify.} \end{array}[/latex]

Combining the Quotient Rule and the Product Rule

For [latex]h(x)=\large \frac{2x^3k(x)}{3x+2}[/latex], find [latex]h^{\prime}(x)[/latex].

Answer:

This procedure is typical for finding the derivative of a rational function.

[latex]\begin{array}{lllll}h^{\prime}(x) & =\large \frac{\frac{d}{dx}(2x^3k(x))\cdot (3x+2)-\frac{d}{dx}(3x+2)\cdot (2x^3k(x))}{(3x+2)^2} & & & \text{Apply the quotient rule.} \\ & =\large \frac{(6x^2k(x)+k^{\prime}(x)\cdot 2x^3)(3x+2)-3(2x^3k(x))}{(3x+2)^2} & & & \begin{array}{l}\text{Apply the product rule to find} \\ \frac{d}{dx}(2x^3k(x)). \, \text{Use} \, \frac{d}{dx}(3x+2)=3. \end{array} \\ & =\large \frac{-6x^3k(x)+18x^3k(x)+12x^2k(x)+6x^4k^{\prime}(x)+4x^3k^{\prime}(x)}{(3x+2)^2} & & & \text{Simplify.} \end{array}[/latex]

Find [latex]\frac{d}{dx}(3f(x)-2g(x))[/latex].

Answer:

[latex]3f^{\prime}(x)-2g^{\prime}(x)[/latex].

Hint

Apply the difference rule and the constant multiple rule.

Determining Where a Function Has a Horizontal Tangent

Determine the values of [latex]x[/latex] for which [latex]f(x)=x^3-7x^2+8x+1[/latex] has a horizontal tangent line.

Answer:

To find the values of [latex]x[/latex] for which [latex]f(x)[/latex] has a horizontal tangent line, we must solve [latex]f^{\prime}(x)=0[/latex]. Since

[latex]f^{\prime}(x)=3x^2-14x+8=(3x-2)(x-4)[/latex],

we must solve [latex](3x-2)(x-4)=0[/latex]. Thus we see that the function has horizontal tangent lines at [latex]x=\frac{2}{3}[/latex] and [latex]x=4[/latex] as shown in the following graph.

The graph shows f(x) = x3 – 7x2 + 8x + 1, and the tangent lines are shown as x = 2/3 and x = 4. This function has horizontal tangent lines at [latex]x = 2/3[/latex] and [latex]x = 4[/latex].

Finding a Velocity

The position of an object on a coordinate axis at time [latex]t[/latex] is given by [latex]s(t)=\frac{t}{t^2+1}[/latex]. What is the initial velocity of the object?

Answer:

Since the initial velocity is [latex]v(0)=s^{\prime}(0)[/latex], begin by finding [latex]s^{\prime}(t)[/latex] by applying the quotient rule:

[latex]s^{\prime}(t)=\frac{1(t^2+1)-2t(t)}{(t^2+1)^2}=\frac{1-t^2}{(t^2+1)^2}[/latex].

After evaluating, we see that [latex]v(0)=1[/latex].

Find the value(s) of [latex]x[/latex] for which the line tangent to the graph of [latex]f(x)=4x^2-3x+2[/latex] is parallel to the line [latex]y=2x+3[/latex].

Answer:

[latex]\frac{5}{8}[/latex]

Hint

Solve the equation [latex]f^{\prime}(x)=2[/latex].

Student 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)).

A photo of a grandstand next to a straightaway of a race track. Figure 1. The grandstand next to a straightaway of the Circuit de Barcelona-Catalunya race track, located where the spectators are not in danger.
**********

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 [latex]f(x)=x^3+3x^2+x[/latex] ((Figure)). 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 [latex](-1.9,2.8)[/latex]. We want to determine whether this location puts the spectators in danger if a driver loses control of the car.

This figure has two parts labeled a and b. Figure a shows the graph of f(x) = x3 + 3x2 + x. Figure b shows the same graph but this time with two boxes on it. The first box appears along the left-hand side of the graph straddling the x-axis roughly parallel to f(x). The second box appears a little higher, also roughly parallel to f(x), with its front corner located at (−1.9, 2.8). Note that this corner is roughly in line with the direct path of the track before it started to turn. Figure 2. (a) One section of the racetrack can be modeled by the function [latex]f(x)=x^3+3x^2+x[/latex]. (b) The front corner of the grandstand is located at [latex](-1.9,2.8)[/latex].
  1. 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 [latex](x,y)[/latex] coordinates of this point near the turn.
  2. Find the equation of the tangent line to the curve at this point.
  3. To determine whether the spectators are in danger in this scenario, find the [latex]x[/latex]-coordinate of the point where the tangent line crosses the line [latex]y=2.8[/latex]. Is this point safely to the right of the grandstand? Or are the spectators in danger?
  4. What if a driver loses control earlier than the physicists project? Suppose a driver loses control at the point [latex](-2.5,0.625)[/latex]. What is the slope of the tangent line at this point?
  5. If a driver loses control as described in part 4, are the spectators safe?
  6. Should you proceed with the current design for the grandstand, or should the grandstands be moved?

Key Concepts

  • The derivative of a constant function is zero.
  • The derivative of a power function is a function in which the power on [latex]x[/latex] becomes the coefficient of the term and the power on [latex]x[/latex] in the derivative decreases by 1.
  • The derivative of a constant [latex]c[/latex] multiplied by a function [latex]f[/latex] is the same as the constant multiplied by the derivative.
  • 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].
  • 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].
  • 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.

For the following exercises, find [latex]f^{\prime}(x)[/latex] for each function.

1. [latex]f(x)=x^7+10[/latex]

2. [latex]f(x)=5x^3-x+1[/latex]

Answer:

[latex]f^{\prime}(x)=15x^2-1[/latex]

3. [latex]f(x)=4x^2-7x[/latex]

4. [latex]f(x)=8x^4+9x^2-1[/latex]

Answer:

[latex]f^{\prime}(x)=32x^3+18x[/latex]

5. [latex]f(x)=x^4+\frac{2}{x}[/latex]

6. [latex]f(x)=3x(18x^4+\frac{13}{x+1})[/latex]

Answer:

[latex]f^{\prime}(x)=270x^4+\frac{39}{(x+1)^2}[/latex]

7. [latex]f(x)=(x+2)(2x^2-3)[/latex]

8. [latex]f(x)=x^2(\frac{2}{x^2}+\frac{5}{x^3})[/latex]

Answer:

[latex]f^{\prime}(x)=\frac{-5}{x^2}[/latex]

9. [latex]f(x)=\frac{x^3+2x^2-4}{3}[/latex]

10. [latex]f(x)=\frac{4x^3-2x+1}{x^2}[/latex]

Answer:

[latex]f^{\prime}(x)=\frac{4x^4+2x^2-2x}{x^4}[/latex]

11. [latex]f(x)=\frac{x^2+4}{x^2-4}[/latex]

12. [latex]f(x)=\frac{x+9}{x^2-7x+1}[/latex]

Answer:

[latex]f^{\prime}(x)=\frac{−x^2-18x+64}{(x^2-7x+1)^2}[/latex]

For the following exercises, find the equation of the tangent line [latex]T(x)[/latex] to the graph of the given function at the indicated point. Use a graphing calculator to graph the function and the tangent line.

13. [T] [latex]y=3x^2+4x+1[/latex] at [latex](0,1)[/latex]

14. [T] [latex]y=2\sqrt{x}+1[/latex] at [latex](4,5)[/latex]

Answer: The graph y is a slightly curving line with y intercept at 1. The line T(x) is straight with y intercept 3 and slope 1/2. [latex]T(x)=\frac{1}{2}x+3[/latex]

15. [T] [latex]y=\frac{2x}{x-1}[/latex] at [latex](-1,1)[/latex]

16. [T] [latex]y=\frac{2}{x}-\frac{3}{x^2}[/latex] at [latex](1,-1)[/latex]

Answer: The graph y is a two crescents with the crescent in the third quadrant sloping gently from (−3, −1) to (−1, −5) and the other crescent sloping more sharply from (0.8, −5) to (3, 0.2). The straight line T(x) is drawn through (0, −5) with slope 4. [latex]T(x)=4x-5[/latex]

For the following exercises, assume that [latex]f(x)[/latex] and [latex]g(x)[/latex] are both differentiable functions for all [latex]x[/latex]. Find the derivative of each of the functions [latex]h(x)[/latex].

17. [latex]h(x)=4f(x)+\frac{g(x)}{7}[/latex]

18. [latex]h(x)=x^3f(x)[/latex]

Answer:

[latex]h^{\prime}(x)=3x^2f(x)+x^3f^{\prime}(x)[/latex]

19. [latex]h(x)=\frac{f(x)g(x)}{2}[/latex]

20. [latex]h(x)=\frac{3f(x)}{g(x)+2}[/latex]

Answer:

[latex]h^{\prime}(x)=\frac{3f^{\prime}(x)(g(x)+2)-3f(x)g^{\prime}(x)}{(g(x)+2)^2}[/latex]

For the following exercises, assume that [latex]f(x)[/latex] and [latex]g(x)[/latex] are both differentiable functions with values as given in the following table. Use the following table to calculate the following derivatives.

[latex]x[/latex] 1 2 3 4
[latex]f(x)[/latex] 3 5 -2 0
[latex]g(x)[/latex] 2 3 -4 6
[latex]f^{\prime}(x)[/latex] -1 7 8 -3
[latex]g^{\prime}(x)[/latex] 4 1 2 9

21. Find [latex]h^{\prime}(1)[/latex] if [latex]h(x)=xf(x)+4g(x)[/latex].

22. Find [latex]h^{\prime}(2)[/latex] if [latex]h(x)=\frac{f(x)}{g(x)}[/latex].

Answer:

[latex]\frac{16}{9}[/latex]

23. Find [latex]h^{\prime}(3)[/latex] if [latex]h(x)=2x+f(x)g(x)[/latex].

24. Find [latex]h^{\prime}(4)[/latex] if [latex]h(x)=\frac{1}{x}+\frac{g(x)}{f(x)}[/latex].

Answer:

Undefined

For the following exercises, use the following figure to find the indicated derivatives, if they exist.

Two functions are graphed: f(x) and g(x). The function f(x) starts at (−1, 5) and decreases linearly to (3, 1) at which point it increases linearly to (5, 3). The function g(x) starts at the origin, increases linearly to (2.5, 2.5), and then remains constant at y = 2.5.

25. Let [latex]h(x)=f(x)+g(x)[/latex]. Find

  1. [latex]h^{\prime}(1)[/latex]
  2. [latex]h^{\prime}(3)[/latex]
  3. [latex]h^{\prime}(4)[/latex]

26. Let [latex]h(x)=f(x)g(x)[/latex]. Find

  1. [latex]h^{\prime}(1)[/latex]
  2. [latex]h^{\prime}(3)[/latex]
  3. [latex]h^{\prime}(4)[/latex]

Answer:

a. 2 b. does not exist c. 2.5

27. Let [latex]h(x)=\frac{f(x)}{g(x)}[/latex]. Find

  1. [latex]h^{\prime}(1)[/latex]
  2. [latex]h^{\prime}(3)[/latex]
  3. [latex]h^{\prime}(4)[/latex]

For the following exercises,

  1. Evaluate [latex]f^{\prime}(a)[/latex], and
  2. Graph the function [latex]f(x)[/latex] and the tangent line at [latex]x=a[/latex].

28. [T] [latex]f(x)=2x^3+3x-x^2, \, a=2[/latex]

Answer:

a. 23 b. [latex]y=23x-28[/latex]

The graph is a slightly deformed cubic function passing through the origin. The tangent line is drawn through (0, −28) with slope 23.

29. [T] [latex]f(x)=\frac{1}{x}-x^2, \, a=1[/latex]

30. [T] [latex]f(x)=x^2-x^{12}+3x+2, \, a=0[/latex]

Answer:

a. 3 b. [latex]y=3x+2[/latex]

The graph starts in the third quadrant, increases quickly and passes through the x axis near −0.9, then increases at a lower rate, passes through (0, 2), increases to (1, 5), and then decreases quickly and passes through the x axis near 1.2.

31. [T] [latex]f(x)=\frac{1}{x}-x^{2/3}, \, a=-1[/latex]

32. Find the equation of the tangent line to the graph of [latex]f(x)=2x^3+4x^2-5x-3[/latex] at [latex]x=-1[/latex].

Answer:

[latex]y=-7x-3[/latex]

33. Find the equation of the tangent line to the graph of [latex]f(x)=x^2+\frac{4}{x}-10[/latex] at [latex]x=8[/latex].

34. Find the equation of the tangent line to the graph of [latex]f(x)=(3x-x^2)(3-x-x^2)[/latex] at [latex]x=1[/latex].

Answer:

[latex]y=-5x+7[/latex]

35. Find the point on the graph of [latex]f(x)=x^3[/latex] such that the tangent line at that point has an [latex]x[/latex] intercept of 6.

36. Find the equation of the line passing through the point [latex]P(3,3)[/latex] and tangent to the graph of [latex]f(x)=\frac{6}{x-1}[/latex].

Answer:

[latex]y=-\frac{3}{2}x+\frac{15}{2}[/latex]

37. Determine all points on the graph of [latex]f(x)=x^3+x^2-x-1[/latex] for which the slope of the tangent line is

  1. horizontal
  2. -1.

38. Find a quadratic polynomial such that [latex]f(1)=5, \, f^{\prime}(1)=3[/latex], and [latex]f''(1)=-6[/latex].

Answer: [latex]y=-3x^2+9x-1[/latex]

39. A car driving along a freeway with traffic has traveled [latex]s(t)=t^3-6t^2+9t[/latex] meters in [latex]t[/latex] seconds.

  1. Determine the time in seconds when the velocity of the car is 0.
  2. Determine the acceleration of the car when the velocity is 0.

40. [T] A herring swimming along a straight line has traveled [latex]s(t)=\frac{t^2}{t^2+2}[/latex] feet in [latex]t[/latex] seconds.

Determine the velocity of the herring when it has traveled 3 seconds.

Answer:

[latex]\frac{12}{121}[/latex] or 0.0992 ft/s

41. The population in millions of arctic flounder in the Atlantic Ocean is modeled by the function [latex]P(t)=\frac{8t+3}{0.2t^2+1}[/latex], where [latex]t[/latex] is measured in years.

  1. Determine the initial flounder population.
  2. Determine [latex]P^{\prime}(10)[/latex] and briefly interpret the result.

42. [T] The concentration of antibiotic in the bloodstream [latex]t[/latex] hours after being injected is given by the function [latex]C(t)=\frac{2t^2+t}{t^3+50}[/latex], where [latex]C[/latex] is measured in milligrams per liter of blood.

  1. Find the rate of change of [latex]C(t)[/latex].
  2. Determine the rate of change for [latex]t=8, \, 12, \, 24[/latex], and [latex]36[/latex].
  3. Briefly describe what seems to be occurring as the number of hours increases.

Answer:

a. [latex]\frac{-2t^4-2t^3+200t+50}{(t^3+50)^2}[/latex] b. -0.02395 mg/L-hr, −0.01344 mg/L-hr, −0.003566 mg/L-hr, −0.001579 mg/L-hr c. The rate at which the concentration of drug in the bloodstream decreases is slowing to 0 as time increases.

43. A book publisher has a cost function given by [latex]C(x)=\frac{x^3+2x+3}{x^2}[/latex], where [latex]x[/latex] is the number of copies of a book in thousands and [latex]C[/latex] is the cost, per book, measured in dollars. Evaluate [latex]C^{\prime}(2)[/latex] and explain its meaning.

44. [T] According to Newton’s law of universal gravitation, the force [latex]F[/latex] between two bodies of constant mass [latex]m_1[/latex] and [latex]m_2[/latex] is given by the formula [latex]F=\frac{G m_1 m_2}{d^2}[/latex], where [latex]G[/latex] is the gravitational constant and [latex]d[/latex] is the distance between the bodies.

  1. Suppose that [latex]G, \, m_1[/latex], and [latex]m_2[/latex] are constants. Find the rate of change of force [latex]F[/latex] with respect to distance [latex]d[/latex].
  2. Find the rate of change of force [latex]F[/latex] with gravitational constant [latex]G=6.67 \times 10^{-11} \, \text{Nm}^2/\text{kg}^2[/latex], on two bodies 10 meters apart, each with a mass of 1000 kilograms.

Answer:

a. [latex]F^{\prime}(d)=\frac{-2Gm_1 m_2}{d^3}[/latex] b. [latex]-1.33 \times 10^{-7}[/latex] N/m

Glossary

constant multiple rule
the derivative of a constant [latex]c[/latex] multiplied by a function [latex]f[/latex] is the same as the constant multiplied by the derivative: [latex]\frac{d}{dx}(cf(x))=cf^{\prime}(x)[/latex]
constant rule
the derivative of a constant function is zero: [latex]\frac{d}{dx}(c)=0[/latex], where [latex]c[/latex] is a constant
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]: [latex]\frac{d}{dx}(f(x)-g(x))=f^{\prime}(x)-g^{\prime}(x)[/latex]
power rule
the derivative of a power function is a function in which the power on [latex]x[/latex] becomes the coefficient of the term and the power on [latex]x[/latex] in the derivative decreases by 1: If [latex]n[/latex] is an integer, then [latex]\frac{d}{dx}(x^n)=nx^{n-1}[/latex]
product rule
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: [latex]\frac{d}{dx}(f(x)g(x))=f^{\prime}(x)g(x)+g^{\prime}(x)f(x)[/latex]
quotient rule
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: [latex]\frac{d}{dx}(\frac{f(x)}{g(x)})=\frac{f^{\prime}(x)g(x)-g^{\prime}(x)f(x)}{(g(x))^2}[/latex]
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]: [latex]\frac{d}{dx}(f(x)+g(x))=f^{\prime}(x)+g^{\prime}(x)[/latex]

Licenses & Attributions

CC licensed content, Shared previously