- Need one-on-one tutoring with me? I teach all of this material! Contact me for a quick response on your needs.
- Want my FULL version of these notes with more worked examples and help? Click here.
Introduction
Thus far we have looked at differentiating functions using the definition of the derivative as well as with the power rule of differentiation. We also looked at the linearity of the derivative operator, meaning we could also tackle sums and differences of these power functions, such as . We simply take the derivatives of the individual terms here, and add the results.
However, this does not work with multiplication. In words, the derivative of a product of functions does not equal the product of their individual derivatives. In math,
You can show that this doesn’t work by considering the function . This is a product of individual functions as mentioned above. This function is simply equal to , so the derivative should be . What if we go back to the original and take the derivative of and separately, and multiply them together? We would get , which we can see is clearly not the derivative we know it should be Clearly we have validated the non-equality of Equation 1.
It turns out that the derivative of a product is a little more complicated than this, but not by much! I provide the following product rule of differentiation without proof:
Using this rule always entails thinking about the pattern rather than the function names, such as “last d first plus first d last”, where I rearranged the order of saying the first part even though the result is the same, and “d” implies derivative. Also notice this result is perfectly reversible; you can do either part first because they’re added together, so just make sure you end up with two terms, each of which has one of the derivatives. Let’s look at implementing the product rule!
Example 1
Let like in our example above. Show that the derivative ends up being the expected with the product rule.
In the above example, if we lay out our function over the formula for the product rule, we have that and . Therefore the derivative of this product is given as follows:
as expected since is simply !
When the product rule isn’t needed
We didn’t need to use the product rule for the above example. Even though the product rule is always true for any two functions, here are two situations where we don’t need to use it:
- One of the “functions” is a simple constant (constants can be pulled out of the derivative operator), such as with or .
- If you can simply multiply the two functions together and take the derivative of what results, such as with and .
There are indeed various situations where you have no choice but to use the product rule because the factors don’t combine, such as in the functions , , , and .
Example 2
Find the derivative of , first by multiplying the factors together and differentiating without the product rule, and then by using the product rule and simplifying the answer.
Note that the given in this problem has nothing to do with the in the power rule. You’ll have to keep them separate in your work and in your mind while completing the product rule. Now, note that this is another example where we don’t necessarily need the product rule, because we can distribute the first term into the parenthesis to eliminate the product, as follows.
However, the product rule is always correct, and neither of the factors is just a constant, so let’s employ it. Now, you’ll often come across problems that call the overall composite function , for example. So when employing the product rule (in which I called the first factor, not the overall function), always be thinking about “first” and “last” functions, not f(x) and g(x). It just makes it simpler to think about.
The derivative with the product rule is then:
just like before!
Example 3
Find where
The product rule is as follows:
which you can verify by foiling out y(x) and taking the derivative of the pieces.
Example 4
Find where
We’ll call the first function , including the 3, even though we could also pull the 3 entirely out of the derivative with the same results.
which you can verify by foiling out y(x) and taking the derivative of the pieces.
Example 5
Find the derivative of .
This is clearly a product of functions. However, notice here that we can’t easily distribute the first part into the radical, so we use the product rule:
where the last line included finding a common denominator and adding the fractions (only algebra here, no calculus), although either colored expression is an acceptable final answer.
Distributing?
It turns out this problem can be performed without the product rule as well, although there are still many problems that cannot be handled in this way. Notice that . Therefore,
and now there’s no product! The derivative proceeds with the chain rule. Ignore this approach if you haven’t yet done the chain rule.
where the last term is from the chain rule. This simplifies to what we got before as follows:
More Product Rule Examples
The following are more examples of using the product rule with special functions and the chain rule, which are only covered later on in these notes. These problems only apply after you’ve done some future material as well.
Example 6
Find the derivative of .
This is clearly a product of functions, so we’ll proceed with the product rule.
Example 7
Let . Find .
Using the product rule,
where in the last line, I factored out the common exponential term. Adding the fractions with a common denominator produces
Example 8
Find where .
Using the product rule, we find that
Example 9
Using the product rule, find .
We get the following:
Need more? Here you can get the full version of these notes!