Demystifying AI · Stage 3

The chain rule

← Demystifying AIStage 3: Change and chanceNot yet checked by our team

When one function feeds another, rates of change multiply. If y changes 3 times as fast as u, and u changes 2 times as fast as x, then y changes 3 × 2 = 6 times as fast as x. That is the chain rule. For y = (2x)², the outer rate is 2 × (2x) and the inner rate is 2, so dy/dx = 8x.

Why it matters: A neural network is a long chain of functions; backpropagation is the chain rule applied layer by layer.

Builds on: Slope and the derivative

Learn it, then prove it

Sign in (free) to take this step's mastery check and save your journey.

Learn it

Visualizing the chain rule and product rule | Chapter 4, Essence of calculus

Watch the chain rule as nudges passing through functions. · 3Blue1Brown

Resources are picked with AI help and not yet checked by our team.


Contact Us

Questions or feedback about anything? We'd love to hear from you.

You can reach us at: support@seriousmindware.com