Pseudoinverse Calculator

Quick answer

The pseudoinverse calculator computes the Moore–Penrose pseudoinverse A⁺ of any matrix up to 3 × 3, square or rectangular, singular or not.

Pseudoinverse A⁺
⎡ −4/3 −1/3 2/3 ⎤ ⎣ 13/12 1/3 −5/12 ⎦
Method
A⁺ = V·Σ⁺·Uᵀ (from the singular value decomposition)
Rank
2

The pseudoinverse generalises the inverse to every matrix. A⁺b gives the least squares solution of Ax = b (the one of smallest length if there are many), which is how linear regression is solved.

How to use the Pseudoinverse Calculator

  1. Choose the matrix size. The matching grid of fields appears.
  2. Enter the entries row by row (a₁ b₁ c₁ is the first row, a₂ b₂ c₂ the second, and so on).
  3. Read the result; integer matrices give exact fractions.

Everything is calculated in your browser, so results appear instantly and nothing you type is sent to a server.

How it works

The singular value decomposition is computed; the non-zero singular values are inverted and the factors multiplied in reverse order.

Formula

A⁺ = V·Σ⁺·Uᵀ; A⁺ = (AᵀA)⁻¹Aᵀ for independent columns

Worked example

Inputs: Matrix size (rows × columns): 3 × 2; a₁: 1; b₁: 2; a₂: 3; b₂: 4; a₃: 5; b₃: 6.
Results: Pseudoinverse A⁺ = ⎡ −4/3 −1/3 2/3 ⎤
⎣ 13/12 1/3 −5/12 ⎦
; Method = A⁺ = V·Σ⁺·Uᵀ (from the singular value decomposition); Rank = 2.

Key terms

Moore–Penrose pseudoinverse
The unique generalised inverse satisfying the Penrose conditions.

Frequently asked questions

When is A⁺ = A⁻¹?

When A is square and invertible.

What is A⁺ used for?

Least squares solutions and minimum-norm solutions of linear systems.

What are the Penrose conditions?

AA⁺A = A, A⁺AA⁺ = A⁺, and AA⁺ and A⁺A are symmetric.

Does every matrix have a pseudoinverse?

Yes, exactly one.

Sources

  1. Wolfram MathWorld: Moore-Penrose matrix inverse
  2. MIT OpenCourseWare: 18.06 Linear Algebra (Gilbert Strang)
  3. Jim Hefferon: Linear Algebra (free textbook)

Cite this calculator

Speedy Calculator. (2026). Pseudoinverse Calculator. Speedy Calculator. https://speedycalculator.com/calculators/math/pseudoinverse/