Pseudoinverse Calculator

To use pseudoinverse calculator, choose the dimensions of the matrix, Input the entries, and click calculate


Give Us Feedback

Pseudoinverse Calculator 

Find the closest inverses of matrices of up to 5th order using this pseudoinverse calculator. Also, get the complete process for the pseudoinverse. 

What is Pseudoinverse?

The pseudoinverse, often denoted A+, is a generalization of the matrix inverse for matrices that may not be square or may not have a unique inverse. The most commonly used pseudoinverse is the Moore-Penrose pseudoinverse.

It is a concept used in mathematics and engineering to find a "best-fit" solution when we can't find an exact solution to a system of equations.

In technical terms, if you have a set of equations that can't be solved directly because there are too many equations and not enough unknowns (or vice versa), the pseudoinverse gives you the best possible solution in terms of minimizing the error.

Properties of the Pseudoinverse:

A pseudoinverse A+ of a matrix A must meet the following properties.

  1. Multiplying the matrix by its pseudoinverse and then by the matrix again gives you back the original matrix: AA+A = A
  2. Doing the reverse—multiplying the pseudoinverse by the matrix and then by the pseudoinverse—gives you back the pseudoinverse: A+AA+ = A+ 
  3. The transpose of the product of the matrix and its pseudoinverse is equal to the product itself: (AA+)T = AA+ 
  4. Similarly, the transpose of the product of the pseudoinverse and the matrix is equal to the product itself: (A+A)T = A+A

How to find pseudoinverse?

The standard method to compute this pseudoinverse is Singular Value Decomposition (SVD). Here's a step-by-step guide on how to do it:

  • Perform Singular Value Decomposition (SVD) on the Matrix A:

Decompose matrix A into three matrices U, Σ, and VT such that:



  • U is an m×m orthogonal matrix. 
  • Σ is an m×n diagonal matrix with non-negative real numbers as its diagonal entries, known as singular values. These singular values are ordered in decreasing order.
  • VT is an n×n orthogonal matrix.
  • Compute the Pseudoinverse of Σ, denoted Σ+:

To compute Σ+ from Σ:

  • Take the reciprocals (1/value) of the non-zero diagonal entries of Σ to create Σinv.
  • Transpose of the resulting matrix. If Σ was m×n, Σinv will be n×m in size.
  • All other values in Σinv (other than the reciprocated singular values) should be zeros.

This Σinv is Σ+, the pseudoinverse of Σ.

  • Compute the Pseudoinverse of A, denoted A+:

Using the matrices from the SVD and the pseudoinverse of Σ:

A+ = VΣ+UT

That's it! A+ is the Moore-Penrose pseudoinverse of A.


Let's compute the pseudoinverse for a simple 2x2 matrix:

Step 1: Perform Singular Value Decomposition (SVD)

We want to decompose A as A = UΣV T. For this example, I'll skip the detailed SVD computation, which involves finding eigenvectors and eigenvalues of ATA and AAT. The eigenvalues calculator can help you in this regard. 

 However, in practice, you'd use software like MATLAB or Python's NumPy to compute the SVD. Or you can use the pseudoinverse calculator 

Let's assume the SVD of A yields:

Step 2: Compute the Pseudoinverse of Σ, denoted Σ+

For Σ+, we take the reciprocals of the non-zero diagonal entries and transpose the matrix:

Step 3: Compute the Pseudoinverse of A, A+

A+ = VΣ+UT 

Multiplying these matrices out (again, typically done with software in practice):

So, the pseudoinverse of matrix A is:


The pseudoinverse, particularly the Moore-Penrose pseudoinverse, is an invaluable tool in linear algebra with various applications across mathematics, engineering, and science. Some primary applications include:

Linear Least Squares Problems: The most common application of the pseudoinverse is in solving systems of linear equations that don't have a unique solution. When there are more equations than unknowns (overdetermined system), the pseudoinverse provides the solution that minimizes the Euclidean norm of the vector of residuals.

Signal Processing: The pseudoinverse can be used in signal processing for problems like system identification and equalization.

Control Theory: In control systems, especially in the context of system identification, the pseudoinverse can be used to determine system parameters or states.

Data Compression: Singular Value Decomposition (SVD) and the pseudoinverse play a role in data compression methods. For example, the principal component analysis (PCA), which is used for dimensionality reduction, is closely related to SVD.

Allmath loader
AdBlocker Detected!

To calculate result you have to disable your ad blocker first.