If a data matrix has singular values , how does adding () change the eigenvalues and condition number of , and why does this explain both numerical stability and Tikhonov regularisation?
Linear algebra and optimisation, Matrix norms and condition number
Level L4 Advanced. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you can connect the spectral shift of to both numerical conditioning and ridge shrinkage.
Key idea
Adding leaves the eigenvectors unchanged while shifting every eigenvalue from to , which bounds the smallest eigenvalue away from zero, shrinks the condition number from to , and damps noisy small-singular-value directions.
Steps
- Relate to the SVD : , so has orthonormal eigenvectors with eigenvalues (taking for when ).
- Apply the shift: since , we have , so the eigenvalues become with the exact same eigenvectors.
- Compute the new condition number: . When (collinear features or ), is singular (), whereas is strictly positive definite and invertible with finite .
- Check strict decrease for : cross-multiplying shows for all , because adding lifts the denominator proportionally more than the numerator.
- Connect to Tikhonov / ridge regression: for target vector , , so dividing by prevents small singular values from blowing up measurement noise in .
Common mistakes
- Thinking changes the eigenvectors (principal directions) of ; it shifts only the eigenvalues.
- Forgetting that squaring singular values squares the condition number in the normal equations (), which is why unregularised normal equations are far worse conditioned than QR or SVD on itself.
How long your answer should be
Half a page; 4–5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Linear algebra and optimisation: How does the mini-batch size affect the noise in stochastic gradient descent? What is the variance of a mini-batch gradient, and what is the “linear scaling rule” for the learning rate?
Next in Linear algebra and optimisation: For , where , , and is symmetric, how do you derive using differentials and verify every matrix product by its shapes?