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

dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du}\cdot\frac{du}{dx}

Units aren’t used in this calculation: every value is a plain number.

sig figs

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.

Where Chain Rule Derivative fits

Missing an input?
Your answer feeds

See also

Related Rates: Inflating Sphere: The chain rule with time as the outer variable: dV/dt = dV/dr · dr/dt for a growing sphere.Related Rates: Filling a Conical Tank: The same rule driving a tank: depth, radius and volume all tied to one clock.Power Rule Derivative: The rule that usually supplies dy/du, when the outer function is a power.Product Rule Derivative: For two functions multiplied side by side, rather than one inside the other.Derivative of a·e^(bx) at a Point: Both use derivative value.Derivative of a·sin(bx) at a Point: Both use derivative value.
3 more relatedImplicit Differentiation: Slope on a Circle: Both use derivative value.Newton's Method Step: Both use derivative value.Quotient Rule Derivative: Both use derivative value.
Learning zone

Chain Rule Derivative explained

yuxdxdudydu/dxdy/dudy/dx

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

dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du}\cdot\frac{du}{dx}
Where
  • dydx\frac{dy}{dx}= Slope of the composite y at x
  • dydu\frac{dy}{du}= Outer slope dy/du, read at u = g(x)
  • dudx\frac{du}{dx}= Inner slope du/dx at x
Revised 16 October 2026
Cite this page

formula.expert. (2026, October 16). Chain Rule Derivative Formula & Calculator. https://formula.expert/solvers/chain-rule-derivative