Pseudoinverse Calculator
Enter a matrix of any shape to find its pseudoinverse.
Write rows separated by semicolons, like 1, 2; 3, 4.
Result
You entered
Rank
Show the work
The Moore–Penrose pseudoinverse
The pseudoinverse is the one matrix satisfying these four conditions. It exists for every matrix and is the inverse when A is invertible; Ax = b solved with it gives the least-squares solution of smallest length.
Using
Rank factorisation
A is neither full column nor full row rank. Split it as C (its pivot columns, independent) times R (the non-zero rows of its reduced form, independent).
Using
Pseudoinverse from the factors
Each factor has full rank, so each of the two inverses exists.
Using
Check: the four conditions
All four Penrose conditions hold exactly, so this is the pseudoinverse.
Result
The pseudoinverse.