multivariable-chain-rule

← ~/visualizations

multivariable-chain-rule #

Shows a concrete composition f: R²→R² feeding into g: R²→R², tracks a moving input point x, evaluates the Jacobians Df(x) and Dg(f(x)), then animates the chain rule by highlighting the row/column used in the matrix product to form D(g∘f)(x). Emphasizes “evaluate Dg at f(x)” and “compose linear maps = multiply matrices.”

canvasclick to interact

⏮◀◀▶▶STEP0.25x1xZOOM

t=0s

practical uses #

technical notes #

Pure Canvas2D; responsive scale via min(w,h)/baseSize and 6px-ish grid snapping for a blocky aesthetic. Uses time-phased animation (3 steps over ~3.6s) plus moving packets on arrows and per-entry row/column highlighting to illustrate Jacobian matrix multiplication.

← linear-independenceorthogonality →