The Chain Rule
Differentiate nested functions by tracking the rate contributed by each layer.
Builds on Product and Quotient Rules
The bigger question: How can we measure change at a single instant?
On this page
Change passing through a second quantity
A composition with changes through the intermediate variable . Its rate with respect to is the rate with respect to multiplied by the rate of with respect to :
The notation is a useful mnemonic. The theorem requires the relevant derivatives to exist; it is not a license to cancel arbitrary symbols in every expression.
Identify the outermost operation first. A power of a polynomial is a composition; a polynomial multiplied by a trigonometric function is a product. An expression may need both rules.
Visual guide
- sin x
- sin 2x
- Tangent to sin 2x at zero
Worked example: retain the inside
For , temporarily name . The outer derivative is and the inner derivative is . Substitute back:
Differentiating the inside too early and replacing it everywhere by would lose the original composition. Only the extra multiplier becomes its derivative.
At , the inner rate is zero, so the composition's rate is zero even though the outer derivative at is . This is a useful way to interpret a zero in the product.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
There is an outer fourth power and an inner linear function.
Hint 2 · Take the next step
Multiply the outer derivative by the inner derivative, 3.
Show the reasoning
Answer: 12(3x+1)³
4(3x+1)³ × 3 = 12(3x+1)³.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Worked example: several layers and a product
For , first apply the product rule:
The result is . The product creates two terms; the composition inside the second term supplies the factor .
For , move from outside inward: logarithm, sum, exponential, then . Thus . The logarithm's argument is positive for every real input, so no additional real-domain exclusions occur.
Rates and units
If temperature depends on position and position depends on time, then . A gradient along a pipe of °C/m and a motion speed of m/s give a temperature change of °C/s for the moving probe. The units reinforce the composition.
Practice
- Differentiate .
- Differentiate .
- A radius grows at cm/s. Find the rate of sphere volume when cm.
Show worked solutions
- .
- The exponential stays evaluated at , giving .
- From , cm³/s.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.