First the forward pass
The input went through the network: h₁ = 0.668, h₂ = 0.634, ŷ = 0.636. The target is t = 0. Backpropagation reuses these values.
Loss
L = ½ (ŷ − t)² = 0.202. The goal is to nudge every weight a little in the direction that makes this number smaller. That needs the gradient of every weight, ∂L/∂w.
Error of the output neuron
δ = (ŷ − t) · ŷ(1 − ŷ) = 0.147. The first factor is the derivative of the loss with respect to ŷ, the second the derivative of the sigmoid; the chain rule multiplies them. δ is the derivative of the loss with respect to the output neuron's sum.
Weights into the output
The gradient of a weight is the error of the neuron it feeds times the value it carries: ∂L/∂v₁ = δ · h₁ = 0.098, ∂L/∂v₂ = δ · h₂ = 0.093, ∂L/∂c = δ = 0.147. The boxes now show gradients.
The error moves down to the hidden layer
δ₁ = δ · v₁ · h₁(1 − h₁) = 0.039, δ₂ = δ · v₂ · h₂(1 − h₂) = −0.024. Each hidden neuron takes a share of the error in proportion to its weight into the output; a negative weight flips the sign.
Weights of the first layer
Same rule: ∂L/∂w₁₁ = δ₁ · x₁ = 0.039, ∂L/∂w₂₁ = δ₁ · x₂ = 0.020, ∂L/∂w₁₂ = δ₂ · x₁ = −0.024, ∂L/∂w₂₂ = δ₂ · x₂ = −0.012. The gradient of a bias is the neuron's error.
Update
Every weight takes a step against its gradient: w ← w − η · ∂L/∂w, η = 1. The boxes show the new weights; for example v₁ is now 1.102 and w₁₁ is now 0.761.
The loss went down
The same input went through the network again with the new weights: ŷ = 0.563, and the loss fell from 0.202 to 0.159. Training repeats this step thousands of times with thousands of examples.
Why it matters
Backpropagation finds all the gradients in one backward pass: each layer multiplies the error coming from the next layer by its own local derivative and hands it to the previous one. Language models with billions of weights are trained this way too.