Section The Chain Rule
We can take the derivative of \(\dsp f(x) = \sqrt{x}\) and \(g(x) = 5x+1\) easily, but to take the derivative of \(\dsp h(x) = \sqrt{5x+1},\) we would need to return to the limit definition for the derivative. We can take the derivative of \(f(x) = \sin(x)\) and g(x) = \(x^2\) easily, but to take the derivative of \(h(x) = \sin(x^2)\) we would again return to the limit definition. The chain rule remedies this problem by giving a rule for computing the derivatives of functions that are the composition of two functions.
Algebra Reminder. The function \(h(x) = \sqrt{5x+1}\) is the composition of two functions \(f(x) = \sqrt{x}\) and \(g(x) = 5x + 1\) since we may write \(f(g(x)) = f(5x +1) = \sqrt{5x+1} = h(x).\) The function \(h(x) = \sin(x^2)\) is the composition of \(f(x) = \sin(x)\) and \(g(x) = x^2.\) If \(h\) equals \(f\) composed with \(g\text{,}\) we write \(h = f \circ g\) and \(h(x) = f(g(x))\) for all numbers \(x\) in the domain of \(h.\)
Theorem 2.52.
The Chain Rule. If \(f\) and \(g\) are differentiable functions and \(h(x) = f(g(x))\text{,}\) then \(h'(x) = f'(g(x))\cdot g'(x)\text{.}\)
A sort-of proof. Assume that each of \(f\) and \(g\) is a differentiable function and that \(h(x) = f(g(x))\text{.}\) From the limit definition of the derivative of \(h\text{,}\) we know that
Since \(h(x) = f(g(x))\text{,}\)
Since
by using the Product Rule for Limits we may write,
Since \(g\) is differentiable, we know by Theorem 2.24 that \(g\) is continuous, so by the definition of continuity, we have \(\dsp \lim_{t \rightarrow x} g(t)=g(x).\) Thus, in the first limit, we can replace \(t \rightarrow x\) with \(g(t) \rightarrow g(x).\)
The right-hand side of this equation is the product of two limits. The second limit is the definition of \(g'(x)\text{.}\) Substituting \(A = g(t)\) and \(B = g(x)\) into the first limit, we may write this as,
But this is just \(f'(B)\text{,}\) or \(f'(g(x))\text{,}\) so we have shown that
q.e.d.
Problem 2.53.
Let \(h(x) = \sqrt{7+\sin(x)}.\)
Find functions f and g such that \(h = f \circ g.\)
Compute \(f'.\)
Compute \(f' \circ g.\)
Compute \(g'.\)
Use the Chain Rule to compute \(h'.\)
Problem 2.54.
Let \(h(x) = \cos(x^2)\text{.}\)
Find functions f and g such that \(h = f \circ g.\)
Compute \(f'.\)
Compute \(f' \circ g.\)
Compute \(g'\text{.}\)
Use the Chain Rule to compute \(h'\text{.}\)
Problem 2.55.
Given that \(f(x) = (x^{5/2} - 4x^{1/3} + 365 )^{42}\text{,}\) compute \(f'.\)
Problem 2.56.
If \(y = (\cos(x^2) )^2\text{,}\) compute \(y'\text{.}\)
Problem 2.57.
Let \(\dsp y = \left( \frac{1-x^2}{1+x^2} \right)^{10}\) and compute \(y'\) using the Chain Rule first and then the Quotient Rule. Check your answer by rewriting \(\dsp y = \frac{(1-x^2)^{10}}{(1+x^2)^{10}}\) and computing \(y'\) using the Quotient Rule first and then the Chain Rule.
Problem 2.58.
Find a function f with derivative \(f'(x) = 5x + 3.\)
Problem 2.59.
Find the equation of the tangent line to the curve \(y = (x + 1/x)^3\) at the point where \(x = -1\text{.}\) Graph the curve and the line.
Problem 2.60.
Assume \(a, b, c\) and \(d\) are real numbers and \(f(w) = a (\cos(wb) )^2 + c(\sin(wd) )^2.\) Compute \(f'\text{.}\)
Problem 2.61.
Find the real number m such that \(y = m \cos(2t)\) satisfies the differential equation \(y'' + 5y = 3\cos(2t).\)
Problem 2.62.
Given that \(f'(x) = \sqrt{2x+3},\) \(g(x) = x^2 + 2\text{,}\) and \(F(x) = f(g(x))\text{,}\) compute \(F'.\)
Problem 2.63.
Given that \(\dsp f'(x) = \frac{x}{x^2-1}\) and \(g(x) = \sqrt{2x-1}\text{,}\) compute \(F'\) where \(F(x) = f(g(x))\text{.}\)