TFT

Matrix Inverse Calculator – Find Inverse of Any Matrix

Find the inverse of any invertible square matrix with our free online matrix inverse calculator. Uses the adjugate method with step-by-step solution for 2x2 and 3x3 matrices.

Examples:

Current matrix: 2x2 | Detected from your input

Understanding Matrix Inverses

The inverse of a matrix A, denoted A^-1, is the matrix that when multiplied by A gives the identity matrix. Just like 1/5 is the multiplicative inverse of 5 (because 5 x 1/5 = 1), the matrix inverse "undoes" the transformation represented by the original matrix.

Not all matrices have inverses. Only square matrices with non-zero determinants are invertible. A matrix without an inverse is called "singular" or "non-invertible."

How to Find the Inverse

2x2 Matrix Formula

A = [[a, b], [c, d]]
A^-1 = (1/det(A)) x [[d, -b], [-c, a]]

Swap diagonals, negate off-diagonals, divide by determinant

3x3 Matrix Method

A^-1 = (1/det(A)) x adj(A)

Find cofactor matrix, transpose it, divide by determinant

Worked Examples

Example 1: 2x2 Matrix

A = [[4, 7], [2, 6]]
det(A) = 4(6) - 7(2) = 24 - 14 = 10
adj(A) = [[6, -7], [-2, 4]]
A^-1 = (1/10) x [[6, -7], [-2, 4]]
A^-1 = [[0.6, -0.7], [-0.2, 0.4]]

Example 2: 2x2 with Negatives

A = [[3, -1], [-2, 5]]
det(A) = 3(5) - (-1)(-2) = 15 - 2 = 13
adj(A) = [[5, 1], [2, 3]]
A^-1 = (1/13) x [[5, 1], [2, 3]]
A^-1 = [[5/13, 1/13], [2/13, 3/13]]

Example 3: Identity Matrix

I = [[1, 0], [0, 1]]
det(I) = 1(1) - 0(0) = 1
The inverse of the identity is itself!
I^-1 = [[1, 0], [0, 1]]

Example 4: Diagonal Matrix

D = [[2, 0, 0], [0, 3, 0], [0, 0, 4]]
For diagonal matrices, invert each diagonal element
D^-1 = [[1/2, 0, 0], [0, 1/3, 0], [0, 0, 1/4]]

Quick Fact

The concept of matrix inverses was developed alongside matrix theory in the mid-1800s. Arthur Cayley, who formalized matrix algebra, proved that a matrix has an inverse if and only if its determinant is non-zero. This fundamental result connects two seemingly different matrix properties.

Frequently Asked Questions

When does a matrix not have an inverse?

A matrix has no inverse when its determinant equals zero. This happens when the rows (or columns) are linearly dependent – one row can be expressed as a combination of others. Such matrices are called "singular."

Is the inverse unique?

Yes! If a matrix has an inverse, it has exactly one. There's no such thing as "multiple inverses" for a given matrix. This uniqueness is crucial for solving systems of equations.

What is (A^-1)^-1?

The inverse of an inverse gives you back the original matrix: (A^-1)^-1 = A. This makes intuitive sense – if A^-1 "undoes" A, then undoing the undo brings you back to where you started.

Does (AB)^-1 = A^-1 B^-1?

No! The correct formula is (AB)^-1 = B^-1 A^-1. The order reverses, similar to how you put on socks before shoes, but take off shoes before socks. This is called the "socks and shoes" property.

How are inverses used in real applications?

Matrix inverses solve systems of linear equations (Ax = b becomes x = A^-1 b), compute transformations in computer graphics, analyze electrical circuits, optimize portfolios in finance, and decode encrypted messages in cryptography.

Can non-square matrices have inverses?

Traditional inverses only exist for square matrices. However, non-square matrices can have "pseudo-inverses" (Moore-Penrose inverses) that serve similar purposes in least-squares problems and data fitting.

Other Free Tools

Matrix Determinant Calculator – Compute Det of Any Matrix

Calculate the determinant of any square matrix with our free online determinant calculator. Supports 2x2, 3x3, and larger matrices with cofactor expansion steps shown.

Matrix Addition & Subtraction Calculator – Compute Matrices Online

Add or subtract any two matrices with our free online matrix calculator. Supports all matrix sizes with instant results and element-wise computation displayed clearly.

Matrix Multiplication Calculator – Multiply Matrices Online

Multiply any two compatible matrices with our free online matrix multiplication calculator. See the full product matrix with step-by-step row-by-column computation.

Matrix Transpose Calculator – Find Transpose of Any Matrix

Find the transpose of any matrix instantly with our free online matrix transpose calculator. Swap rows and columns of any size matrix with a single click.

Scalar Matrix Multiplication Calculator – Multiply Matrix by Scalar

Multiply any matrix by a scalar constant with our free online scalar multiplication calculator. See the scaled matrix with all element-by-element calculations shown clearly.

Matrix Rank Calculator – Find Rank of Any Matrix Online

Find the rank of any matrix with our free online matrix rank calculator. Uses row reduction to row echelon form with step-by-step working shown for complete understanding.

Eigenvalue Calculator – Find Eigenvalues of 2x2 & 3x3 Matrices

Calculate eigenvalues of 2x2 and 3x3 matrices with our free online eigenvalue calculator. Solves the characteristic polynomial with step-by-step solutions and complex eigenvalue support.

Identity Matrix Generator – Create n×n Identity Matrix

Generate an identity matrix of any size instantly with our free online identity matrix generator. Create n×n identity matrices for linear algebra, matrix operations, and proofs.