Definition
Pseudoinverse (or Moore-Penrose Inverse) is a generalization of the matrix inverse for non-square or singular matrices. It provides the shortest least-squares solution to .
Why It Matters
The pseudoinverse is the “failsafe” for linear algebra. In real-world data science, matrices are almost always noisy, singular, or non-square. Without , we would be unable to find “best fit” solutions to complex systems in robotics, computer vision, or signal processing, leaving us paralyzed by mathematical “dead ends” where a standard inverse fails to exist.
Core Concepts
- Computation via SVD: If , then , where is the diagonal matrix of reciprocal singular values (for ) and zero otherwise.
- How to read: “The A equals U Sigma V-transpose; the A-plus equals V Sigma-plus U-transpose.”
- Meaning: SVD gives the pseudoinverse—invert nonzero singular values, zero out the rest.
- Shortest Solution: Among all vectors that minimize , is the one with the smallest norm .
- Projectors:
- projects onto the Row Space .
- projects onto the Column Space .
- Left/Right Inverses: If has full column rank, (left inverse). If has full row rank, (right inverse).
- How to read: “The A-plus equals the quantity A-transpose A inverse times A-transpose” or “A-transpose times the quantity A A-transpose inverse.”
- Meaning / when to use: Tall skinny matrices use left inverse; short wide matrices use right inverse.