# Quotient Rule and Higher Derivatives

You may recall hearing about Becca and her Track and Field competition in a prior lesson. Her boyfriend had taken a picture of her just as she started to pull away from the others on the track. We learned how she might learn to identify her instantaneous speed at just the split second the picture was taken by using calculus to find a derivative.

What if, instead of just finding her speed at that split second, she wanted to find her acceleration?

# Quotient Rule and Higher Derivatives

## The Quotient Rule

Theorem: (The Quotient Rule) If f and g are differentiable functions at x and g(x) ≠ 0, then

$$\ \frac{d}{d x}\left[\frac{f(x)}{g(x)}\right]=\frac{g(x) \frac{d}{d x}[f(x)]-f(x) \frac{d}{d x}[g(x)]}{[g(x)]^{2}}$$

In simpler notation

$$\ \left(\frac{f}{g}\right)^{\prime}=\frac{g \cdot f^{\prime}-f \cdot g^{\prime}}{g^{2}}$$

Keep in mind that the order of operations is important (because of the minus sign in the numerator) and

$$\ \left(\frac{f}{g}\right)^{\prime} \neq \frac{f^{\prime}}{g^{\prime}}$$.

## Higher Derivatives

If the derivative f′ of the function f is differentiable, then the derivative of f′, denoted by f″ is called the second derivative of f. We can continue the process of differentiating derivatives and obtain third, fourth, fifth and higher derivatives of f. They are denoted by f′, f″, f‴, f(4), f(5), . . . ,

# Examples

Example 1

Earlier, you were asked how Becca could find her acceleration in addition to her speed.

Solution

Once Becca has calculated her instantaneous speed at a given point on the track by finding the derivative, she could then take the derivative of that function to find her instantaneous acceleration at the same point in the race.

By finding her instantaneous speed and acceleration at different points in the race, she can learn a lot about what points made a difference in her overall success, and also what points she needs to work on.

Example 2

Find $$\ =\frac{d y}{d x}$$ for $$\ y=\frac{x^{2}-5}{x^{3}+2}$$.

Solution

$$\ \frac{d y}{d x}$$ $$\ =\frac{d}{d x}\left[\frac{x^{2}-5}{x^{3}+2}\right]$$
$$\ =\frac{\left(x^{3}+2\right) \cdot\left(x^{2}-5\right)^{\prime}-\left(x^{2}-5\right) \cdot\left(x^{3}+2\right)^{\prime}}{\left(x^{3}+2\right)^{2}}$$
$$\ =\frac{\left(x^{3}+2\right)(2 x)-\left(x^{2}-5\right)\left(3 x^{2}\right)}{\left(x^{3}+2\right)^{2}}$$
$$\ =\frac{2 x^{4}+4 x-3 x^{4}+15 x^{2}}{\left(x^{3}+2\right)^{2}}$$
$$\ =\frac{-x^{4}+15 x^{2}+4 x}{\left(x^{3}+2\right)^{2}}$$
$$\ =\frac{x\left(-x^{3}+15 x+4\right)}{\left(x^{3}+2\right)^{2}}$$

Example 3

At which point(s) does the graph of $$\ y=\frac{x}{x^{2}+9}$$ have a horizontal tangent line?

Solution

Since the slope of a horizontal line is zero, and since the derivative of a function signifies the slope of the tangent line, then taking the derivative and equating it to zero will enable us to find the points at which the slope of the tangent line is equal to zero, i.e., the locations of the horizontal tangents. Notice that we will need to use the quotient rule here:

y $$\ =\frac{x}{x^{2}+9}$$
y′ $$\ =\frac{\left(x^{2}+9\right) \cdot f^{\prime}(x)-x \cdot g^{\prime}\left(x^{2}+9\right)}{\left(x^{2}+9\right)^{2}}=0$$ $$\ =\frac{\left(x^{2}+9\right)(1)-x(2 x)}{\left(x^{2}+9\right)^{2}}=0$$

Multiply both sides by $$\ \left(x^{2}+9\right)^{2}$$,

$$\ x^{2}+9-2 x^{2}$$ $$\ =0$$
$$\ x^{2}$$ $$\ =9$$
$$\ x$$ $$\ =\pm 3$$

Therefore, at x=−3 and x=3, the tangent line is horizontal.

Example 4

Find the fifth derivative of $$\ f(x)=2 x^{4}-3 x^{3}+5 x^{2}-x-1$$

Solution

To find the fifth derivative, we must first find the first, second, third, and fourth derivatives.

f′(x) $$\ =8 x^{3}-9 x^{2}+5 x-x$$
f″(x) $$\ =24 x^{2}-18 x+5$$
f‴(x) $$\ =48 x-18$$
f(4)(x) $$\ =48$$
f(5)(x) $$\ =$$

Example 5

Suppose y'(2) = 0 and (y/q)(2) = 0. Find q(2), assuming y(2) = 0.

Solution

Begin with the quotient rule:

$$\ \left(\frac{y}{q}\right)^{\prime}(2)=\left(\frac{y^{\prime}(2) q(2)-y(2) q^{\prime}(2)}{q(2)^{2}}\right)$$ ..... Substitute

$$\ (0)=\left(\frac{(0) q(2)-(0) q^{\prime}(2)}{q(2)^{2}}\right)$$ ..... Substituting again with given values

$$\ 0=\left(\frac{(0) q(2)}{q(2)^{2}}\right)$$ ..... Simplify with: $$\ (0) q^{\prime}(2)=0$$

$$\ 0=\frac{0}{q(2)}$$

$$\ q(2)=0$$

Example 6

Find the derivative of $$\ k(x)=\frac{-2 x-4}{e^{x}}$$.

Solution

Use the quotient rule: Note: $$\ (-2 x-4)^{\prime}=-2$$ and $$\ \left(e^{x}\right)^{\prime}=e^{x}$$

$$\ \left(\frac{-2 x-4}{e^{x}}\right)^{\prime}=\frac{(-2)\left(e^{x}\right)-(-2 x-4)\left(e^{x}\right)}{e^{2 x}}$$ ..... Substitute

$$\ \frac{2 x+2}{e^{x}}$$ ..... Simplify

Example 7

Given $$\ f(x)=\left(-x^{4}-4 x^{3}-5 x^{2}+3\right)$$. Find $$\ f^{\prime \prime}(x)$$ when $$\ x=3$$.

Solution

Recall that $$\ f^{\prime \prime}(x)$$ means "The derivative of the derivative of $$\ x^{\prime \prime}$$

$$\ f^{\prime}(x)=-4 x^{3}-12 x^{2}-10 x$$ ..... Use the power rule on $$\ f(x)$$

$$\ f^{\prime \prime}(x)=-12 x^{2}-24 x-10$$ ..... Use the power rule on $$\ f^{\prime}(x)$$

$$\ f^{\prime \prime}(3)=-12(3)^{2}-24(3)-10 \rightarrow-108-72-10=-190$$ ..... Substitute 3

$$\ \therefore f^{\prime \prime}(3)=-190$$

# Review

Use the quotient rule to solve:

1. Suppose $$\ u^{\prime}(0)=98$$ and $$\ \left(\frac{u}{q}\right)^{\prime}(0)=7$$. Find $$\ q(0)$$ assuming $$\ u(0)=0$$.
2. Given: $$\ b(x)=\frac{x^{2}-5 x+4}{-5 x+2}$$, what is: $$\ b^{\prime}(2)$$?
3. Given: $$\ m(x)=\frac{e^{x}}{3 x+4}$$, what is $$\ \frac{d m}{d x}$$?
4. What is $$\ \frac{d}{d x} \cdot \frac{\sin (x)}{x-4}$$?
5. Find the derivative of $$\ q(x)=\frac{x}{\sin (x)}$$.

Solve these higher order derivatives:

1. Given: $$\ v(x)=-4 x^{3}+3 x^{2}+2 x+3$$, what is $$\ v^{\prime \prime}(x)$$?
2. Given: $$\ m(x)=x^{2}+5 x$$, what is $$\ m^{\prime \prime}(x)$$?
3. Given: $$\ d(x)=3 x^{4} e^{x}$$, what is $$\ d^{\prime \prime}(x)$$?
4. Given: $$\ t(x)=-2 x^{5} \sin (x)$$, what is $$\ \frac{d^{2} t}{d x^{2}}$$?
5. What is $$\ \frac{d^{2}}{d x^{2}} 3 x^{5} e^{x}$$?

Solve:

1. Find the derivative of $$\ y=\frac{3}{\sqrt{x}+3}$$.
2. Find the derivative of $$\ y=\frac{4 x+1}{x^{2}-9}$$.
3. Newton’s Law of Universal Gravitation states that the gravitational force between two masses (say, the earth and the moon), m and M is equal two their product divided by the squared of the distance r between them. Mathematically, $$\ F=G \frac{m M}{r^{2}}$$ where G is the Universal Gravitational Constant (1.602 × 10-11 Nm2/kg2). If the distance r between the two masses is changing, find a formula for the instantaneous rate of change of F with respect to the separation distance r.
4. Find $$\ \frac{d}{d \psi}\left[\frac{\psi \psi_{0}+\psi^{3}}{3-\psi_{0}}\right]$$, where $$\ \psi_{0}$$ is a constant.
5. Find $$\ \left.\frac{d^{3} y}{d x^{3}}\right|_{x=1}$$, where $$\ y=\frac{2}{x^{3}}$$.

quotient rule In calculus, the quotient rule states that if $$\ f$$ and $$\ g$$ are differentiable functions at $$\ x$$ and $$\ g(x) \neq 0$$, then $$\ \frac{d}{d x}\left[\frac{f(x)}{g(x)}\right]=\frac{g(x) \frac{d}{d x}[f(x)]-f(x) \frac{d}{d x}[g(x)]}{[g(x)]^{2}}$$.