Overview

A matrix inverse undoes the matrix, like dividing undoes multiplying. It is used to solve systems of equations. This finds the inverse of a 3×3 matrix.

Enter the matrix row by row. If the determinant is 0, there is no inverse.

Worked examples

InputsResult
Row 1, column 12Row 1, column 21Row 1, column 31Row 2, column 11Row 2, column 23Row 2, column 32Row 3, column 11Row 3, column 20Row 3, column 30Determinant: -1Row 1: 0, 0, 1Row 2: -2, 1, 3Row 3: 3, -1, -5
Show 2 more examples
Row 1, column 11Row 1, column 20Row 1, column 30Row 2, column 10Row 2, column 21Row 2, column 30Row 3, column 10Row 3, column 20Row 3, column 31Determinant: 1Row 1: 1, 0, 0Row 2: 0, 1, 0Row 3: 0, 0, 1
Row 1, column 11Row 1, column 22Row 1, column 33Row 2, column 10Row 2, column 21Row 2, column 34Row 3, column 15Row 3, column 26Row 3, column 30Determinant: 1Row 1: -24, 18, 5Row 2: 20, -15, -4Row 3: -5, 4, 1

Determinant by row 1, column 3

With the calculator's starting values, the determinant is -1. The table shows how it changes with the row 1, column 3.

Row 1, column 3Determinant
0.60.2
0.8-0.4
1starting value-1
1.2-1.6
1.4-2.2

Other inputs: Row 1, column 1: 2 · Row 1, column 2: 1 · Row 2, column 1: 1 · Row 2, column 2: 3 · Row 2, column 3: 2 · Row 3, column 1: 1 · Row 3, column 2: 0 · Row 3, column 3: 0. Change them in the calculator above for your own numbers.

How it works

The inverse equals the adjugate, the transposed matrix of cofactors, divided by the determinant. A matrix multiplied by its inverse gives the identity matrix. Results are rounded to 4 decimals, so very ill-conditioned matrices may lose precision.

The formula

A⁻¹ = adj(A) ÷ det(A)
adj(A)Transposed matrix of cofactors
det(A)Determinant of A

Practical tips

  • [2 1 1; 1 3 2; 1 0 0] has a determinant of −1, so it has an inverse.
  • Check your answer: A × A⁻¹ should be the identity matrix.
  • [1 2 3; 4 5 6; 7 8 9] has no inverse, because its rows are linearly dependent.

Frequently asked questions

What does a determinant of 0 mean?

The matrix squashes space down to a lower dimension, and that can’t be undone.

How does this solve equations?

If Ax = b, then x = A⁻¹b.