Chain Rule Derivative
Also known as chain rule · derivative of a composite function · dy/dx = dy/du du/dx · derivative of f(g(x)) · outside-inside rule · differentiate a function of a function
Units aren’t used in this calculation: every value is a plain number.
Worked example: (3x + 1)⁵ at x = 1 → slope 3840. Press Try an example to run it live, then adjust anything.
Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value.
Chain Rule Derivative explained
The chain rule differentiates one function inside another. Name the inside u = g(x); the slope of the whole is the slope of the outside with respect to u, times the slope of the inside with respect to x. Worked example: y = (3x + 1)⁵ at x = 1. The inside is u = 3x + 1 = 4 with du/dx = 3; the outside is u⁵ with dy/du = 5u⁴ = 5 × 256 = 1280; so dy/dx = 1280 × 3 = 3840. Leibniz's notation makes the rule look like fractions cancelling, du over du, and that is a fair memory aid for what it says: rates multiply along a chain, the way metres per revolution times revolutions per second gives metres per second.
The classic mistake is to evaluate the outer slope at x instead of at u. For y = sin(x²) at x = 3, dy/du is cos(u) read at u = 9, so the slope is cos(9) × 6, not cos(3) × 6. The other half of the same mistake is dropping the inner factor altogether: 5(3x + 1)⁴ alone is 1280, a third of the true slope. Every related-rates problem is this rule with time as the inner variable, every sine with a frequency inside it and every exponential with a rate in its exponent picks up the inner slope as a factor in front, and backpropagation, the method that trains neural networks, is the chain rule applied through millions of nested functions.
Chain Rule Derivative formula
- = Slope of the composite y at x
- = Outer slope dy/du, read at u = g(x)
- = Inner slope du/dx at x
Missing one of these? Work it out first, then come back
- Slope of the composite y at x: Product Rule Derivative, Derivative of a·e^(bx) at a Point
- Outer slope dy/du, read at u = g(x): Product Rule Derivative, Derivative of a·e^(bx) at a Point
- Inner slope du/dx at x: Product Rule Derivative, Derivative of a·e^(bx) at a Point
Cite this page
formula.expert. (2026, October 16). Chain Rule Derivative Formula & Calculator. https://formula.expert/solvers/chain-rule-derivative