What Is the Inverse of a Matrix?
The inverse of a square matrix — written — is the unique matrix such that:
where is the identity matrix (1s on the diagonal, 0s elsewhere). It's the matrix-multiplication equivalent of "the reciprocal of a number" — .
Not every matrix has an inverse. A matrix is invertible (or non-singular) if and only if its determinant is non-zero.
The Formula for the Inverse of a 2×2 Matrix
For a matrix with :
In words: swap the diagonal entries, negate the off-diagonal entries, then divide every element by the determinant.
When Does the Inverse Exist?
The inverse exists if and only if:
If , the matrix is singular — it has no inverse, and the formula's division would be undefined.
Geometrically, means the two column vectors of are parallel — the matrix collapses a 2D plane onto a 1D line (or onto the origin), and you can't reverse that collapse.
Step-by-Step Calculation
For any matrix :
Compute the determinant: .
If , stop — the inverse doesn't exist.
Swap the diagonal entries: .
Negate the off-diagonal entries: , .
Divide every element by .
Three Worked Examples — Quick, Standard, Stretch
Quick — Simple Numbers
Find the inverse of .
.
Verify. ✓
Standard — Determinant with Negatives
Find the inverse of .
.
Stretch — Singular Matrix
Try to find the inverse of .
.
Determinant is zero the inverse doesn't exist. The matrix is singular.
Notice the two rows are proportional (the second row is half the first) — a tell that the rows are linearly dependent and the matrix isn't invertible.
Why Does the Matrix Inverse Matter? (The Real-World GROUND)
"To solve a system, find the inverse." — linear algebra heuristic.
The matrix inverse is the workhorse of every system of linear equations and every linear transformation:
Solving systems of equations. has solution (when is invertible). The two-equations-two-unknowns case is exactly the inverse problem.
Computer graphics. Every rotation, scaling, or shear is a matrix. To undo the transformation (e.g., to map screen coordinates back to world coordinates), you invert the matrix.
Robotics. Forward kinematics converts joint angles to end-effector position; the inverse kinematics problem — given a desired position, find the joint angles — uses the matrix inverse.
Cryptography. Hill cipher encrypts messages by matrix multiplication; decryption inverts the matrix.
Statistics. Linear regression coefficients are computed as — matrix inversion is the central calculation.
The inverse formula is the simplest non-trivial case. It was first explicitly written by Arthur Cayley in his 1858 Memoir on the Theory of Matrices — the paper that founded modern matrix algebra.
Learn more: Multiplication of Matrices
A Worked Example — Wrong Path First
Find the inverse of .
The intuitive (wrong) approach. A student forgets to swap the diagonal and writes:
Why it fails. The student kept in the upper-left and in the lower-right — but the inverse formula swaps them. The (wrong) matrix doesn't satisfy .
The correct method. Determinant: .
Swap diagonal, negate off-diagonal:
Verify. ✓
What Are the Most Common Mistakes With 2x2 Inverses?
Mistake 1: Forgetting to swap the diagonal
The fix: and trade places. Negate and , but swap and .
Mistake 2: Sign errors in and
Where it slips in: Negating or instead of and .
The fix: Only the off-diagonal entries get a negative sign. Diagonal entries keep their sign.
Mistake 3: Forgetting to divide by the determinant
The fix: The whole matrix gets divided by . Forgetting this gives a matrix that's times too large.
Key Takeaways
For : .
The determinant must be non-zero for the inverse to exist.
Three operations: swap the diagonal, negate the off-diagonal, divide by the determinant.
Always verify by computing — should equal the identity.
Singular matrices () have no inverse; their columns are linearly dependent.
A Practical Next Step
Try these three before moving on to 3x3 inverses.
Find the inverse of .
Check whether is invertible.
Find the inverse of and verify by multiplication.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
What is the inverse of a 2x2 matrix?
When does a 2x2 matrix not have an inverse?
How do I check that my inverse is correct?
Why does appear in the formula?
Is matrix inversion the same as matrix division?
Does every square matrix have an inverse?


