Learning Goal - How the Backpropagation Algorithm Works
6 important questions on Learning Goal - How the Backpropagation Algorithm Works
What problem does backpropagation solve, and what does it compute?
∂C/∂w and ∂C/∂b
These gradients are exactly what gradient descent needs to update parameters.
Why is numerical gradient estimation impractical for large networks?
Backpropagation computes all partial derivatives using just 1 forward pass + 1 backward pass — roughly 500,000× faster for a 1M-weight network.
What two assumptions must the cost function satisfy for backpropagation to apply?
- Averaging: the cost must be an average over individual training examples:
C = (1/n) Σₓ Cₓ
This lets backpropagation compute per-example gradients, which can then be averaged to get the total gradient. - Output dependency: C must depend only on the network's output activations a^L (not on internal layer values directly).
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
Why must the cost function be an average over training examples?
∂C/∂w = (1/n) Σₓ ∂Cₓ/∂w
We simply average the per-example gradients. Without this structure, the per-example results can't be combined.
What mathematical tool underlies all four backpropagation equations?
Sketch the derivation of BP1 using the chain rule.
Apply the chain rule: C depends on z^L_j through a^L_j = σ(z^L_j):
δ^L_j = ∂C/∂z^L_j = (∂C/∂a^L_j) · (∂a^L_j/∂z^L_j) = (∂C/∂a^L_j) · σ'(z^L_j)
In vector form: δ^L = ∇ₐC ⊙ σ'(z^L) — this is BP1.
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding

















