How is the Moore–Penrose pseudoinverse defined from the SVD , what does compute in general, and what are and for and ?
Linear algebra and optimisation, SVD and pseudoinverse
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can construct the pseudoinverse from the SVD and understand why picks the minimum-norm least-squares solution.
Key idea
If , then where transposes and inverts only its non-zero singular values ; always minimises , and among all such minimisers it has the smallest Euclidean norm .
Steps
- Define : for of rank with SVD (where and are orthogonal and holds the singular values ) and compact SVD , ; when has full column rank this reduces to , and when full row rank to .
- Explain : projecting onto minimises , and zeroing out the null-space component (along the last columns of ) makes orthogonal to , giving the unique minimum-norm least-squares solution.
- Factor : it has rank , with , , and (and ).
- Compute .
- Compute , and verify while is orthogonal to the null space .
Common mistakes
- Inverting singular values or writing without transposing when is rectangular ().
- Forgetting the order : swapping and produces an matrix instead of .
How long your answer should be
Half a page; 4 minutes.
Last checked on 4 December 2026.
Read this
Previous in Linear algebra and optimisation: When is a square matrix diagonalisable, why can repeated eigenvalues break diagonalisability, and how do you tell whether and are diagonalisable?
Next in Linear algebra and optimisation: For a symmetric positive definite matrix and a square matrix , how do you derive and , and how does appear in fitting a multivariate Gaussian by maximum likelihood?