### Learning Objectives

- State the constant, constant multiple, and power rules.
- Apply the sum and difference rules to combine derivatives.
- Compute the derivative of [latex]e^x[/latex]
- 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:

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

### Applying the Constant Rule

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

#### Solution

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

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

#### Hint

Use the preceding example as a guide.

#### Solution

0

# The Power Rule

We have shown that

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

#### Solution

Find [latex]\frac{d}{dx}(x^4)[/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.

#### Solution

[latex]4x^3[/latex]

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

Alternatively, we may express this rule as

## Proof

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

we see that

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

Thus,

Finally,

### Applying the Power Rule

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

#### Solution

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

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

#### Hint

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

#### Solution

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

that is,

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

that is,

**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:

that is,

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

By substituting [latex]j(x+h)=f(x+h)+g(x+h)[/latex] and [latex]j(x)=f(x)+g(x)[/latex], 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

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

#### Solution

We use the power rule directly:

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

### Applying Basic Derivative Rules

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

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

Find the derivative of [latex]f(x)=2x^3-6x^2+3[/latex].

#### Hint

Use the preceding example as a guide.

#### Solution

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

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

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

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

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

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.

#### Hint

Use the preceding example as a guide.

#### Solution

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

# 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

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 [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

By adding and subtracting [latex]f(x)g(x+h)[/latex] 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 [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,

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

#### Solution

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

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

#### Solution

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,

Simplifying, we have

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

#### Hint

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

#### Solution

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

# 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

### The Quotient Rule

Let [latex]f(x)[/latex] and [latex]g(x)[/latex] 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.

### Applying the Quotient Rule

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

#### Solution

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

Simplifying, we obtain

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

#### Hint

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

#### Solution

[latex]k^{\prime}(x)=-\frac{13}{(4x-3)^2}[/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

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

Simplifying, we see that

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

### Using the Extended Power Rule

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

#### Solution

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

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

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

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

#### Hint

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

#### Solution

[latex]g^{\prime}(x)=-7x^{-8}[/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].

#### Solution

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

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

#### Solution

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,

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

#### Solution

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

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

#### Hint

Apply the difference rule and the constant multiple rule.

#### Solution

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

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

#### Solution

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

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.

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

#### Solution

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:

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

#### Hint

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

#### Solution

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

# Derivative of the Exponential Function

Just as when we found the derivatives of other functions, we can find the derivatives of exponential and logarithmic functions using formulas. As we develop these formulas, we need to make certain basic assumptions. The proofs that these assumptions hold are beyond the scope of this course.

First of all, we begin with the assumption that the function [latex]B(x)=b^x, \, b < 0[/latex], is defined for every real number and is continuous. In previous courses, the values of exponential functions for all rational numbers were defined—beginning with the definition of [latex]b^n[/latex], where [latex]n[/latex] is a positive integer—as the product of [latex]b[/latex] multiplied by itself [latex]n[/latex] times. Later, we defined [latex]b^0=1, \, b^{-n}=\frac{1}{b^n}[/latex] for a positive integer [latex]n[/latex], and [latex]b^{s/t}=(\sqrt[t]{b})^s[/latex] for positive integers [latex]s[/latex] and [latex]t[/latex]. These definitions leave open the question of the value of [latex]b^r[/latex] where [latex]r[/latex] is an arbitrary real number. By assuming the *continuity * of [latex]B(x)=b^x, \, b < 0[/latex], we may interpret [latex]b^r[/latex] as [latex]\underset{x\to r}{\lim}b^x[/latex] where the values of [latex]x[/latex] as we take the limit are rational. For example, we may view [latex]{4}^{\pi}[/latex] as the number satisfying

As we see in the following table, [latex]4^{\pi}\approx 77.88[/latex].

[latex]x[/latex] | [latex]4^x[/latex] | [latex]x[/latex] | [latex]4^x[/latex] |
---|---|---|---|

[latex]4^3[/latex] | 64 | [latex]4^{3.141593}[/latex] | 77.8802710486 |

[latex]4^{3.1}[/latex] | 73.5166947198 | [latex]4^{3.1416}[/latex] | 77.8810268071 |

[latex]4^{3.14}[/latex] | 77.7084726013 | [latex]4^{3.142}[/latex] | 77.9242251944 |

[latex]4^{3.141}[/latex] | 77.8162741237 | [latex]4^{3.15}[/latex] | 78.7932424541 |

[latex]4^{3.1415}[/latex] | 77.8702309526 | [latex]4^{3.2}[/latex] | 84.4485062895 |

[latex]4^{3.14159}[/latex] | 77.8799471543 | [latex]4^4[/latex] | 256 |

We also assume that for [latex]B(x)=b^x, \, b < 0[/latex], the value [latex]B^{\prime}(0)[/latex] of the derivative exists. In this section, we show that by making this one additional assumption, it is possible to prove that the function [latex]B(x)[/latex] is differentiable everywhere.

We make one final assumption: that there is a unique value of [latex]b < 0[/latex] for which [latex]B^{\prime}(0)=1[/latex]. We define [latex]e[/latex] to be this unique value, as we did in Introduction to Functions and Graphs . (Figure) provides graphs of the functions [latex]y=2^x, \, y=3^x, \, y=2.7^x[/latex], and [latex]y=2.8^x[/latex]. A visual estimate of the slopes of the tangent lines to these functions at 0 provides evidence that the value of [latex]e[/latex] lies somewhere between 2.7 and 2.8. The function [latex]E(x)=e^x[/latex] is called the **natural exponential function **. Its inverse, [latex]L(x)=\log_e x=\ln x[/latex] is called the **natural logarithmic function **.

For a better estimate of [latex]e[/latex], we may construct a table of estimates of [latex]B^{\prime}(0)[/latex] for functions of the form [latex]B(x)=b^x[/latex]. Before doing this, recall that

for values of [latex]x[/latex] very close to zero. For our estimates, we choose [latex]x=0.00001[/latex] and [latex]x=-0.00001[/latex] to obtain the estimate

See the following table.

< table id="fs-id1169738019199" summary="This table has six rows and four columns. The first row is a header row and it labels each column. The first column header is b, the second column header is (b-0.00001 – 1)/-0.00001 < B’(0) < (b0.00001 – 1)/0.00001, the third column header is b, and the fourth column header is (b-0.00001 – 1)/-0.00001 < B’(0) < (b0.00001 – 1)/0.00001. Under the first column are the values 2, 2.7, 2.71, 2.718, and 2.7182. Under the second column are the values 0.693145 < B’(0) < 0.69315, 0.993247 < B’(0) < 0.993257, 0.996944 < B’(0) < 0.996954, 0.999891 < B’(0) < 0.999901, and 0.999965 < B’(0) < 0.999975. Under the third column are the values 2.7183, 2.719, 2.72, 2.8, and 3. Under the fourth column are the values 1.000002 < B’(0) < 1.000012, 1.000259 < B’(0) < 1.000269, 1.000627 < B’(0) < 1.000637, 1.029614 < B’(0) < 1.029625, and 1.098606 < B’(00

Estimating a Value of [latex]e[/latex][latex]b[/latex][latex]\frac{b^{-0.00001}-1}{-0.00001} < B^{\prime}(0) < \frac{b^{0.00001}-1}{0.00001}[/latex][latex]b[/latex][latex]\frac{b^{-0.00001}-1}{-0.00001} < B^{\prime}(0) < \frac{b^{0.00001}-1}{0.00001}[/latex]2[latex]0.693145 < B^{\prime}(0) < 0.69315[/latex]2.7183[latex]1.000002 < B^{\prime}(0) < 1.000012[/latex]2.7[latex]0.993247 < B^{\prime}(0) < 0.993257[/latex]2.719[latex]1.000259 < B^{\prime}(0) < 1.000269[/latex]2.71[latex]0.996944 < B^{\prime}(0) < 0.996954[/latex]2.72[latex]1.000627 < B^{\prime}(0) < 1.000637[/latex]2.718[latex]0.999891 < B^{\prime}(0) < 0.999901[/latex]2.8[latex]1.029614 < B^{\prime}(0) < 1.029625[/latex]2.7182[latex]0.999965 < B^{\prime}(0) < 0.999975[/latex]3[latex]1.098606 < B^{\prime}(0) < 1.098618[/latex]

The evidence from the table suggests that [latex]2.7182 < e < 2.7183[/latex].

The graph of [latex]E(x)=e^x[/latex] together with the line [latex]y=x+1[/latex] are shown in (Figure) . This line is tangent to the graph of [latex]E(x)=e^x[/latex] at [latex]x=0[/latex].

Now that we have laid out our basic assumptions, we begin our investigation by exploring the derivative of [latex]B(x)=b^x, \, b < 0[/latex]. Recall that we have assumed that [latex]B^{\prime}(0)[/latex] exists. By applying the limit definition to the derivative we conclude that

Turning to [latex]B^{\prime}(x)[/latex], we obtain the following.

We see that on the basis of the assumption that [latex]B(x)=b^x[/latex] is differentiable at [latex]0, \, B(x)[/latex] is not only differentiable everywhere, but its derivative is

For [latex]E(x)=e^x, \, E^{\prime}(0)=1[/latex]. Thus, we have [latex]E^{\prime}(x)=e^x[/latex]. (The value of [latex]B^{\prime}(0)[/latex] for an arbitrary function of the form [latex]B(x)=b^x, \, b < 0[/latex], will be derived later.)

### Derivative of the Natural Exponential Function

Let [latex]f(x)=e^x[/latex] be the natural exponential function. Then

### Combining Differentiation Rules

Find the derivative of [latex]y=\frac{e^{x}}{x}[/latex].

#### Solution

Use the derivative of the natural exponential function and the quotient rule.

Find the derivative of [latex]h(x)=(x^2+1)e^{x}[/latex].

#### Hint

Don’t forget to use the product rule.

#### Solution

[latex]h^{\prime}(x)=2xe^{x}+(x^2+1)e^{x}[/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) ).

**********

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.

- 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.
- 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 [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?
- 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?
- 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?

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

#### Solution

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

#### Solution

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

#### Solution

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

#### Solution

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

#### Solution

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

#### Solution

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

**13. **[latex]f(x)=\frac{e^{x}}{x^3+1}[/latex]

**14. **[latex]f(x)=x^2 e^x[/latex]

#### Solution

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

**15. **[latex]f(x)=x^2 e^x[/latex]

**16. **[latex]f(x)=\frac{5e^x}{2x}[/latex]

#### Solution

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

**17. **[latex]f(x)=\frac{2x^{\pi} - 5}{x^5}[/latex]

**18. **[latex]f(x)=2\sqrt[3]{x}e^x[/latex] Hint: [latex]\sqrt[3]{x} = x^{\frac{1}{3}}[/latex].

#### Solution

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

**19. **[latex]f(x)=e^{\pi}x^{2021}[/latex]

**20. **[latex]f(x)=\sqrt[4]{e}x^{\frac{\pi}{2}}[/latex]

#### Solution

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

**21. **[latex]f(x)=\frac{\sqrt[5]{x}^2}{7e^x}[/latex]

**22. **[latex]f(x)=\frac{3e^x -2x^5}{\sqrt[3]{x}^5}[/latex]. Do not simplify final answer.

#### Solution

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

**23. **[latex]f(x)= \frac{\sqrt[3]{x}^7 + 3e^x}{\frac{1}{x^2}}[/latex]. Do not simplify final answer.

**24. **[latex]f(x)=\frac{(7\sqrt{x} - 3x^{\pi})(2x^3-6)}{2e^x - \frac{5}{x^3}}.[/latex] Do not simplify final answer.

#### Solution

[latex]f^{\prime}(x) = \frac{[(\frac{7}{2}x^{-\frac{1}{2}}-3\pi x^{\pi-1})(2x^3-6)+(7\sqrt{x}-3x^{\pi})(6x^2)](2e^x-\frac{5}{x^3}) - (7\sqrt{x} - 3x^{\pi})(2x^3-6)(2e^x +\frac{15}{x^4})}{(2e^x-\frac{5}{x^3})^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 or app to graph the function and the tangent line.

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

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

#### Solution

[latex]T(x)=\frac{1}{2}x+3[/latex]

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

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

#### Solution

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

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

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

#### Solution

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

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

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

#### Solution

[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 |

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

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

#### Solution

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

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

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

#### Solution

Undefined

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

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

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

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

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

#### Solution

a. 2

b. does not exist

c. 2.5

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

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

For the following exercises,

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

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

#### Solution

a. 23

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

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

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

#### Solution

a. 3

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

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

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

#### Solution

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

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

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

#### Solution

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

**47. **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.

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

#### Solution

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

**49. **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

- horizontal
- -1.

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

#### Solution

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

**51. **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.

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

**52. [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.

#### Solution

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

**53. **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.

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

**54. [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.

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

#### Solution

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.

**55. **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.

**56. [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.

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

#### Solution

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]