Interactive Matrix Grid Homotopy & Composition Lab
Animate the grid deformation I → A and compare (BA)x vs. (AB)x non-commutativity.
Follow where the basis columns [a₁ | a₂] land to read any 2×2 or 3×3 matrix geometrically.
Every linear neural-network layer, robot arm forward-kinematic Jacobian, finite-element stiffness stencil, and 3D graphics pipeline composes transformations by stacking matrices from right to left.
Why can every finite-dimensional linear transformation be captured completely inside a single rectangular grid of numbers?
Because preserves linear combinations, knowing where basis vectors land uniquely locks everywhere: stacking their coordinate vectors forms the exact matrix representation .
Function composition turns directly into matrix multiplication from right to left, which is non-commutative because rotating then shearing differs from shearing then rotating.
How can we read any 2×2 matrix geometrically at a glance—and why does changing multiplication order from BA to AB land at a completely different point?
Scrub the continuous homotopy I → A to deform the unit grid, inspect column landing vectors a₁ and a₂, and compare (BA)x against (AB)x side-by-side.
When rank drops, grid cells collapse into lines or the origin—whose signed scaling factor is quantified by det(A) in Chapter 2.2.2.
Preparing interactive canvas & numerical solver…
wanna math drafting viewport
Linearity means knowing where and land uniquely determines where every grid line in travels.
Multiplying by blends the transformed columns with the exact original weights .
The product applies first and second (right-to-left); swapping order rotates or shears along different axes.
For finite-dimensional spaces (, ), transforming any vector simplifies to matrix product .
Even differentiation on polynomials relative to acts as a concrete upper-triangular nilpotent matrix!
Switching coordinates of a single operator yields similar matrices sharing identical rank, determinant, trace, and eigenvalues.
Animate the grid deformation I → A and compare (BA)x vs. (AB)x non-commutativity.
Horizontal shear leaves î = ⟨1, 0⟩ fixed while slanting ĵ to ⟨1.2, 1⟩; determinant stays 1 so every grid parallelogram preserves exact unit area.