Inverse Matrix Calculator
The inverse of a square matrix A is the matrix A⁻¹ such that A·A⁻¹ = I, and this calculator finds it using Gauss-Jordan elimination with every row operation shown. Verifies A × A⁻¹ = I automatically.
Inverse Matrix Calculator
Gauss-Jordan method with complete steps
How to Find the Inverse Matrix
A square matrix A has an inverse A⁻¹ if and only if det(A) ≠ 0. The inverse satisfies: A × A⁻¹ = A⁻¹ × A = I
Gauss-Jordan Method
- Form the augmented matrix [A | I] where I is the identity matrix
- Apply row operations to reduce the left side to the identity: [I | A⁻¹]
- The right side is the inverse A⁻¹
2×2 Inverse Formula
Properties of the Inverse
- (A⁻¹)⁻¹ = A
- (AB)⁻¹ = B⁻¹A⁻¹
- (Aᵀ)⁻¹ = (A⁻¹)ᵀ
- det(A⁻¹) = 1/det(A)
Worked Example
For A = [[2,1],[1,1]]: the determinant is (2×1) - (1×1) = 1. Since the determinant isn't zero, the inverse exists: A⁻¹ = [[1,-1],[-1,2]]. You can check this is correct because A × A⁻¹ gives the identity matrix [[1,0],[0,1]].
When Does a Matrix Have No Inverse?
A matrix has no inverse when its determinant is exactly zero — this is called a "singular" matrix. This happens when one row (or column) can be created by combining the others, meaning the matrix doesn't hold enough independent information to be reversed.
Applications
- Solving systems of linear equations directly: x = A⁻¹b
- Cryptography (encoding and decoding messages using matrix transformations)
- Computer graphics (reversing a transformation, like undoing a rotation or scale)
Frequently Asked Questions
Related Calculators
- Determinant Calculator — check this first — a zero determinant means no inverse
- Linear System Solver — use the inverse to solve Ax = b
- RREF Calculator — the method behind Gauss-Jordan inversion