7.7 The product, quotient and chain rules — Learn
Prerequisites: the standard derivatives from Section 7.3, including , , and ; multiplying and dividing algebraic fractions.
By the end of this section you can: differentiate a product of two functions; differentiate a quotient of two functions; differentiate a function of a function with the chain rule; and choose the right rule for an expression.
1. The product rule
When a function is a product of two simpler functions, write the first as and the second as . Then
In words: differentiate the first and keep the second, then keep the first and differentiate the second, and add the two results.
Example 1. Differentiate .
Take and , so and . Then
Example 2. Differentiate .
Take and . Then and , so
Taking out the common factor tidies the answer.
2. The quotient rule
For a quotient ,
The order matters in the numerator: the denominator times the derivative of the top, minus the top times the derivative of the bottom.
Example 3. Differentiate .
Take and . Then and , so
Example 4. Differentiate .
Take and . Then and , so
3. The chain rule
When a function is applied to another function, differentiate the outside and multiply by the derivative of the inside:
where is the inside function.
Example 5. Differentiate .
Let , so . Then
and
Example 6. Differentiate .
The outside function is sine and the inside function is :
Example 7. Differentiate .
Example 8. Differentiate .
4. Choosing the rule
Read the structure of the expression before you start.
| Structure | Rule | Example |
|---|---|---|
| A product, | product rule | |
| A quotient, | quotient rule | |
| A function of a function | chain rule | , |
| A simple sum or multiple | power rule, term by term |
A chain-rule expression can be a product as well. Then use the chain rule inside the product rule, and name each part.
Watch out. Four mistakes are common with these rules.
Leaving a term out of the product rule. The rule has two terms, joined by a plus sign. The derivative of is not . Check with and : the product rule gives , which matches the derivative of .
Reversing the quotient rule. The numerator starts with the bottom times the derivative of the top. Reversing the two products changes the sign of the answer.
Forgetting the inside derivative in the chain rule. The derivative of is , not . Always multiply by the derivative of the inside.
Using the quotient rule on a constant denominator. A fraction such as has a constant bottom, so divide by and use the power rule. Re-check: after differentiating, look for a common factor and take it out.
You should now be able to
- differentiate a product with the product rule;
- differentiate a quotient with the quotient rule;
- differentiate a function of a function with the chain rule;
- choose the right rule from the structure of the expression;
- take out a common factor to simplify an answer.