How to use the chain rule and product rule together
Some derivatives use the chain rule and the product rule in the same problem. The order depends on how the function is built, so we’ll start by looking at what happens on the outside. The video works through a different example of the same idea.
Choose the rule from the outside operation
If the whole expression is a power of an inside function , use the chain rule. Differentiate the outside power and multiply by . If is a product, use the product rule to find . If the whole expression is already a product , start with the product rule and differentiate each factor as needed.
Example: Differentiate a power of a product
The product is inside the power. Let so that . The chain rule gives . To find , differentiate and using the product rule.
Put and back into the derivative. The negative exponent puts in the denominator. Cancel the common factor of and simplify the coefficient.
This function and its derivative are defined for , because is zero only when .
Example: Differentiate a product with a power as one factor
This time the outside operation is multiplication. Let and . The chain rule for gives us a factor of from differentiating . For , we only need the power rule.
Now add and . We can leave the result as a sum or factor out to simplify it.