The smallest network that can be wrong: an input x, a weight, a bend, a second weight, a prediction. Feed in x = 2 and watch the numbers flow left to right. The answer should have been 3. It said 1.5, so the loss is 2.25.
Gradient descent needs the slope of the loss with respect to every weight. Try the last one directly: nudge w₂ up by a tenth and see what happens downstream. The prediction moves by h times the nudge, and the loss moves accordingly. The ratio is the blame on w₂.
The first weight is further from the loss, so do it in stages. Start at the output: the loss changes by 2(ŷ − y) per unit of ŷ. Step back one edge: ŷ changes by w₂ per unit of h, so multiply. The bend passes blame through unchanged when it is on and blocks it when it is off. One more edge, and the blame reaches w₁.
Written out, the blame on w₁ is a product of four local slopes, one per edge, each of which only needs numbers already sitting on that edge from the forward pass. Nothing is recomputed. That is the chain rule, and it is the whole trick.
Every weight now has its blame, so every weight can step against it: subtract η times the blame. Both move at once, the forward pass runs again, and the loss falls. Repeat a few times. Pick η and watch how far each step gets you.
Set the two weights by hand and read the blame each one gets. Push w₁ negative: a drops below zero, the bend switches off, and the blame on w₁ becomes exactly zero however wrong the prediction is. A neuron on the flat side of ReLU cannot learn from that example.
Sending blame backwards through the network is *backpropagation*. It is cheap: one backward pass costs about as much as one forward pass, and it delivers the slope for every weight at once, millions of them. Gradient descent asks "which way is downhill?"; backpropagation is how the network answers.
The bend is off for this example.
Every factor in the chain multiplies. The ReLU factor is 1 on its rising side and 0 on its flat side, and one zero anywhere in the product makes the whole thing zero. A wrong prediction cannot teach w₁ anything while the bend is switched off.