Freedom in the SVD
Like the spectral decomposition, the SVD is not unique. Sources of freedom include: reordering singular values (with corresponding reordering of columns of and ), simultaneous sign flips of corresponding columns of and , and when singular values repeat, choosing any orthonormal basis for the corresponding singular vector spaces.
The critical constraint: signs of and must be flipped in tandem. If you flip the sign of column of , you must also flip column of — otherwise the product changes. The singular values themselves are uniquely determined by .
Formal View
Why This Matters
Understanding SVD freedom prevents confusion when different implementations return different but equally valid factorizations.
- MATLAB and NumPy may return different-sign singular vectors — both are correct.
- In PCA, the sign of principal components is arbitrary (only direction matters).
- When comparing SVD results across platforms, check that matches , not that or individually match.
Quiz
If you flip the sign of column of in the SVD, you must also flip column of to keep the factorization valid.
Which part of the SVD is uniquely determined by ?
Common Mistakes
- Flipping the sign of without flipping — this changes , invalidating the factorization.
- Thinking all of and are arbitrary — only the freedoms listed are allowed.