## Learning Objectives

- 3.3.1 State the constant, constant multiple, and power rules.
- 3.3.2 Apply the sum and difference rules to combine derivatives.
- 3.3.3 Use the product rule for finding the derivative of a product of functions.
- 3.3.4 Use the quotient rule for finding the derivative of a quotient of functions.
- 3.3.5 Extend the power rule to functions with negative exponents.
- 3.3.6 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}\left(\sqrt{x}\right)=\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}\left(\sqrt[3]{x}\right)$ 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 $f\left(x\right)=c$ and $g\left(x\right)={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.

### The Constant Rule

We first apply the limit definition of the derivative to find the derivative of the constant function, $f\left(x\right)=c.$ For this function, both $f\left(x\right)=c$ and $f\left(x+h\right)=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.2

### The Constant Rule

Let $c$ be a constant.

If $f\left(x\right)=c,$ then ${f}^{\prime}(x)=0.$

Alternatively, we may express this rule as

## Example 3.17

### Applying the Constant Rule

Find the derivative of $f\left(x\right)=8.$

### Solution

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

## Checkpoint 3.11

Find the derivative of $g\left(x\right)=\mathrm{-3}.$

## 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}\left({x}^{n}\right).$ We continue our examination of derivative formulas by differentiating power functions of the form $f\left(x\right)={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, note that the technique used in this case is essentially the same as the technique used to prove the general case.

## Example 3.18

### Differentiating ${x}^{3}$

Find $\frac{d}{dx}\left({x}^{3}\right).$

### Solution

## Checkpoint 3.12

Find $\frac{d}{dx}\left({x}^{4}\right).$

As we shall see, the procedure for finding the derivative of the general form $f\left(x\right)={x}^{n}$ is very similar. Although it is often unwise to draw general conclusions from specific examples, we note that when we differentiate $f\left(x\right)={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.3

### The Power Rule

Let $n$ be a positive integer. If $f\left(x\right)={x}^{n},$ then

Alternatively, we may express this rule as

### Proof

For $f\left(x\right)={x}^{n}$ where $n$ is a positive integer, we have

we see that

Next, divide both sides by *h*:

Thus,

Finally,

□

## Example 3.19

### Applying the Power Rule

Find the derivative of the function $f\left(x\right)={x}^{10}$ by applying the power rule.

### Solution

Using the power rule with $n=10,$ we obtain

## Checkpoint 3.13

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

## 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(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\left(x\right)$ and $g\left(x\right),$ we set $j\left(x\right)=f\left(x\right)+g\left(x\right).$ Using the limit definition of the derivative we have

By substituting $j\left(x+h\right)=f\left(x+h\right)+g\left(x+h\right)$ and $j\left(x\right)=f\left(x\right)+g\left(x\right),$ 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.20

### Applying the Constant Multiple Rule

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

### Solution

We use the power rule directly:

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

## Example 3.21

### Applying Basic Derivative Rules

Find the derivative of $f\left(x\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:

## Checkpoint 3.14

Find the derivative of $f\left(x\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(x\right)={x}^{2}-4x+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

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

so the slope of the tangent line is ${f}^{\prime}\left(1\right)=\mathrm{-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.15

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

## 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\left(x\right)={x}^{2},$ whose derivative is ${f}^{\prime}\left(x\right)=2x$ and not $\frac{d}{dx}\left(x\right)\xb7\frac{d}{dx}\left(x\right)=1\xb71=1.$

## Theorem 3.5

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

### Proof

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

By applying the limit definition of the derivative to $j\left(x\right)=f\left(x\right)g\left(x\right),$ we obtain

By adding and subtracting $f\left(x\right)g(x+h)$ in the numerator, we have

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

Rearranging, we obtain

By using the continuity of $g\left(x\right),$ the definition of the derivatives of $f(x)$ and $g(x),$ and applying the limit laws, we arrive at the product rule,

□

## Example 3.23

### Applying the Product Rule to Functions at a Point

For $j\left(x\right)=f\left(x\right)g\left(x\right),$ use the product rule to find ${j}^{\prime}(2)$ if $f\left(2\right)=3,{f}^{\prime}\left(2\right)=\mathrm{-4},g\left(2\right)=1,$ and ${g}^{\prime}\left(2\right)=6.$

### Solution

Since $j\left(x\right)=f\left(x\right)g\left(x\right),{j}^{\prime}\left(x\right)={f}^{\prime}\left(x\right)g\left(x\right)+{g}^{\prime}\left(x\right)f(x),$ and hence

## Example 3.24

### Applying the Product Rule to Binomials

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

### Solution

If we set $f\left(x\right)={x}^{2}+2$ and $g\left(x\right)=3{x}^{3}-5x,$ then ${f}^{\prime}\left(x\right)=2x$ and ${g}^{\prime}\left(x\right)=9{x}^{2}-5.$ Thus,

Simplifying, we have

To check, we see that $j\left(x\right)=3{x}^{5}+{x}^{3}-10x$ and, consequently, ${j}^{\prime}\left(x\right)=15{x}^{4}+3{x}^{2}-10.$

## Checkpoint 3.16

Use the product rule to obtain the derivative of $j\left(x\right)=2{x}^{5}\left(4{x}^{2}+x\right).$

## 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.6

### 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.25

### Applying the Quotient Rule

Use the quotient rule to find the derivative of $k\left(x\right)=\frac{5{x}^{2}}{4x+3}.$

### Solution

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

Simplifying, we obtain

## Checkpoint 3.17

Find the derivative of $h\left(x\right)=\frac{3x+1}{4x-3}.$

It is now possible to use the quotient rule to extend the power rule to find derivatives of functions of the form ${x}^{k}$ where $k$ is a negative integer.

## Theorem 3.7

### Extended Power Rule

If $k$ is a negative integer, then

### Proof

If $k$ is a negative integer, we may set $n=\text{\u2212}k,$ so that *n* is a positive integer with $k=\text{\u2212}n.$ Since for each positive integer $n,{x}^{\text{\u2212}n}=\frac{1}{{x}^{n}},$ we may now apply the quotient rule by setting $f\left(x\right)=1$ and $g\left(x\right)={x}^{n}.$ In this case, ${f}^{\prime}\left(x\right)=0$ and ${g}^{\prime}\left(x\right)=n{x}^{n-1}.$ Thus,

Simplifying, we see that

Finally, observe that since $k=\text{\u2212}n,$ by substituting we have

□

## Example 3.26

### Using the Extended Power Rule

Find $\frac{d}{dx}\left({x}^{\mathrm{-4}}\right).$

### Solution

By applying the extended power rule with $k=\mathrm{-4},$ we obtain

## Example 3.27

### Using the Extended Power Rule and the Constant Multiple Rule

Use the extended power rule and the constant multiple rule to find the derivative of $f\left(x\right)=\frac{6}{{x}^{2}}.$

### Solution

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\left(x\right)=6{x}^{\mathrm{-2}}.$

## Checkpoint 3.18

Find the derivative of $g\left(x\right)=\frac{1}{{x}^{7}}$ using the extended power rule.

## 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.28

### Combining Differentiation Rules

For $k\left(x\right)=3h\left(x\right)+{x}^{2}g(x),$ find ${k}^{\prime}(x).$

### Solution

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

## Example 3.29

### Extending the Product Rule

For $k\left(x\right)=f\left(x\right)g\left(x\right)h(x),$ express ${k}^{\prime}\left(x\right)$ in terms of $f\left(x\right),g\left(x\right),h\left(x\right),$ and their derivatives.

### Solution

We can think of the function $k(x)$ as the product of the function $f\left(x\right)g\left(x\right)$ and the function $h\left(x\right).$ That is, $k\left(x\right)=\left(f\left(x\right)g\left(x\right)\right)\xb7h\left(x\right).$ Thus,

## Example 3.30

### Combining the Quotient Rule and the Product Rule

For $h\left(x\right)=\frac{2{x}^{3}k\left(x\right)}{3x+2},$ find ${h}^{\prime}(x).$

### Solution

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

## Checkpoint 3.19

Find $\frac{d}{dx}\left(3f\left(x\right)-2g\left(x\right)\right).$

## Example 3.31

### Determining Where a Function Has a Horizontal Tangent

Determine the values of $x$ for which $f\left(x\right)={x}^{3}-7{x}^{2}+8x+1$ has a horizontal tangent line.

### Solution

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

we must solve $\left(3x-2\right)\left(x-4\right)=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.32

### Finding a Velocity

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

### Solution

Since the initial velocity is $v\left(0\right)={s}^{\prime}\left(0\right),$ begin by finding ${s}^{\prime}(t)$ by applying the quotient rule:

After evaluating, we see that $v\left(0\right)=1.$

## Checkpoint 3.20

Find the values of $x$ for which the graph of $f\left(x\right)=4{x}^{2}-3x+2$ has a tangent line parallel to the line $y=2x+3.$

## 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 3.20).

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\left(x\right)={x}^{3}+3{x}^{2}+x$ (Figure 3.21). 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 $\left(\mathrm{-1.9},2.8\right).$ 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 $\left(x,y\right)$ 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 $\left(\mathrm{-2.5},0.625\right).$ 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?

## Section 3.3 Exercises

For the following exercises, find ${f}^{\prime}(x)$ for each function.

$f\left(x\right)={x}^{7}+10$

$f\left(x\right)=4{x}^{2}-7x$

$f\left(x\right)={x}^{4}+\frac{2}{x}$

$f\left(x\right)=\left(x+2\right)\left(2{x}^{2}-3\right)$

$f\left(x\right)=\frac{{x}^{3}+2{x}^{2}-4}{3}$

$f\left(x\right)=\frac{{x}^{2}+4}{{x}^{2}-4}$

For the following exercises, find the equation of the tangent line $T\left(x\right)$ to the graph of the given function at the indicated point. Use a graphing calculator to graph the function and the tangent line.

**[T]** $y=3{x}^{2}+4x+1$ at $\left(0,1\right)$

**[T]** $y=\frac{2x}{x-1}$ at $\left(\mathrm{-1},1\right)$

For the following exercises, assume that $f(x)$ and $g\left(x\right)$ are both differentiable functions for all $x.$ Find the derivative of each of the functions $h\left(x\right).$

$h\left(x\right)=4f\left(x\right)+\frac{g(x)}{7}$

$h\left(x\right)=\frac{f\left(x\right)g(x)}{2}$

For the following exercises, assume that $f(x)$ and $g\left(x\right)$ are both differentiable functions with values as given in the following table. Use the following table to calculate the following derivatives.

$x$ |
$1$ | $2$ | $3$ | $4$ |

$f(x)$ |
$3$ | $5$ | $\mathrm{-2}$ | $0$ |

$g(x)$ |
$2$ | $3$ | $\mathrm{-4}$ | $6$ |

${f}^{\prime}(x)$ |
$\mathrm{-1}$ | $7$ | $8$ | $\mathrm{-3}$ |

${g}^{\prime}(x)$ |
$4$ | $1$ | $2$ | $9$ |

Find ${h}^{\prime}(1)$ if $h\left(x\right)=xf\left(x\right)+4g\left(x\right).$

Find ${h}^{\prime}\left(3\right)$ if $h\left(x\right)=2x+f\left(x\right)g\left(x\right).$

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

Let $h\left(x\right)=f\left(x\right)+g\left(x\right).$ Find

- ${h}^{\prime}\left(1\right),$
- ${h}^{\prime}\left(3\right),$ and
- ${h}^{\prime}\left(4\right).$

Let $h\left(x\right)=f\left(x\right)g\left(x\right).$ Find

- ${h}^{\prime}\left(1\right),$
- ${h}^{\prime}\left(3\right),$ and
- ${h}^{\prime}\left(4\right).$

Let $h\left(x\right)=\frac{f\left(x\right)}{g\left(x\right)}.$ Find

- ${h}^{\prime}\left(1\right),$
- ${h}^{\prime}\left(3\right),$ and
- ${h}^{\prime}\left(4\right).$

For the following exercises,

- evaluate ${f}^{\prime}\left(a\right),$ and
- graph the function $f\left(x\right)$ and the tangent line at $x=a.$

**[T]** $f\left(x\right)=\frac{1}{x}-{x}^{2},a=1$

**[T]** $f\left(x\right)=\frac{1}{x}-{x}^{2},a=\mathrm{-1}$

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

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

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

Find the point on the graph of $f\left(x\right)={x}^{3}$ such that the tangent line at that point has an $x$ intercept of 6.

Find the equation of the line passing through the point $P(3,3)$ and tangent to the graph of $f\left(x\right)=\frac{6}{x-1}.$

Determine all points on the graph of $f\left(x\right)={x}^{3}+{x}^{2}-x-1$ for which

- the tangent line is horizontal
- the tangent line has a slope of $\mathrm{-1}.$

Find a quadratic polynomial such that $f\left(1\right)=5,{f}^{\prime}\left(1\right)=3$ and $f\text{\u2033}\left(1\right)=\mathrm{-6}.$

A car driving along a freeway with traffic has traveled $s\left(t\right)={t}^{3}-6{t}^{2}+9t$ meters in $t$ seconds.

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

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

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

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

- Determine the initial flounder population.
- Determine ${P}^{\prime}\left(10\right)$ and briefly interpret the result.

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

- Find the rate of change of $C\left(t\right).$
- Determine the rate of change for $t=8,12,24,$ and $36.$
- Briefly describe what seems to be occurring as the number of hours increases.

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

**[T]** According to Newton’s law of universal gravitation, the force $F$ between two bodies of constant mass ${m}_{1}$ and ${m}_{2}$ is given by the formula $F=\frac{G{m}_{1}{m}_{2}}{{d}^{2}},$ where $G$ is the gravitational constant and $d$ is the distance between the bodies.

- Suppose that $G,{m}_{1},\text{and}\phantom{\rule{0.2em}{0ex}}{m}_{2}$ are constants. Find the rate of change of force $F$ with respect to distance $d.$
- Find the rate of change of force $F$ with gravitational constant $G=6.67\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}{10}^{\mathrm{-11}}$ ${\text{Nm}}^{2}\text{/}{\text{kg}}^{2},$ on two bodies 10 meters apart, each with a mass of 1000 kilograms.