The Chain Rule
This original textbook reading covers part of the AP topic. Follow the AP course outline for complete topic instruction and practice.
This reading includes verified answer corrections and explicitly stated clarifications.
It seems like we have learned how to take the derivative of every imaginable function, doesn’t it? However, we are still missing a few more techniques. So far we have learned how to take the derivative of a function divided by another function (quotient rule), a function multiplied by another function (product rule), and the derivative of polynomial functions in general (power rule). There has been something missing though. All of our functions have been in the form of y=sin(x) or y=ex. How would we find the derivative of a function such as y=sin(x2)? Or the derivative of ? We can’t, at least not yet. That is because these are functions composed within other functions, and we have not learned how to take their derivatives yet. In order to take the derivatives of these functions, we need the help of the chain rule, which says that for any function , its derivative is represented by
The ‘...’ just represents other functions that might be present like j(x), etc. The easiest way to think of the chain rule is like peeling an onion layer by layer. We first take the derivative of the outside layer (function), then multiply it by the derivative of the layer underneath, then multiply by the derivative of the layer underneath that one. We peel apart the function layer by layer, starting with the outermost layer, and hope it will not make us cry. Let’s try a practice problem to see how this works.
Example 4.3.1
Note: Since that was a very difficult derivative, let’s enjoy this beautiful gallery of graphs that shows just how colorful math can be... moving on!
Glossary and deeper reading · 3 refreshers
These editorial refreshers supplement the reading. Definitions and examples are added guidance; original source wording and recorded answers remain in their original context.
-
Derivative
A derivative gives the instantaneous rate of change of a function with respect to its input. At a point, it is the finite limit of the difference quotient when that limit exists. For example, the derivative of x² is 2x, so the tangent slope at x=3 is 6. A derivative function collects those rates across the inputs where the function is differentiable.
-
Function
A mathematical function assigns exactly one output to each input in its domain. Inputs can share an output, but one input cannot have two different outputs. For example, f(x)=x² assigns the output 9 to both 3 and −3. Function notation names the rule and its input; f(3) means the output when the input is 3.
-
Chain rule
The chain rule differentiates a composition by multiplying the outer derivative at the inner output by the inner derivative. For differentiable functions, (f(g(x)))′=f′(g(x))g′(x). For example, the derivative of sin(x²) is cos(x²)·2x. Nested compositions require a factor for each successive layer.


