Lesson Video: The Product Rule | Nagwa Lesson Video: The Product Rule | Nagwa

Lesson Video: The Product Rule Mathematics

In this video, we will learn how to find the derivative of a function using the product rule.

15:26

Video Transcript

In this video, we’ll learn how to apply the product rule to find the derivative of a function which is the product of two or more other functions. We’ll begin by learning what the product rule actually is before applying the rule to help us find the derivative of a number of functions, including those which are themselves are product of at least three different functions. We’ll also briefly consider the application of the product rule for calculating the coordinates of the critical points or stationary points on a graph.

Consider the example of π‘₯ squared plus three π‘₯ plus one times π‘₯ minus four π‘₯ to the power of five.

Let’s think how we could find the derivative of this expression with respect to π‘₯. In the past, we might have looked to distribute this parentheses before applying the normal rules for differentiation to each of the resultant terms. In fact though, this expression is the product of two separate functions. The first is the function π‘₯ squared plus three π‘₯ plus one. The second is the function π‘₯ minus four π‘₯ to the power of five.

And there’s a rule that will allow us to differentiate any expression which is the product of two or more functions. Funnily enough, this rule is called the product rule. Now, the proof of the product rule is somewhat long-winded and that’s outside of the constraints of this video. Instead, we’ll simply state the product rule and consider its application to calculus.

The product rule states that the derivative of the product of functions 𝑓 and 𝑔 is equal to 𝑓 multiplied by the derivative of 𝑔 plus the derivative of 𝑓 multiplied by 𝑔. And this is sometimes alternatively written as the derivative of 𝑒𝑣 with respect to π‘₯ is 𝑒 times d𝑣 by dπ‘₯ plus 𝑣 times d𝑒 by dπ‘₯, where here 𝑒 and 𝑣 are functions in π‘₯. It’s very much a matter of personal preference as to which you decide to use. But this rule does need to be memorized. We’ll begin by considering a simple example of the application of this rule.

Find the first derivative of the function 𝑦 equals three π‘₯ to the power of five plus seven multiplied by seven minus three π‘₯ to the power of five.

Here, we have an equation which is the product of two functions. Since this is the case, we can find the derivative of this function by applying the product rule. Remember this rule says that the derivative of the product of 𝑓 and 𝑔 is equal to 𝑓 times the derivative of 𝑔 plus the derivative of 𝑓 times 𝑔. It’s always sensible to write down what we actually know about the expression we’re looking to differentiate. We can say that it’s the product of two functions. Let’s call the first one 𝑓 of π‘₯ three π‘₯ to the power of five plus seven. And we’ll call the second 𝑔 of π‘₯. It’s seven minus three π‘₯ to the power of five. We’re going to need to find the first derivative of each of these functions.

Remember the derivative of a simple algebraic expressions such as π‘Žπ‘₯ to the power of 𝑛, where π‘Ž and 𝑛 are real constants, is 𝑛 times π‘Žπ‘₯ to the power of 𝑛 minus one. We multiply by the exponent and then reduce that exponent by one. And what this does actually mean is that the derivative of a constant is zero since a constant β€” let’s say the number one β€” is actually one π‘₯ to the power of zero. When we multiply by the exponent, we actually just end up with an answer of zero. This means the derivative of 𝑓 of π‘₯ is five times three π‘₯ to the power of four plus zero which is simply 15π‘₯ to the power of four. Similarly, the derivative of 𝑔 of π‘₯ is zero minus five times three π‘₯ to the power of four which is negative 15π‘₯ to the power of four.

Let’s substitute what we know into the formula for the product rule. d𝑦 by dπ‘₯ is equal to three π‘₯ to the power of five plus seven times negative 15π‘₯ to the power of four plus 15π‘₯ to the power of four times seven minus three π‘₯ to the power of five. We then distribute these parentheses by multiplying each term by the term outside. And we get negative 45π‘₯ to the power of nine minus 105π‘₯ to the power of four plus 105π‘₯ to the power of four minus 45π‘₯ to the power of nine. Negative 105π‘₯ to the power of four plus 105π‘₯ to the power of four is zero. And we can see that the first derivative of our function is negative 90π‘₯ to the power of nine. It’s also useful to know that we can apply this rule to find the derivative at a given point.

Let’s consider an example of this.

Find the first derivative of 𝑓 of π‘₯ equals nine π‘₯ squared minus π‘₯ minus seven times seven π‘₯ squared minus eight π‘₯ minus seven at negative one, 24.

Here, we have an equation which is the product of two functions. Since this is the case, we can find the derivative of this function by applying the product rule. Remember that says that we can find the derivative of the product of 𝑓 and 𝑔 by finding 𝑓 times the derivative of 𝑔 plus the derivative of 𝑓 times 𝑔. Now, actually our equation is 𝑓 of π‘₯. So we’re going to split our two functions into 𝑔 of π‘₯ and β„Ž of π‘₯. We can say that 𝑔 of π‘₯ is equal to nine π‘₯ squared minus π‘₯ minus seven and β„Ž of π‘₯ is equal to seven π‘₯ squared minus eight π‘₯ minus seven. And then, I’ve changed the product rule. This time, it says the derivative of 𝑔 times β„Ž is 𝑔 times the derivative of β„Ž plus the derivative of 𝑔 times β„Ž. Let’s find the derivative of 𝑔.

The derivative of nine π‘₯ squared is 18π‘₯ and the derivative of negative π‘₯ is negative one. So the derivative of 𝑔 of π‘₯ is 18 π‘₯ minus one. Similarly, the derivative of β„Ž of π‘₯ is 14π‘₯ minus eight. Let’s substitute what we know into the formula for the product rule. The derivative of 𝑓 with respect to π‘₯ is therefore nine π‘₯ squared minus π‘₯ minus seven times 14π‘₯ minus eight plus seven π‘₯ squared minus eight π‘₯ minus seven times 18π‘₯ minus one. We distribute the parentheses carefully and collect like terms. And we see that the derivative of 𝑓 of π‘₯ is 252π‘₯ cubed minus 237π‘₯ squared minus 208π‘₯ plus 63.

But we aren’t quite finished. We’ve been asked to find the derivative at the point negative one, 24. This is the point in our Cartesian plane, where π‘₯ is equal to negative one and 𝑦 is equal to 24. So we can substitute π‘₯ is equal to negative one into our expression for the derivative. That’s 252 times negative one cubed minus 237 times negative one squared minus 208 times negative one plus 63, which is negative 218. In fact, it’s useful to remember that this actually tells us the gradient of the tangent to the curve at the point negative one, 24.

In our next example, we’ll consider how to apply the product rule to differentiate an expression which is the product of more than two functions.

The product rule says that the derivative of 𝑓𝑔 is equal to the derivative of 𝑓 times 𝑔 plus 𝑓 times the derivative of 𝑔. Use this to derive a formula for the derivative of 𝑓 times 𝑔 times β„Ž.

In this question, we’ve been given the product rule and asked to use it to find a formula for the derivative of the product of three functions. These are 𝑓, 𝑔, and β„Ž. We’re going to begin by splitting 𝑓 times 𝑔 times β„Ž up. We’re going to write it as 𝑓𝑔 times β„Ž. Remember since multiplication is commutative, we could have alternatively written it as 𝑓 times π‘”β„Ž and we will get the same answer either way. So we can say that the derivative of π‘“π‘”β„Ž is equal to the derivative of 𝑓𝑔 times β„Ž.

And we’re now going to apply the product rule. We can see that this is equal to the derivative of 𝑓𝑔 times β„Ž plus 𝑓𝑔 times the derivative of β„Ž. And now, we spot that the first term we have is the derivative of 𝑓𝑔. We know though by the definition of the product rule that this is the same as the derivative of 𝑓 times 𝑔 plus 𝑓 times the derivative of 𝑔. So we replace this in our formula. And we’re going to distribute these parentheses.

When we do, we see that the formula for the derivative of π‘“π‘”β„Ž is the derivative of 𝑓 times 𝑔 times β„Ž plus 𝑓 times the derivative of 𝑔 times β„Ž plus 𝑓 times 𝑔 times the derivative of β„Ž. You might also like to see if you can apply this idea to help you find a formula for the derivative of the product of four functions, say π‘“π‘”β„Žπ‘–.

Next, we’re going to look at how this example can help us to find the derivative of an expression which is the product of three functions.

Find the first derivative of 𝑓 of π‘₯ equals π‘₯ to the power of eight plus four times three π‘₯ root π‘₯ minus seven times three π‘₯ root π‘₯ plus seven at π‘₯ equals negative one.

To answer this question, we have two options. We could use the product rule twice or we could recall the definition of the derivative of the product of three functions. The derivative of 𝑓 times 𝑔 times β„Ž is the derivative of 𝑓 times 𝑔 times β„Ž plus 𝑓 times the derivative of 𝑔 times β„Ž plus 𝑓 times 𝑔 times the derivative of β„Ž. Now since our function is actually 𝑓 of π‘₯, I’ve changed the functions in this formula to be 𝑒 𝑣 and 𝑀. So let’s work out what the functions 𝑒, 𝑣, and 𝑀 actually are. We can say that 𝑒 of π‘₯ is equal to π‘₯ to the power of eight plus four. 𝑣 of π‘₯ is equal to three π‘₯ root π‘₯ minus seven. And 𝑀 of π‘₯ is equal to three π‘₯ root π‘₯ plus seven.

We need to differentiate each of these functions with respect to π‘₯ as per the formula for the product rule with three functions. The derivative of 𝑒 is fairly straightforward. It’s just eight π‘₯ to the power of seven. But what about 𝑣 and 𝑀? Well, we could use the product rule. But actually, we can simply rewrite each of these expressions. We know that the square root of π‘₯ is the same as π‘₯ to power of one-half. And the laws of exponents tell us we can simplify this expression by adding the powers.

And when we do, we see that 𝑣 of π‘₯ can be written as three π‘₯ to the power of three over two minus seven and 𝑀 of π‘₯ is three π‘₯ to the power of three over two plus seven. And this means the derivative of the 𝑣 is three over two times three π‘₯ to the power of one-half or nine over two π‘₯ to the power of one-half. And actually, the derivative of 𝑀 is the same.

We now have everything we need to substitute this into our formula for the product rule. Now, at this point, you might be tempted to jump straight into substituting π‘₯ is equal to negative one into the derivative. However, we have some roots here and that might cause issues. Instead, we carefully distribute each set of parentheses and simplify fully. And when we do, we see that the derivative of 𝑓 of π‘₯ is 99π‘₯ to the power of 10 minus 392π‘₯ to the power of seven plus 108π‘₯ to the power of two.

And we can now evaluate this at π‘₯ is equal to negative one. It’s 99 times negative one to the power of 10 minus 392 times negative one to the power of seven plus 108 times negative one squared which is equal to 599.

In our final example, we’ll consider how to use the product rule to solve problems involving critical points.

Find the coordinates of the critical points on the curve with equation 𝑦 equals π‘₯ over 16 plus π‘₯ squared.

The critical points of a curve are found when the derivative is made equal to zero. We’ll begin then by differentiating our equation 𝑦 in terms of π‘₯. We can begin by rewriting our equation as π‘₯ times 16 plus π‘₯ squared to the power of negative one. And we can now differentiate this using the product rule. We’ll let our first function β€” I’ve called that 𝑒 β€” be equal to π‘₯. And we’ll say our second function is 16 plus π‘₯ squared to the power of negative one. It’s quite straightforward to find the derivative of 𝑒. We just get one. But we’re going to need to use the chain rule to differentiate 16 plus π‘₯ squared to the power of negative one.

We’re going to let 𝑑 be equal to 16 plus π‘₯ squared. Then, differentiating 𝑑 with respect to π‘₯ gives us two π‘₯. And we can now say that 𝑣 is equal to 𝑑 to the power of negative one. We need to differentiate 𝑣 with respect to 𝑑. And when we do, we see that it’s negative 𝑑 to the power of negative two. The derivative of our function 𝑣 with respect to π‘₯ is equal to d𝑣 by d𝑑 times d𝑑 by dπ‘₯. At the moment, that’s negative 𝑑 to the power of negative two times two π‘₯. We can now replace 𝑑 with 16 plus π‘₯ squared. And we’ve differentiated 𝑣 with respect to π‘₯.

We can now clear some space and apply the product rule. It’s 𝑒 multiplied by the derivative of 𝑣 plus 𝑣 multiplied by the derivative of 𝑒. We then rewrite it slightly. We say that the derivative of 𝑦 with respect to π‘₯ is negative two π‘₯ squared over 16 plus π‘₯ squared all squared plus one over 16 plus π‘₯ squared. We’re going to simplify this expression by multiplying the denominator and the numerator of our second fraction by 16 plus π‘₯ squared. And we see that we now have negative two π‘₯ squared over 16 plus π‘₯ squared squared plus 16 plus π‘₯ squared over 16 plus π‘₯ squared squared.

By adding the numerators, we see we’ve successfully found the derivative. It’s negative π‘₯ squared plus 16 over 16 plus π‘₯ squared all squared. Now earlier, we said that the coordinates of the critical points could be found by letting the derivative be equal to zero. So we’re going to say our fraction negative π‘₯ squared plus 16 over 16 plus π‘₯ squared squared is equal to zero. And then, we consider what needs to be true for this to be the case. Well, it doesn’t actually matter what the denominator of our fraction is. If the numerator of our fraction is zero, then the entire fraction must be equal to zero.

So we say that negative π‘₯ squared plus 16 is equal to zero and we solve this. We add π‘₯ squared to both sides which gives us π‘₯ squared equals 16. And then, we find the square root of both sides of the equation, remembering to take both the positive and negative square roots of 16. And we end up with two values for π‘₯: positive and negative four. So the critical points of our curve occur when π‘₯ is equal to plus or minus four. We’re going to need to substitute this back into the original equation to find the coordinates of the critical points.

When π‘₯ is equal to four, 𝑦 is four over 16 plus four squared which is one-eighth. And when π‘₯ is equal to negative four, 𝑦 is negative four over 16 plus negative four squared which is negative one-eighth. So the coordinates of the critical points on the curve with equation 𝑦 equals π‘₯ over 16 plus π‘₯ squared are four, one-eighth and negative four, negative one-eighth.

In this video, we’ve learned that we can apply the product rule to find the derivative of the product of two functions. We’ve learned that for two functions 𝑓 and 𝑔, the derivative of their product is 𝑓 times the derivative of 𝑔 plus the derivative of 𝑓 times 𝑔. And finally, we’ve seen that whilst we can apply the product rule in succession, we can also find the product of three functions by using the given formula.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy