Combining the Chain Rule with Other Rules
Now that we can combine the chain rule and the power rule, we examine how to combine the chain rule with the other rules we have learned. In particular, we can use it with the formulas for the derivatives of trigonometric functions or with the product rule.
Example 3.51
Using the Chain Rule on a General Cosine Function
Find the derivative of \(h \left(\right. x \left.\right) = \text{cos} \left(\right. g \left(\right. x \left.\right) \left.\right) .\)
Solution
Think of \(h \left(\right. x \left.\right) = \text{cos} \left(\right. g \left(\right. x \left.\right) \left.\right)\) as \(f \left(\right. g \left(\right. x \left.\right) \left.\right)\) where \(f \left(\right. x \left.\right) = \text{cos} x .\) Since \(f^{'} \left(\right. x \left.\right) = − \text{sin} x .\) we have \(f^{'} \left(\right. g \left(\right. x \left.\right) \left.\right) = − \text{sin} \left(\right. g \left(\right. x \left.\right) \left.\right) .\) Then we do the following calculation.
Thus, the derivative of \(h \left(\right. x \left.\right) = \text{cos} \left(\right. g \left(\right. x \left.\right) \left.\right)\) is given by \(h^{'} \left(\right. x \left.\right) = − \text{sin} \left(\right. g \left(\right. x \left.\right) \left.\right) g^{'} \left(\right. x \left.\right) .\)
In the following example we apply the rule that we have just derived.
Example 3.52
Using the Chain Rule on a Cosine Function
Find the derivative of \(h \left(\right. x \left.\right) = \text{cos} \left(\right. 5 x^{2} \left.\right) .\)
Solution
Let \(g \left(\right. x \left.\right) = 5 x^{2} .\) Then \(g^{'} \left(\right. x \left.\right) = 10 x .\) Using the result from the previous example,
Example 3.53
Using the Chain Rule on Another Trigonometric Function
Find the derivative of \(h \left(\right. x \left.\right) = \text{sec} \left(\right. 4 x^{5} + 2 x \left.\right) .\)
Solution
Apply the chain rule to \(h \left(\right. x \left.\right) = \text{sec} \left(\right. g \left(\right. x \left.\right) \left.\right)\) to obtain
In this problem, \(g \left(\right. x \left.\right) = 4 x^{5} + 2 x ,\) so we have \(g^{'} \left(\right. x \left.\right) = 20 x^{4} + 2 .\) Therefore, we obtain
Checkpoint 3.36
Find the derivative of \(h \left(\right. x \left.\right) = \text{sin} \left(\right. 7 x + 2 \left.\right) .\)
At this point we provide a list of derivative formulas that may be obtained by applying the chain rule in conjunction with the formulas for derivatives of trigonometric functions. Their derivations are similar to those used in Example 3.51 and Example 3.53. For convenience, formulas are also given in Leibniz’s notation, which some students find easier to remember. (We discuss the chain rule using Leibniz’s notation at the end of this section.) It is not absolutely necessary to memorize these as separate formulas as they are all applications of the chain rule to previously learned formulas.
Theorem 3.10
Using the Chain Rule with Trigonometric Functions
For all values of \(x\) for which the derivative is defined,
Example 3.54
Combining the Chain Rule with the Product Rule
Find the derivative of \(h \left(\right. x \left.\right) = \left(\right. 2 x + 1 \left.\right)^{5} \left(\right. 3 x - 2 \left.\right)^{7} .\)
Solution
First apply the product rule, then apply the chain rule to each term of the product.
Checkpoint 3.37
Find the derivative of \(h \left(\right. x \left.\right) = \frac{x}{\left(\right. 2 x + 3 \left.\right)^{3}} .\)
This lesson is part of:
Derivatives