Andromeda
Note

Pseudoinverse

Definition

Pseudoinverse (or Moore-Penrose Inverse) A+A^+ is a generalization of the matrix inverse for non-square or singular matrices. It provides the shortest least-squares solution to Ax=bAx=b.

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 A+A^+, 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 A=UΣVTA = U \Sigma V^T, then A+=VΣ+UTA^+ = V \Sigma^+ U^T, where Σ+\Sigma^+ is the diagonal matrix of reciprocal singular values 1/σi1/\sigma_i (for σi>0\sigma_i > 0) 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 xx that minimize Axb\|Ax-b\|, x+=A+bx^+ = A^+b is the one with the smallest norm x\|x\|.
  • Projectors:
    • A+AA^+A projects onto the Row Space C(AT)C(A^T).
    • AA+AA^+ projects onto the Column Space C(A)C(A).
  • Left/Right Inverses: If AA has full column rank, A+=(ATA)1ATA^+ = (A^T A)^{-1} A^T (left inverse). If AA has full row rank, A+=AT(AAT)1A^+ = A^T (A A^T)^{-1} (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.

Connected Concepts