Skip to main content
\(\require{cancel}\newcommand{\highlight}[1]{{\color{blue}{#1}}} \newcommand{\apex}{A\kern -1pt \lower -2pt\mbox{P}\kern -4pt \lower .7ex\mbox{E}\kern -1pt X} \newcommand{\colorlinecolor}{blue!95!black!30} \newcommand{\bwlinecolor}{black!30} \newcommand{\thelinecolor}{\colorlinecolor} \newcommand{\colornamesuffix}{} \newcommand{\linestyle}{[thick, \thelinecolor]} \newcommand{\bmx}[1]{\left[\hskip -3pt\begin{array}{#1} } \newcommand{\emx}{\end{array}\hskip -3pt\right]} \newcommand{\ds}{\displaystyle} \newcommand{\fp}{f'} \newcommand{\fpp}{f''} \newcommand{\lz}[2]{\frac{d#1}{d#2}} \newcommand{\lzn}[3]{\frac{d^{#1}#2}{d#3^{#1}}} \newcommand{\lzo}[1]{\frac{d}{d#1}} \newcommand{\lzoo}[2]{{\frac{d}{d#1}}{\left(#2\right)}} \newcommand{\lzon}[2]{\frac{d^{#1}}{d#2^{#1}}} \newcommand{\lzoa}[3]{\left.{\frac{d#1}{d#2}}\right|_{#3}} \newcommand{\plz}[2]{\frac{\partial#1}{\partial#2}} \newcommand{\plzoa}[3]{\left.{\frac{\partial#1}{\partial#2}}\right|_{#3}} \newcommand{\inflim}[1][n]{\lim\limits_{#1 \to \infty}} \newcommand{\infser}[1][1]{\sum_{n=#1}^\infty} \newcommand{\Fp}{F\primeskip'} \newcommand{\Fpp}{F\primeskip''} \newcommand{\yp}{y\primeskip'} \newcommand{\gp}{g\primeskip'} \newcommand{\dx}{\Delta x} \newcommand{\dy}{\Delta y} \newcommand{\ddz}{\Delta z} \newcommand{\thet}{\theta} \newcommand{\norm}[1]{\left\lVert#1\right\rVert} \newcommand{\vnorm}[1]{\left\lVert\vec #1\right\rVert} \newcommand{\snorm}[1]{\left|\left|\ #1\ \right|\right|} \newcommand{\la}{\left\langle} \newcommand{\ra}{\right\rangle} \newcommand{\dotp}[2]{\vec #1 \cdot \vec #2} \newcommand{\proj}[2]{\text{proj}_{\,\vec #2}{\,\vec #1}} \newcommand{\crossp}[2]{\vec #1 \times \vec #2} \newcommand{\veci}{\vec i} \newcommand{\vecj}{\vec j} \newcommand{\veck}{\vec k} \newcommand{\vecu}{\vec u} \newcommand{\vecv}{\vec v} \newcommand{\vecw}{\vec w} \newcommand{\vecx}{\vec x} \newcommand{\vecy}{\vec y} \newcommand{\vrp}{\vec r\, '} \newcommand{\vsp}{\vec s\, '} \newcommand{\vrt}{\vec r(t)} \newcommand{\vst}{\vec s(t)} \newcommand{\vvt}{\vec v(t)} \newcommand{\vat}{\vec a(t)} \newcommand{\px}{\partial x} \newcommand{\py}{\partial y} \newcommand{\pz}{\partial z} \newcommand{\pf}{\partial f} \newcommand{\mathN}{\mathbb{N}} \newcommand{\zerooverzero}{\ds \raisebox{8pt}{\text{``\ }}\frac{0}{0}\raisebox{8pt}{\textit{ ''}}} \newcommand{\deriv}[2]{\myds\frac{d}{dx}\left(#1\right)=#2} \newcommand{\myint}[2]{\myds\int #1\ dx= {\ds #2}} \DeclareMathOperator{\sech}{sech} \DeclareMathOperator{\csch}{csch} \newcommand{\primeskip}{\hskip.75pt} \newcommand{\plotlinecolor}{blue} \newcommand{\colorone}{blue} \newcommand{\colortwo}{red} \newcommand{\coloronefill}{blue!15!white} \newcommand{\colortwofill}{red!15!white} \newcommand{\abs}[1]{\left\lvert #1\right\rvert} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section2.4The Product and Quotient Rules

Section 2.3 showed that, in some ways, derivatives behave nicely. The Constant Multiple Rule and Sum/Difference Rule established that the derivative of \(f(x) = 5x^2+\sin(x)\) was not complicated. We neglected computing the derivative of things like \(g(x) = 5x^2\sin(x)\) and \(h(x) = \frac{5x^2}{\sin(x) }\) on purpose; their derivatives are not as straightforward. (If you had to guess what their respective derivatives are, you would probably guess wrong.) For these, we need the Product and Quotient Rules, respectively, which are defined in this section. We begin with the Product Rule.

Warning2.4.2

\(\lzoo{x}{f(x)g(x)}\neq \fp(x)g'(x)\text{!}\) While this would be simpler than the Product Rule, it is wrong.

We practice using this new rule in an example, followed by an example that demonstrates why this theorem is true.

Example2.4.3Using the Product Rule

Use the Product Rule to compute the derivative of \(y=5x^2\sin(x)\text{.}\) Evaluate the derivative at \(x=\pi/2\text{.}\)

Solution

We now investigate why the Product Rule is true.

It is often true that we can recognize that a theorem is true through its proof yet somehow doubt its applicability to real problems. In the following example, we compute the derivative of a product of functions in two ways to verify that the Product Rule is indeed “right.”

Example2.4.5Exploring alternate derivative methods

Let \(y = (x^2+3x+1)(2x^2-3x+1)\text{.}\) Find \(y'\) two ways: first, by expanding the given product and then taking the derivative, and second, by applying the Product Rule. Verify that both methods give the same answer.

Solution
Example2.4.6Using the Product Rule with a product of three functions

Let \(y = x^3\ln(x) \cos(x)\text{.}\) Find \(y'\text{.}\)

Solution

We consider one more example before discussing another derivative rule.

Example2.4.7Using the Product Rule

Find the derivatives of the following functions.

  1. \(f(x) = x\ln(x)\)

  2. \(g(x) = x\ln(x) - x\text{.}\)

Solution

We have learned how to compute the derivatives of sums, differences, and products of functions. We now learn how to find the derivative of a quotient of functions.

The Quotient Rule is not hard to use, although it might be a bit tricky to remember. A useful mnemonic works as follows. Consider a fraction's numerator and denominator as “HI” and “LO”, respectively. Then \begin{equation*} \lzoo{x}{\frac{\text{ HI } }{\text{ LO } }} = \frac{\text{ LO}\cdot\text{dHI}-\text{HI}\cdot\text{dLO }}{\text{ LOLO } } \text{,} \end{equation*} read “low dee high minus high dee low, over low low.” Said fast, that phrase can roll off the tongue, making it easy to memorize. The “dee high” and “dee low” parts refer to the derivatives of the numerator and denominator, respectively.

Let's practice using the Quotient Rule.

Example2.4.9Using the Quotient Rule

Let \(f(x) = \frac{5x^2}{\sin(x) }\text{.}\) Find \(\fp(x)\text{.}\)

Solution

The Quotient Rule allows us to fill in holes in our understanding of derivatives of the common trigonometric functions. We start with finding the derivative of the tangent function.

Example2.4.10Using the Quotient Rule to find \(\lzoo{x}{\tan(x)}\)

Find the derivative of \(y=\tan(x)\text{.}\)

Solution

We include this result in the following theorem about the derivatives of the trigonometric functions. Recall we found the derivative of \(y=\sin(x)\) in Example 2.1.19 and stated the derivative of the cosine function in Theorem 2.3.1. The derivatives of the cotangent, cosecant and secant functions can all be computed directly using Theorem 2.3.1 and the Quotient Rule.

To remember the above, it may be helpful to keep in mind that the derivatives of the trigonometric functions that start with “c” have a minus sign in them.

Example2.4.13Exploring alternate derivative methods

In Example 2.4.9 the derivative of \(f(x) = \frac{5x^2}{\sin(x) }\) was found using the Quotient Rule. Rewriting \(f\) as \(f(x) = 5x^2\csc(x)\text{,}\) find \(\fp\) using Theorem 2.4.12 and verify the two answers are the same.

Solution

The Quotient Rule gives other useful results, as shown in the next example.

Example2.4.14Using the Quotient Rule to expand the Power Rule

Find the derivatives of the following functions.

  1. \(f(x) = \dfrac{1}{x}\)

  2. \(f(x)= \dfrac{1}{x^n}\text{,}\) where \(n>0\) is an integer.

Solution

The derivative of \(y=\frac{1}{x^n}\) turned out to be rather nice. It gets better. Consider: \begin{align*} \lzoo{x}{\frac{1}{x^n}} \amp = \lzoo{x}{x^{-n}} \amp\amp\text{ (apply result from } \knowl{./knowl/ex_deriv_power.html}{\text{Example 2.4.14}}\text{)} \\ \amp = -\frac{n}{x^{n+1}} \amp\amp \text{ (rewrite algebraically) }\\ \amp = -nx^{-(n+1)}\amp\\ \amp = -nx^{-n-1}\amp\text{.} \end{align*}

This is reminiscent of the Power Rule: multiply by the power, then subtract \(1\) from the power. We now add to our previous Power Rule, which had the restriction of \(n>0\text{.}\)

Taking the derivative of many functions is relatively straightforward. It is clear (with practice) what rules apply and in what order they should be applied. Other functions present multiple paths; different rules may be applied depending on how the function is treated. One of the beautiful things about calculus is that there is not “the” right way; each path, when applied correctly, leads to the same result, the derivative. We demonstrate this concept in an example.

Example2.4.16Exploring alternate derivative methods

Let \(f(x) = \frac{x^2-3x+1}{x}\text{.}\) Find \(\fp(x)\) in each of the following ways:

  1. By applying the Quotient Rule,

  2. by viewing \(f\) as \(f(x) = \left(x^2-3x+1\right)\cdot x^{-1}\) and applying the Product Rule and Power Rule with Integer Exponents, and

  3. by “simplifying” first through division.

Verify that all three methods give the same result.

Solution

Example 2.4.16 demonstrates three methods of finding \(\fp\text{.}\) One is hard pressed to argue for a “best method” as all three gave the same result without too much difficulty, although it is clear that using the Product Rule required more steps. Ultimately, the important principle to take away from this is: reduce the answer to a form that seems “simple” and easy to interpret. In that example, we saw different expressions for \(\fp\text{,}\) including: \begin{align*} \amp 1-\frac{1}{x^2} \\ \amp \frac{x\cdot(2x-3)-\left(x^2-3x+1\right)\cdot 1}{x^2} \\ \amp \left(x^2-3x+1\right)\cdot (-1)x^{-2} + (2x-3)\cdot x^{-1}. \end{align*}

They are equal; they are all correct; only the first is “simple.” Work to make answers simple.

In the next section we continue to learn rules that allow us to more easily compute derivatives than using the limit definition directly. We have to memorize the derivatives of a certain set of functions, such as “the derivative of \(\sin(x)\) is \(\cos(x)\text{.}\)” The Sum/Difference Rule, Constant Multiple Rule, Power Rule, Product Rule and Quotient Rule show us how to find the derivatives of certain combinations of these functions. The next section shows how to find the derivatives when we compose these functions together.

Subsection2.4.1Exercises

In the following exercises:

  1. Use the Product Rule to differentiate the function.

  2. Manipulate the function algebraically and differentiate without the Product Rule.

  3. Show that the answers from (a) and (b) are equivalent.

In the following exercises:

  1. Use the Quotient Rule to differentiate the function.

  2. Manipulate the function algebraically and differentiate without the Quotient Rule.

  3. Show that the answers from (a) and (b) are equivalent.

In the following exercises, find the equations of the tangent and normal lines to the graph of \(g\) at the indicated point.

In the following exercises, find the \(x\)-values where the graph of the function has a horizontal tangent line.

In the following exercises, find the requested higher order derivative.

In the following exercises, use the graph of \(f(x)\) to sketch \(\fp(x)\text{.}\)

42

<<SVG image is unavailable, or your browser cannot render it>>

Answer Solution
43

<<SVG image is unavailable, or your browser cannot render it>>

Answer Solution
44

<<SVG image is unavailable, or your browser cannot render it>>

Answer Solution
45

<<SVG image is unavailable, or your browser cannot render it>>

Answer Solution