Matrix Inverse via the Adjugate Method
Problem
Find the inverse of A = [[2,1],[5,3]] using A⁻¹ = (1/det A) · adj(A). Verify A · A⁻¹ = I.
Explanation
What is a matrix inverse?
A square matrix is invertible if there exists a matrix with
Not every square matrix has an inverse. is invertible if and only if . A matrix without an inverse is called singular.
The 2×2 formula
For with :
Swap the diagonal, negate the off-diagonal, divide by the determinant.
Step-by-step
Step 1 — Compute :
Step 2 — Build the adjugate (for ): swap diagonal, negate off-diagonal:
Step 3 — Divide by determinant:
Verification
- Row 1, col 1: ✓
- Row 1, col 2: ✓
- Row 2, col 1: ✓
- Row 2, col 2: ✓
✓
Generalization: adjugate method for any
For a general invertible :
where is the adjugate (or classical adjoint) — the transpose of the cofactor matrix. The entry of the cofactor matrix is where is the determinant obtained by deleting row and column .
For , this is often slower than using Gauss–Jordan elimination on , but the adjugate formula gives a clean closed-form.
Why the inverse matters
- Solving : if is invertible, .
- Change of basis: converting coordinates between different bases uses inverses.
- Undoing linear transformations: rotation, scaling, shear — each has an inverse that undoes it.
Common mistakes
- Forgetting to check . If the determinant is zero, does not exist.
- Not negating the off-diagonal. It's , not .
- Dropping the factor. Without it you compute , not .
- Trying to invert a non-square matrix. Only square matrices can have a (two-sided) inverse; non-square matrices have pseudo-inverses instead.
Try it in the visualization
Modify entries of with sliders; the determinant and update live. When , the inverse panel turns red and shows "singular — no inverse exists." The product also updates to confirm .
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.