*i.e.*you are probably on a mobile phone). Due to the nature of the mathematics on this site it is best views in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (should be able to scroll to see them) and some of the menu items will be cut off due to the narrow screen width.

### Section 3-4 : Product and Quotient Rule

In the previous section we noted that we had to be careful when differentiating products or quotients. It’s now time to look at products and quotients and see why.

First let’s take a look at why we have to be careful with products and quotients. Suppose that we have the two functions \(f\left( x \right) = {x^3}\) and \(g\left( x \right) = {x^6}\). Let’s start by computing the derivative of the product of these two functions. This is easy enough to do directly.

\[{\left( {f\,g} \right)^\prime } = {\left( {{x^3}{x^6}} \right)^\prime } = {\left( {{x^9}} \right)^\prime } = 9{x^8}\]Remember that on occasion we will drop the \(\left( x \right)\) part on the functions to simplify notation somewhat. We’ve done that in the work above.

Now, let’s try the following.

\[f'\left( x \right)g'\left( x \right) = \left( {3{x^2}} \right)\left( {6{x^5}} \right) = 18{x^7}\]So, we can very quickly see that.

\[{\left( {f\,g} \right)^\prime } \ne f'\,g'\]In other words, the derivative of a product is not the product of the derivatives.

Using the same functions we can do the same thing for quotients.

\[{\left( {\frac{f}{g}} \right)^\prime } = {\left( {\frac{{{x^3}}}{{{x^6}}}} \right)^\prime } = {\left( {\frac{1}{{{x^3}}}} \right)^\prime } = {\left( {{x^{ - 3}}} \right)^\prime } = - 3{x^{ - 4}} = - \frac{3}{{{x^4}}}\] \[\frac{{f'\left( x \right)}}{{g'\left( x \right)}} = \frac{{3{x^2}}}{{6{x^5}}} = \frac{1}{{2{x^3}}}\]So, again we can see that,

\[{\left( {\frac{f}{g}} \right)^\prime } \ne \frac{{f'}}{{g'}}\]To differentiate products and quotients we have the **Product Rule** and the **Quotient Rule**.

#### Product Rule

If the two functions \(f\left( x \right)\) and \(g\left( x \right)\) are differentiable (*i.e.* the derivative exist) then the product is differentiable and,

The proof of the Product Rule is shown in the Proof of Various Derivative Formulas section of the Extras chapter.

#### Quotient Rule

If the two functions \(f\left( x \right)\) and \(g\left( x \right)\) are differentiable (*i.e.* the derivative exist) then the quotient is differentiable and,

Note that the numerator of the quotient rule is very similar to the product rule so be careful to not mix the two up!

The proof of the Quotient Rule is shown in the Proof of Various Derivative Formulas section of the Extras chapter.

Let’s do a couple of examples of the product rule.

- \(y = \sqrt[3]{{{x^2}}}\left( {2x - {x^2}} \right)\)
- \(f\left( x \right) = \left( {6{x^3} - x} \right)\left( {10 - 20x} \right)\)

At this point there really aren’t a lot of reasons to use the product rule. As we noted in the previous section all we would need to do for either of these is to just multiply out the product and then differentiate.

With that said we will use the product rule on these so we can see an example or two. As we add more functions to our repertoire and as the functions become more complicated the product rule will become more useful and in many cases required.

a \(y = \sqrt[3]{{{x^2}}}\left( {2x - {x^2}} \right)\) Show SolutionNote that we took the derivative of this function in the previous section and didn’t use the product rule at that point. We should however get the same result here as we did then.

Now let’s do the problem here. There’s not really a lot to do here other than use the product rule. However, before doing that we should convert the radical to a fractional exponent as always.

\[y = {x^{\frac{2}{3}}}\left( {2x - {x^2}} \right)\]Now let’s take the derivative. So, we take the derivative of the first function times the second then add on to that the first function times the derivative of the second function.

\[y' = \frac{2}{3}{x^{ - \frac{1}{3}}}\left( {2x - {x^2}} \right) + {x^{\frac{2}{3}}}\left( {2 - 2x} \right)\]This is NOT what we got in the previous section for this derivative. However, with some simplification we can arrive at the same answer.

\[y' = \frac{4}{3}{x^{\frac{2}{3}}} - \frac{2}{3}{x^{\frac{5}{3}}} + 2{x^{\frac{2}{3}}} - 2{x^{\frac{5}{3}}} = \frac{{10}}{3}{x^{\frac{2}{3}}} - \frac{8}{3}{x^{\frac{5}{3}}}\]This is what we got for an answer in the previous section so that is a good check of the product rule.

b \(f\left( x \right) = \left( {6{x^3} - x} \right)\left( {10 - 20x} \right)\) Show Solution

This one is actually easier than the previous one. Let’s just run it through the product rule.

\[\begin{align*}f'\left( x \right) & = \left( {18{x^2} - 1} \right)\left( {10 - 20x} \right) + \left( {6{x^3} - x} \right)\left( { - 20} \right)\\ & = - 480{x^3} + 180{x^2} + 40x - 10\end{align*}\]Since it was easy to do we went ahead and simplified the results a little.

Let’s now work an example or two with the quotient rule. In this case, unlike the product rule examples, a couple of these functions will require the quotient rule in order to get the derivative. The last two however, we can avoid the quotient rule if we’d like to as we’ll see.

- \(\displaystyle W\left( z \right) = \frac{{3z + 9}}{{2 - z}}\)
- \(\displaystyle h\left( x \right) = \frac{{4\sqrt x }}{{{x^2} - 2}}\)
- \(\displaystyle f\left( x \right) = \frac{4}{{{x^6}}}\)
- \(\displaystyle y = \frac{{{w^6}}}{5}\)

There isn’t a lot to do here other than to use the quotient rule. Here is the work for this function.

\[\begin{align*}W'\left( z \right) & = \frac{{3\left( {2 - z} \right) - \left( {3z + 9} \right)\left( { - 1} \right)}}{{{{\left( {2 - z} \right)}^2}}}\\ & = \frac{{15}}{{{{\left( {2 - z} \right)}^2}}}\end{align*}\]b \(\displaystyle h\left( x \right) = \frac{{4\sqrt x }}{{{x^2} - 2}}\) Show Solution

Again, not much to do here other than use the quotient rule. Don’t forget to convert the square root into a fractional exponent.

\[\begin{align*}h'\left( x \right) & = \frac{{4\left( {{\textstyle{1 \over 2}}} \right){x^{ - \frac{1}{2}}}\left( {{x^2} - 2} \right) - 4{x^{\frac{1}{2}}}\left( {2x} \right)}}{{{{\left( {{x^2} - 2} \right)}^2}}}\\ & = \frac{{2{x^{\frac{3}{2}}} - 4{x^{ - \frac{1}{2}}} - 8{x^{\frac{3}{2}}}}}{{{{\left( {{x^2} - 2} \right)}^2}}}\\ & = \frac{{ - 6{x^{\frac{3}{2}}} - 4{x^{ - \frac{1}{2}}}}}{{{{\left( {{x^2} - 2} \right)}^2}}}\end{align*}\]c \(\displaystyle f\left( x \right) = \frac{4}{{{x^6}}}\) Show Solution

It seems strange to have this one here rather than being the first part of this example given that it definitely appears to be easier than any of the previous two. In fact, it is easier. There is a point to doing it here rather than first. In this case there are two ways to do compute this derivative. There is an easy way and a hard way and in this case the hard way is the quotient rule. That’s the point of this example.

Let’s do the quotient rule and see what we get.

\[f'\left( x \right) = \frac{{\left( 0 \right)\left( {{x^6}} \right) - 4\left( {6{x^5}} \right)}}{{{{\left( {{x^6}} \right)}^2}}} = \frac{{ - 24{x^5}}}{{{x^{12}}}} = - \frac{{24}}{{{x^7}}}\]Now, that was the “hard” way. So, what was so hard about it? Well actually it wasn’t that hard, there is just an easier way to do it that’s all. However, having said that, a common mistake here is to do the derivative of the numerator (a constant) incorrectly. For some reason many people will give the derivative of the numerator in these kinds of problems as a 1 instead of 0! Also, there is some simplification that needs to be done in these kinds of problems if you do the quotient rule.

The easy way is to do what we did in the previous section.

\[f'\left( x \right) = 4{x^{ - 6}} = - 24{x^{ - 7}} = - \frac{{24}}{{{x^7}}}\]Either way will work, but I’d rather take the easier route if I had the choice.

d \(\displaystyle y = \frac{{{w^6}}}{5}\) Show Solution

This problem also seems a little out of place. However, it is here again to make a point. Do not confuse this with a quotient rule problem. While you can do the quotient rule on this function there is no reason to use the quotient rule on this. Simply rewrite the function as

\[y = \frac{1}{5}{w^6}\]and differentiate as always.

\[y' = \frac{6}{5}{w^5}\]Finally, let’s not forget about our applications of derivatives.

Determine if the balloon is being filled with air or being drained of air at \(t = 8\).

If the balloon is being filled with air then the volume is increasing and if it’s being drained of air then the volume will be decreasing. In other words, we need to get the derivative so that we can determine the rate of change of the volume at \(t = 8\)*.*

This will require the quotient rule.

\[\begin{align*} {V}'\left( t \right) & =\frac{2{{t}^{-\frac{2}{3}}}\left( 4t+1 \right)-6{{t}^{\frac{1}{3}}}\left( 4 \right)}{{{\left( 4t+1 \right)}^{2}}} \\ & =\frac{-16{{t}^{\frac{1}{3}}}+2{{t}^{-\frac{2}{3}}}}{{{\left( 4t+1 \right)}^{2}}} \\ & =\frac{-16{{t}^{\frac{1}{3}}}+{}^{2}/{}_{{{t}^{\tfrac{2}{3}}}}}{{{\left( 4t+1 \right)}^{2}}} \end{align*}\]Note that we simplified the numerator more than usual here. This was only done to make the derivative easier to evaluate.

The rate of change of the volume at \(t = 8\) is then,

\[\begin{align*}V'\left( 8 \right) & = \frac{{ - 16\left( 2 \right) + \frac{2}{4}}}{{{{\left( {33} \right)}^2}}}\hspace{0.25in}\hspace{0.25in}{\left( 8 \right)^{\frac{1}{3}}} = 2\hspace{0.25in}{\left( 8 \right)^{\frac{2}{3}}} = {\left( {{{\left( 8 \right)}^{\frac{1}{3}}}} \right)^2} = {\left( 2 \right)^2} = 4\\ & = - \frac{{63}}{{2178}} = - \frac{7}{{242}}\end{align*}\]So, the rate of change of the volume at \(t = 8\) is negative and so the volume must be decreasing. Therefore, air is being drained out of the balloon at \(t = 8\).

As a final topic let’s note that the product rule can be extended to more than two functions, for instance.

\[\begin{align*}{\left( {f\,g\,h} \right)^\prime } & = f'\,g\,h + f\,g'\,h + f\,g\,h'\\ & {\left( {f\,g\,h\,w} \right)^\prime } = f'\,g\,h\,w + f\,g'\,h\,w + f\,g\,h'\,w + f\,g\,h\,w'\end{align*}\]Deriving these products of more than two functions is actually pretty simple. For example, let’s take a look at the three function product rule.

First, we don’t think of it as a product of three functions but instead of the product rule of the two functions \(f\,g\) and \(h\) which we can then use the two function product rule on. Doing this gives,

\[{\left( {f\,g\,h} \right)^\prime } = {\left( {\left[ {f\,g} \right]\,h} \right)^\prime } = {\left[ {f\,g} \right]^\prime }h + \left[ {f\,g} \right]h'\]Note that we put brackets on the \(f\,g\) part to make it clear we are thinking of that term as a single function. Now all we need to do is use the two function product rule on the \({\left[ {f\,g} \right]^\prime }\) term and then do a little simplification.

\[{\left( {f\,g\,h} \right)^\prime } = \left[ {f'\,g + f\,g'} \right]h + \left[ {f\,g} \right]h' = f'\,g\,h + f\,g'\,h + f\,g\,h'\]Any product rule with more functions can be derived in a similar fashion.

With this section and the previous section we are now able to differentiate powers of \(x\) as well as sums, differences, products and quotients of these kinds of functions. However, there are many more functions out there in the world that are not in this form. The next few sections give many of these functions as well as give their derivatives.