The SVD Theorem
The Singular Value Decomposition Theorem states: for any real matrix , there exist an orthogonal matrix , an matrix (with non-negative entries only on the main diagonal), and an orthogonal matrix such that .
The diagonal entries of are called the singular values of . They are always real and non-negative, and they are uniquely determined by . The columns of are the left singular vectors and the columns of are the right singular vectors.
The rank of equals the number of nonzero singular values. MATLAB computes: [U, Sigma, V] = svd(A).
Formal View
. MATLAB: `[U, S, V] = svd(A)`.
Interactive Visualization
SVD as Three Transformations
Why This Matters
The SVD is the most general and stable matrix factorization — it works for any matrix and reveals the true geometric structure of any linear map.
- Numerical rank determination: count singular values above a threshold.
- Pseudoinverse: where replaces nonzero with .
- Condition number: measures numerical sensitivity.
Quiz
The singular values of a matrix are always real and non-negative.
For a matrix of rank 2, how many nonzero singular values does it have?
Common Mistakes
- Confusing singular values with eigenvalues — singular values are always non-negative real numbers, while eigenvalues can be negative or complex.
- Thinking and are the same matrix — is and is ; they act in different spaces.