Before Reading

for those who are not super confident in multivariate derivatives:

Linear and Abstract Algebra

great article:

Calculus on Computational Graphs: Backpropagation

Backpropagation for a Linear Layer by Justin Johnson

Gradient

green→numerical result, red→local gradient

green→numerical result, red→local gradient

observation

Example