Inverse Matrix Calculator

Find the inverse of a 2×2 or 3×3 matrix (requires non-zero determinant).

What Is a Matrix Inverse?

The inverse of a square matrix A, written A⁻¹, is the unique matrix such that:

A × A⁻¹ = A⁻¹ × A = I

where I is the identity matrix. Not every matrix has an inverse — only those with a non-zero determinant.

Inverse of a 2×2 Matrix

For A = [[a,b],[c,d]] with det(A) = ad - bc ≠ 0:

A⁻¹ = (1/(ad-bc)) × [[ d, -b],
[-c, a]]

Example: A = [[2,1],[5,3]], det = 2×3 - 1×5 = 1

A⁻¹ = [[3,-1],[-5,2]]

Verify: A × A⁻¹ = [[2×3+1×(-5), 2×(-1)+1×2],[5×3+3×(-5), 5×(-1)+3×2]] = [[1,0],[0,1]] = I ✓

Inverse of a 3×3 Matrix

The general formula uses the adjugate (transpose of cofactor matrix):

A⁻¹ = (1/det(A)) × adj(A)

The calculator applies this formula automatically using cofactor expansion.

Properties of the Inverse

Real-World Applications

Frequently Asked Questions

When does a matrix have an inverse?

A square matrix is invertible if and only if det(A) ≠ 0. A singular matrix (det = 0) has no inverse.

What is A × A⁻¹?

A × A⁻¹ = A⁻¹ × A = I (the identity matrix). This is the defining property of the inverse.

How do you find the inverse of a 2×2 matrix?

For [[a,b],[c,d]]: swap a and d, negate b and c, divide everything by det = ad-bc.

What is the inverse of a matrix product?

(AB)⁻¹ = B⁻¹ × A⁻¹ — note the reversed order. Analogous to the reverse rule for transposes.