### Learning Objectives

• State the constant, constant multiple, and power rules.
• Apply the sum and difference rules to combine derivatives.
• Compute the derivative of $e^x$
• Use the product rule for finding the derivative of a product of functions.
• Use the quotient rule for finding the derivative of a quotient of functions.
• Extend the power rule to functions with negative exponents.
• Combine the differentiation rules to find the derivative of a polynomial or rational function.

Finding derivatives of functions by using the definition of the derivative can be a lengthy and, for certain functions, a rather challenging process. For example, previously we found that $\frac{d}{dx}(\sqrt{x})=\frac{1}{2\sqrt{x}}$ by using a process that involved multiplying an expression by a conjugate prior to evaluating a limit. The process that we could use to evaluate $\frac{d}{dx}(\sqrt[3]{x})$ using the definition, while similar, is more complicated. In this section, we develop rules for finding derivatives that allow us to bypass this process. We begin with the basics.

# The Basic Rules

The functions $f(x)=c$ and $g(x)=x^n$ where $n$ is a positive integer are the building blocks from which all polynomials and rational functions are constructed. To find derivatives of polynomials and rational functions efficiently without resorting to the limit definition of the derivative, we must first develop formulas for differentiating these basic functions.

## The Constant Rule

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

$\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}$

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 $c$ be a constant.

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

Alternatively, we may express this rule as

$\frac{d}{dx}(c)=0$.

### Applying the Constant Rule

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

#### Solution

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

$f^{\prime}(8)=0$.

Find the derivative of $g(x)=-3$.

#### Hint

Use the preceding example as a guide.

0

# The Power Rule

We have shown that

$\frac{d}{dx}(x^2)=2x$ and $\frac{d}{dx}(x^{1/2})=\frac{1}{2}x^{-1/2}$.

At this point, you might see a pattern beginning to develop for derivatives of the form $\frac{d}{dx}(x^n)$. We continue our examination of derivative formulas by differentiating power functions of the form $f(x)=x^n$ where $n$ is a positive integer. We develop formulas for derivatives of this type of function in stages, beginning with positive integer powers. Before stating and proving the general rule for derivatives of functions of this form, we take a look at a specific case, $\frac{d}{dx}(x^3)$.

### Differentiating $x^3$

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

#### Solution

$\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}$

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

#### Hint

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

#### Solution

$4x^3$

As we shall see, the procedure for finding the derivative of the general form $f(x)=x^n$ is very similar. Although it is often unwise to draw general conclusions from specific examples, we note that when we differentiate $f(x)=x^3$, the power on $x$ becomes the coefficient of $x^2$ in the derivative and the power on $x$ in the derivative decreases by 1. The following theorem states that this  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$.

### The Power Rule

Let $n$ be a positive integer. If $f(x)=x^n$, then

$f^{\prime}(x)=nx^{n-1}$.

Alternatively, we may express this rule as

$\frac{d}{dx}(x^n)=nx^{n-1}$.

## Proof

For $f(x)=x^n$ where $n$ is a positive integer, we have

$f^{\prime}(x)=\underset{h\to 0}{\lim}\frac{(x+h)^n-x^n}{h}$.
Since $(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$,

we see that

$(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$.

Next, divide both sides by $h$:

$\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}$.

Thus,

$\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}$.

Finally,

$\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$

### Applying the Power Rule

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

#### Solution

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

$f^{\prime}(x)=10x^{10-1}=10x^9$.

Find the derivative of $f(x)=x^7$.

#### Hint

Use the power rule with $n=7$.

#### Solution

$f^{\prime}(x)=7x^6$

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

$\frac{d}{dx}(f(x)+g(x))=\frac{d}{dx}(f(x))+\frac{d}{dx}(g(x))$;

that is,

for $j(x)=f(x)+g(x), \, j^{\prime}(x)=f^{\prime}(x)+g^{\prime}(x)$.

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

$\frac{d}{dx}(f(x)-g(x))=\frac{d}{dx}(f(x))-\frac{d}{dx}(g(x))$;

that is,

for $j(x)=f(x)-g(x), \, j^{\prime}(x)=f^{\prime}(x)-g^{\prime}(x)$.

Constant Multiple Rule . The derivative of a constant $c$ multiplied by a function $f$ is the same as the constant multiplied by the derivative:

$\frac{d}{dx}(kf(x))=k\frac{d}{dx}(f(x))$;

that is,

for $j(x)=kf(x), \, j^{\prime}(x)=kf^{\prime}(x)$.

## Proof

We provide only the proof of the sum rule here. The rest follow in a similar manner.

For differentiable functions $f(x)$ and $g(x)$, we set $j(x)=f(x)+g(x)$. Using the limit definition of the derivative we have

$j^{\prime}(x)=\underset{h\to 0}{\lim}\frac{j(x+h)-j(x)}{h}$.

By substituting $j(x+h)=f(x+h)+g(x+h)$ and $j(x)=f(x)+g(x)$, we obtain

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

Rearranging and regrouping the terms, we have

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

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

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

### Applying the Constant Multiple Rule

Find the derivative of $g(x)=3x^2$ and compare it to the derivative of $f(x)=x^2$.

#### Solution

We use the power rule directly:

$g^{\prime}(x)=\frac{d}{dx}(3x^2)=3\frac{d}{dx}(x^2)=3(2x)=6x$.

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

The derivative of $g(x)$ is 3 times the derivative of $f(x)$.

### Applying Basic Derivative Rules

Find the derivative of $f(x)=2x^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:

$\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}$

Find the derivative of $f(x)=2x^3-6x^2+3$.

#### Hint

Use the preceding example as a guide.

#### Solution

$f^{\prime}(x)=6x^2-12x$.

### Finding the Equation of a Tangent Line

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

#### Solution

To find the equation of the tangent line, we need a point and a slope. To find the point, compute

$f(1)=1^2-4(1)+6=3$.

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

$f^{\prime}(x)=2x-4$

so the slope of the tangent line is $f^{\prime}(1)=-2$. Using the point-slope formula, we see that the equation of the tangent line is

$y-3=-2(x-1)$.

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

$y=-2x+5$.

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

#### Hint

Use the preceding example as a guide.

#### Solution

$y=12x-23$

# The Product Rule

Now that we have examined the basic rules, we can begin looking at some of the more advanced rules. The first one examines the derivative of the product of two functions. Although it might be tempting to assume that the derivative of the product is the product of the derivatives, similar to the sum and difference rules, the product rule does not follow this pattern. To see why we cannot use this pattern, consider the function $f(x)=x^2$, whose derivative is $f^{\prime}(x)=2x$ and not $\frac{d}{dx}(x)\cdot \frac{d}{dx}(x)=1\cdot 1=1$.

### Product Rule

Let $f(x)$ and $g(x)$ be differentiable functions. Then

$\frac{d}{dx}(f(x)g(x))=\frac{d}{dx}(f(x))\cdot g(x)+\frac{d}{dx}(g(x))\cdot f(x)$.

That is,

if $j(x)=f(x)g(x)$ then $j^{\prime}(x)=f^{\prime}(x)g(x)+g^{\prime}(x)f(x)$.

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}{\lim}g(x+h)=g(x)$.

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

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

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

$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}$.

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

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

Rearranging, we obtain

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

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

$j^{\prime}(x)=f^{\prime}(x)g(x)+g^{\prime}(x)f(x) \, _\blacksquare$

### Applying the Product Rule to Constant Functions

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

#### Solution

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

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

### Applying the Product Rule to Binomials

For $j(x)=(x^2+2)(3x^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(x)=x^2+2$ and $g(x)=3x^3-5x$, then $f^{\prime}(x)=2x$ and $g^{\prime}(x)=9x^2-5$. Thus,

$j^{\prime}(x)=f^{\prime}(x)g(x)+g^{\prime}(x)f(x)=(2x)(3x^3-5x)+(9x^2-5)(x^2+2)$.

Simplifying, we have

$j^{\prime}(x)=15x^4+3x^2-10$.

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

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

#### Hint

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

#### Solution

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

# 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

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

### The Quotient Rule

Let $f(x)$ and $g(x)$ be differentiable functions. Then

$\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}$.

That is,

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

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 $k(x)=\frac{5x^2}{4x+3}$.

#### Solution

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

$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}$.

Simplifying, we obtain

$k^{\prime}(x)=\frac{20x^2+30x}{(4x+3)^2}$.

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

#### Hint

Apply the quotient rule with $f(x)=3x+1$ and $g(x)=4x-3$.

#### Solution

$k^{\prime}(x)=-\frac{13}{(4x-3)^2}$.

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.

### Extended Power Rule

If $k$ is a negative integer, then

$\frac{d}{dx}(x^k)=kx^{k-1}$.

## Proof

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

$\frac{d}{dx}(x^{-n})=\frac{0(x^n)-1(nx^{n-1})}{(x^n)^2}$.

Simplifying, we see that

$\frac{d}{dx}(x^{-n})=\frac{-nx^{n-1}}{x^{2n}}=-nx^{(n-1)-2n}=-nx^{-n-1}$.

Finally, observe that since $k=-n$, by substituting we have

$\frac{d}{dx}(x^k)=kx^{k-1}. \, _\blacksquare$

### Using the Extended Power Rule

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

#### Solution

By applying the extended power rule with $k=-4$, we obtain

$\frac{d}{dx}(x^{-4})=-4x^{-4-1}=-4x^{-5}$.

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

Use the extended power rule and the constant multiple rule to find $f(x)=\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(x)=6x^{-2}$.

$\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}$

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

#### Hint

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

#### Solution

$g^{\prime}(x)=-7x^{-8}$.

# 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 $k(x)=3h(x)+x^2g(x)$, find $k^{\prime}(x)$.

#### Solution

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

$\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}$

### Extending the Product Rule

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

#### Solution

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

$\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}$

### Combining the Quotient Rule and the Product Rule

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

#### Solution

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

$\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}$

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

#### Hint

Apply the difference rule and the constant multiple rule.

#### Solution

$3f^{\prime}(x)-2g^{\prime}(x)$.

### Determining Where a Function Has a Horizontal Tangent

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

#### Solution

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

$f^{\prime}(x)=3x^2-14x+8=(3x-2)(x-4)$,

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

### Finding a Velocity

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

#### Solution

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

$s^{\prime}(t)=\frac{1(t^2+1)-2t(t)}{(t^2+1)^2}=\frac{1-t^2}{(t^2+1)^2}$.

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

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

#### Hint

Solve the equation $f^{\prime}(x)=2$.

#### Solution

$\frac{5}{8}$

# 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 $B(x)=b^x, \, b < 0$, 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 $b^n$, where $n$ is a positive integer—as the product of $b$ multiplied by itself $n$ times. Later, we defined $b^0=1, \, b^{-n}=\frac{1}{b^n}$ for a positive integer $n$, and $b^{s/t}=(\sqrt[t]{b})^s$ for positive integers $s$ and $t$. These definitions leave open the question of the value of $b^r$ where $r$ is an arbitrary real number. By assuming the continuity of $B(x)=b^x, \, b < 0$, we may interpret $b^r$ as $\underset{x\to r}{\lim}b^x$ where the values of $x$ as we take the limit are rational. For example, we may view ${4}^{\pi}$ as the number satisfying

$\begin{array}{l}4^3 < 4^{\pi} < 4^4, \, 4^{3.1} < 4^{\pi} < 4^{3.2}, \, 4^{3.14} < 4^{\pi} < 4^{3.15},\\ 4^{3.141} < 4^{\pi} < 4^{3.142}, \, 4^{3.1415} < 4^{\pi} < 4^{3.1416}, \, \cdots \end{array}$

As we see in the following table, $4^{\pi}\approx 77.88$.

Approximating a Value of $4^{\pi}$
$x$ $4^x$ $x$ $4^x$
$4^3$ 64 $4^{3.141593}$ 77.8802710486
$4^{3.1}$ 73.5166947198 $4^{3.1416}$ 77.8810268071
$4^{3.14}$ 77.7084726013 $4^{3.142}$ 77.9242251944
$4^{3.141}$ 77.8162741237 $4^{3.15}$ 78.7932424541
$4^{3.1415}$ 77.8702309526 $4^{3.2}$ 84.4485062895
$4^{3.14159}$ 77.8799471543 $4^4$ 256

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

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

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

$B^{\prime}(0)=\underset{x\to 0}{\lim}\frac{b^x-b^0}{x-0}=\underset{x\to 0}{\lim}\frac{b^x-1}{x} \approx \frac{b^x-1}{x}$

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

$\frac{b^{-0.00001}-1}{-0.00001} < B^{\prime}(0) < \frac{b^{0.00001}-1}{0.00001}$.

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 $e$$b$$\frac{b^{-0.00001}-1}{-0.00001} < B^{\prime}(0) < \frac{b^{0.00001}-1}{0.00001}$$b$$\frac{b^{-0.00001}-1}{-0.00001} < B^{\prime}(0) < \frac{b^{0.00001}-1}{0.00001}$2$0.693145 < B^{\prime}(0) < 0.69315$2.7183$1.000002 < B^{\prime}(0) < 1.000012$2.7$0.993247 < B^{\prime}(0) < 0.993257$2.719$1.000259 < B^{\prime}(0) < 1.000269$2.71$0.996944 < B^{\prime}(0) < 0.996954$2.72$1.000627 < B^{\prime}(0) < 1.000637$2.718$0.999891 < B^{\prime}(0) < 0.999901$2.8$1.029614 < B^{\prime}(0) < 1.029625$2.7182$0.999965 < B^{\prime}(0) < 0.999975$3$1.098606 < B^{\prime}(0) < 1.098618$

The evidence from the table suggests that $2.7182 < e < 2.7183$.

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

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

$B^{\prime}(0)=\underset{h\to 0}{\lim}\frac{b^{0+h}-b^0}{h}=\underset{h\to 0}{\lim}\frac{b^h-1}{h}$.

Turning to $B^{\prime}(x)$, we obtain the following.

$\begin{array}{lllll} B^{\prime}(x) & =\underset{h\to 0}{\lim}\frac{b^{x+h}-b^x}{h} & & & \text{Apply the limit definition of the derivative.} \\ & =\underset{h\to 0}{\lim}\frac{b^xb^h-b^x}{h} & & & \text{Note that} \, b^{x+h}=b^x b^h. \\ & =\underset{h\to 0}{\lim}\frac{b^x(b^h-1)}{h} & & & \text{Factor out} \, b^x. \\ & =b^x\underset{h\to 0}{\lim}\frac{b^h-1}{h} & & & \text{Apply a property of limits.} \\ & =b^x B^{\prime}(0) & & & \text{Use} \, B^{\prime}(0)=\underset{h\to 0}{\lim}\frac{b^{0+h}-b^0}{h}=\underset{h\to 0}{\lim}\frac{b^h-1}{h}. \end{array}$

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

$B^{\prime}(x)=b^x B^{\prime}(0)$.

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

### Derivative of the Natural Exponential Function

Let $f(x)=e^x$ be the natural exponential function. Then

$f^{\prime}(x)=e^x$.

### Combining Differentiation Rules

Find the derivative of $y=\frac{e^{x}}{x}$.

#### Solution

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

$\begin{array}{lllll} y^{\prime} & =\large \frac{(e^{x}) \cdot x - 1 \cdot e^{x}}{x^2} & & & \text{Apply the quotient rule.} \\ & = \large \frac{e^{x}(x-1)}{x^2} & & & \text{Simplify.} \end{array}$

Find the derivative of $h(x)=(x^2+1)e^{x}$.

#### Hint

Don’t forget to use the product rule.

#### Solution

$h^{\prime}(x)=2xe^{x}+(x^2+1)e^{x}$

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

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 $(x,y)$ 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 $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?
4. What if a driver loses control earlier than the physicists project? Suppose a driver loses control at the point $(-2.5,0.625)$. What is the slope of the tangent line at this point?
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 $x$ becomes the coefficient of the term and the power on $x$ in the derivative decreases by 1.
• The derivative of a constant $c$ multiplied by a function $f$ is the same as the constant multiplied by the derivative.
• The derivative of the sum of a function $f$ and a function $g$ is the same as the sum of the derivative of $f$ and the derivative of $g$ .
• The derivative of the difference of a function $f$ and a function $g$ is the same as the difference of the derivative of $f$ and the derivative of $g$ .
• The derivative of a product of two functions is the derivative of the first function times the second function plus the derivative of the second function times the first function.
• The derivative of the quotient of two functions is the derivative of the first function times the second function minus the derivative of the second function times the first function, all divided by the square of the second function.
• We used the limit definition of the derivative to develop formulas that allow us to find derivatives without resorting to the definition of the derivative. These formulas can be used singly or in combination with each other.

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

1.  $f(x)=x^7+10$

2.  $f(x)=5x^3-x+1$

#### Solution

$f^{\prime}(x)=15x^2-1$

3.  $f(x)=4x^2-7x$

4.  $f(x)=8x^4+9x^2-1$

#### Solution

$f^{\prime}(x)=32x^3+18x$

5.  $f(x)=x^4+\frac{2}{x}$

6.  $f(x)=3x(18x^4+\frac{13}{x+1})$

#### Solution

$f^{\prime}(x)=270x^4+\frac{39}{(x+1)^2}$

7.  $f(x)=(x+2)(2x^2-3)$

8.  $f(x)=x^2(\frac{2}{x^2}+\frac{5}{x^3})$

#### Solution

$f^{\prime}(x)=\frac{-5}{x^2}$

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

10.  $f(x)=\frac{4x^3-2x+1}{x^2}$

#### Solution

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

11.  $f(x)=\frac{x^2+4}{x^2-4}$

12.  $f(x)=\frac{x+9}{x^2-7x+1}$

#### Solution

$f^{\prime}(x)=\frac{-x^2-18x+64}{(x^2-7x+1)^2}$

13. $f(x)=\frac{e^{x}}{x^3+1}$

14. $f(x)=x^2 e^x$

#### Solution

$f^{\prime}(x) = 2xe^x+x^2 e^x$

15. $f(x)=x^2 e^x$

16. $f(x)=\frac{5e^x}{2x}$

#### Solution

$f^{\prime}(x) = \frac{5}{2} (\frac{e^x}{x} - \frac{e^x}{x^2}})$

17. $f(x)=\frac{2x^{\pi} - 5}{x^5}$

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

#### Solution

$f^{\prime}(x) = 2 (\frac{1}{3}x^{\frac{-2}{3}}e^x + x^{\frac{1}{3}} e^x)$

19. $f(x)=e^{\pi}x^{2021}$

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

#### Solution

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

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

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

#### Solution

$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}$

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

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

#### Solution

$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}$

For the following exercises, find the equation of the tangent line $T(x)$ 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] $y=3x^2+4x+1$ at $(0,1)$

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

#### Solution

$T(x)=\frac{1}{2}x+3$

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

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

#### Solution

$T(x)=4x-5$

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

29. $h(x)=4f(x)+\frac{g(x)}{7}$

30. $h(x)=x^3f(x)$

#### Solution

$h^{\prime}(x)=3x^2f(x)+x^3f^{\prime}(x)$

31. $h(x)=\frac{f(x)g(x)}{2}$

32. $h(x)=\frac{3f(x)}{g(x)+2}$

#### Solution

$h^{\prime}(x)=\frac{3f^{\prime}(x)(g(x)+2)-3f(x)g^{\prime}(x)}{(g(x)+2)^2}$

For the following exercises, assume that $f(x)$ and $g(x)$ 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 -2 0 $g(x)$ 2 3 -4 6 $f^{\prime}(x)$ -1 7 8 -3 $g^{\prime}(x)$ 4 1 2 9

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

34. Find $h^{\prime}(2)$ if $h(x)=\frac{f(x)}{g(x)}$.

#### Solution

$\frac{16}{9}$

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

36. Find $h^{\prime}(4)$ if $h(x)=\frac{1}{x}+\frac{g(x)}{f(x)}$.

#### Solution

Undefined

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

37. Let $h(x)=f(x)+g(x)$. Find

1. $h^{\prime}(1)$
2. $h^{\prime}(3)$
3. $h^{\prime}(4)$

38. Let $h(x)=f(x)g(x)$. Find

1. $h^{\prime}(1)$
2. $h^{\prime}(3)$
3. $h^{\prime}(4)$

#### Solution

a. 2
b. does not exist
c. 2.5

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

1. $h^{\prime}(1)$
2. $h^{\prime}(3)$
3. $h^{\prime}(4)$

For the following exercises,

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

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

#### Solution

a. 23
b. $y=23x-28$

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

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

#### Solution

a. 3
b. $y=3x+2$

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

44. Find the equation of the tangent line to the graph of $f(x)=2x^3+4x^2-5x-3$ at $x=-1$.

#### Solution

$y=-7x-3$

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

46. Find the equation of the tangent line to the graph of $f(x)=(3x-x^2)(3-x-x^2)$ at $x=1$.

#### Solution

$y=-5x+7$

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

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

#### Solution

$y=-\frac{3}{2}x+\frac{15}{2}$

49. Determine all points on the graph of $f(x)=x^3+x^2-x-1$ for which the slope of the tangent line is

1. horizontal
2. -1.

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

#### Solution

$y=-3x^2+9x-1$

51. A car driving along a freeway with traffic has traveled $s(t)=t^3-6t^2+9t$ meters in $t$ 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.

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

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

#### Solution

$\frac{12}{121}$ or 0.0992 ft/s

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

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

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

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

#### Solution

a. $\frac{-2t^4-2t^3+200t+50}{(t^3+50)^2}$
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 $C(x)=\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}(2)$ and explain its meaning.

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

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

#### Solution

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

## Glossary

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