Matrix Inverse Calculator with Steps

What is the Inverse of a Matrix?

In linear algebra, the inverse of a square matrix A is a matrix A⁻¹ such that when they are multiplied together, the result is the identity matrix (I). Symbolically, this is expressed as AA⁻¹ = A⁻¹A = I. Not every matrix has an inverse; only "non-singular" or "invertible" matrices do. A matrix must be square (same number of rows and columns) and its determinant must not be zero to have an inverse.

How to Calculate Matrix Inverse

The process of finding the inverse involves several technical steps. For a 2x2 matrix, the formula is relatively simple: swap the main diagonal elements, negate the off-diagonal elements, and divide the entire matrix by the determinant. For a 3x3 matrix or higher, the process involves finding the Matrix of Minors, then the Matrix of Cofactors, then the Adjugate (transpose of cofactors), and finally dividing by the determinant.

Key Steps in our Calculator

Our tool provides a detailed breakdown of the following:

  • Determinant Calculation: Determining if the matrix is invertible ($det \neq 0$).
  • Cofactor Matrix: Calculating the signed determinants of the smaller sub-matrices.
  • Adjugate Matrix: Transposing the cofactor matrix.
  • Final Division: Multiplying the adjugate by $1/det(A)$.

Frequently Asked Questions

Can a non-square matrix have an inverse?

No, standard matrix inversion only applies to square matrices. For non-square matrices, one might use a "pseudoinverse" (Moore-Penrose inverse), but it does not satisfy the standard identity property in the same way.

What happens if the determinant is zero?

If the determinant is zero, the matrix is called a "singular" matrix. It has no inverse because you cannot divide by zero in the final step of the inversion formula.