3.3 Chain Rule
Chain Rule
There is one more type of complicated function that we will want to know how to differentiate: composition. The Chain Rule will let us find the derivative of a composition. Think of the Chain Rule when the function to be differentiated consists of an “outer” function and an “inner” function which we can write as f(g(x)).
Example 1
Find the derivative of
This is not a simple polynomial, so we can’t use the basic building block rules yet. It is a product, so we could write it as
Now suppose we want to find the derivative of
We need an easier way, a rule that will handle a composition like this. The Chain Rule is a little complicated, but it saves us the much more complicated algebra of multiplying something like this out. It will also handle compositions where it wouldn’t be possible to multiply it out.
The Chain Rule is a common place for students to make mistakes. Part of the reason is that the notation takes a little getting used to. And part of the reason is that students often forget to use it when they should. When should you use the Chain Rule? Almost every time you take a derivative.
Derivative Rules: Chain Rule
In what follows,
Chain Rule (Leibniz notation)
Notice that the
Chain Rule (using prime notation)
Chain Rule (in words)
The derivative of a composition is the derivative of the outside (with the inside staying the same) TIMES the derivative of the inside.
I recite the version in words each time I take a derivative, especially if the function is complicated.
Example 2
Find the derivative of
This is the same one we did before by multiplying out. This time, let’s use the Chain Rule: The inside function is what appears inside the parentheses:
The derivative of this outside function is
If you multiply this out, you get the same answer we got before. Hurray! Algebra works!
Example 3
Find the derivative of
Now we have a way to handle this one. It’s the derivative of the outside TIMES the derivative of the inside.
The outside function is
Example 4
Differentiate
This isn’t a simple exponential function; it’s a composition. Typical calculator or computer syntax can help you see what the “inside” function is here. On a TI calculator, for example, when you push the
function, so its derivative is the same thing. The derivative of what’s inside is
Example 5
The table gives values for
-1 | 2 | 3 | 1 | 0 | – | – |
---|---|---|---|---|---|---|
0 | -1 | 1 | 3 | 2 | – | – |
1 | 1 | 0 | -1 | 3 | – | – |
2 | 3 | -1 | 0 | 1 | – | – |
3 | 0 | 2 | 2 | -1 | – | – |