Chain Rule

College Depth 60 in the knowledge graph I know this Set as goal
Unlocks 6181 downstream topics
derivatives rules chain-rule composition

Core Idea

The chain rule states that if y = f(g(x)), then dy/dx = f'(g(x)) * g'(x). In Leibniz notation: if y = f(u) and u = g(x), then dy/dx = (dy/du)(du/dx). You differentiate the outer function evaluated at the inner function, then multiply by the derivative of the inner function. The chain rule is arguably the most important derivative rule because composite functions appear everywhere.

How It's Best Learned

Start with clear identification of the "outer" and "inner" functions. Practice with simple compositions like (3x + 1)^5, sin(x^2), e^(2x). Build up to multi-layer compositions (chain rule applied multiple times). Connect to u-substitution in integration (the chain rule in reverse).

Common Misconceptions

Explainer

The chain rule solves one specific problem: how do you differentiate a function that is nested inside another function? You already know how to differentiate sin(x), and you know how to differentiate x². But what about sin(x²)? That is a composite function — x² goes in first, then sin is applied to the result — and it requires the chain rule.

The key step is identifying which function is the "outer" (applied last) and which is the "inner" (applied first). In sin(x²), the outer function is sin(·) and the inner is x². In e^(3x+1), the outer is e^(·) and the inner is 3x+1. In (x² + 4)⁵, the outer is (·)⁵ and the inner is x² + 4. Once you have these, the chain rule says: differentiate the outer function (treating the inner as a single variable), evaluate it at the inner function, and multiply by the derivative of the inner function. Written as a formula: if h(x) = f(g(x)), then h'(x) = f'(g(x)) · g'(x).

The most common error is differentiating the outer and forgetting to multiply by the inner derivative. For (3x + 1)⁵, the outer derivative gives 5(3x + 1)⁴ — but without the inner derivative (3), the answer is incomplete. Every composite function "costs" a factor of the inner derivative. If the inner function is just x, its derivative is 1 and that factor is invisible, which is why you didn't need the chain rule for sin(x) — the "inner function" is x, g'(x) = 1.

The Leibniz notation dy/dx = (dy/du)(du/dx) makes the chain rule feel almost like fraction cancellation: the "du" terms appear to cancel, leaving dy/dx. This is not exactly why it works (du is not literally a number you can cancel), but the notation is designed to make the structure intuitive. If y depends on u and u depends on x, the rate of change of y with respect to x is the product of the rates.

Recognizing when the chain rule is needed takes practice. The trigger is composition: any time you can describe a function as "do this to the result of that," you need the chain rule. As you encounter integration, you will find that u-substitution is the chain rule in reverse — you are "undoing" a chain rule structure to simplify an integral. Building a clear mental model of composite functions now will make u-substitution much more intuitive when you reach it.

Practice Questions 3 questions

Prerequisite Chain

Counting to 10Counting to 20Understanding ZeroThe Number ZeroCounting to FiveOne-to-One CorrespondenceCombining Small Groups Within 5Addition Within 10Addition Within 20Two-Digit Addition Without RegroupingTwo-Digit Addition with RegroupingAddition Within 100Repeated Addition as MultiplicationMultiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Two-Digit by One-Digit DivisionDivision with RemaindersRemainders and Quotients in DivisionDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineOpposites and Additive InversesAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesLiteral EquationsSlope-Intercept FormPoint-Slope FormWriting Linear EquationsParallel and Perpendicular Line SlopesGraphing Linear EquationsPiecewise FunctionsOne-Sided LimitsContinuity DefinitionLimit Definition of the DerivativePower RuleConstant Multiple and Sum/Difference RulesProduct RuleChain Rule

Longest path: 61 steps · 249 total prerequisite topics

Prerequisites (3)

Leads To (15)