How does the chain rule handle a function inside another function?
Quick answer
For a composite function, differentiate the outside function while keeping the inside expression in place, then multiply by the inside derivative. For example, if h(x) = (3x² + 1)⁴, the inside is 3x² + 1 and the outside is a fourth power. Thus h′(x) = 4(3x² + 1)³ · 6x = 24x(3x² + 1)³. [S1]
The question, the details, the next step.
A practical checklist
Identify the full inside expression and label it g(x).
Name the outside function and differentiate it while keeping g(x) in place.
Differentiate g(x) separately.
Multiply the outside derivative by the inside derivative.
Check that the result contains both factors.
A few more useful answers
Why do I keep the inside expression when differentiating the outside?
The outside function receives the inside expression as its input. Evaluate its derivative at that same expression, then multiply by the inside derivative.
What is the chain rule formula for a composite function?
If h(x) = f(g(x)), then h′(x) = f′(g(x)) · g′(x), where the relevant derivatives are defined. [S1]
What if the inside function is more complicated than a quadratic?
Use the same steps: differentiate the outside function with the full inside expression in place, then multiply by the derivative of that inside expression.
Sources
References used for this guide.
- [S1] OpenStax Calculus Volume 1, Section 3.6: The Chain Rule openstax.org · Checked
