B4
Chain Rule Visualizer
Forward Pass: Compose Functions → Backward Pass: Multiply Derivatives
Space
Forward
B
Backward
→
←
Step
R
Reset
y = sin(x²)
dy/dx = cos(x²) · 2x
1 × ... = ?
✓ Verification
Presets:
(x+1)²
sin(x²)
e^(sin(x²))
🧠 Neuron
+ Add Block
Reset Chain
Input x =
1.0
Step →
▶ Forward Pass
◀ Backward Pass
← Step
⟳ Reset
💡
Each block represents a function. Data flows left→right (forward), gradients flow right→left (backward). The key insight: derivatives MULTIPLY through the chain!
Ready. Adjust input x or click Forward Pass to begin.