S.V.D.
Singular Value Decomposition. The ultimate theorem of linear algebra that dismantles any matrix into pure rotations and scalings.
01 // The Dissection
Not every matrix is a clean, square, invertible box. But the SVD theorem guarantees that absolutely any matrix (even rectangular ones) can be factored into three fundamental actions. It is the geometric equivalent of separating an object into its raw DNA.
02 // The Pipeline
Let's watch exactly how a matrix transforms a perfect circle of vectors into a slanted ellipse. We apply the SVD right-to-left: first we rotate the grid (), then we stretch it strictly along the X and Y axes (), and finally, we rotate it into its new position ().
SVD Pipeline Visualizer
The starting state: A perfect unit circle.
An Orthogonal Matrix. It does not stretch or squash space; it only spins it. It aligns the raw input vectors to prepare them for scaling.
A Diagonal Matrix. This contains the absolute "strength" or scaling factor of the transformation. It is the heart of the matrix where all physical stretching occurs.
Another Orthogonal Matrix. It takes the newly stretched shape and spins it into its final physical orientation in output space.
Low-Rank Compression
Because the singular values in are sorted from largest to smallest, the SVD tells us exactly which pieces of data are important and which are just "noise".
If we delete the smallest singular values (Truncated SVD), we can compress megabytes of image data or machine learning matrices into kilobytes, while preserving almost all of the visual or mathematical meaning.
Linear Algebra Conquered
You have mastered the grid. You are ready for Calculus.