Inverse of a 2×2 or 3×3 matrix
Compute the exact inverse of the square matrix 2×2 or 3×3 using Gauss–Jordan operations and a singularity check.
Calculate the result
Worked example
Problem
Find the inverse of the matrix with rows (2, 1), (1, 1) using Gauss–Jordan. Verify by multiplication.
The inverse has rows (1, −1) and (−1, 2).
Check whether an inverse exists
Construct the augmented matrix
Apply elementary row operations
Read the right part after row operations
Verify the solution
Common mistake
We apply each row operation to both parts of the augmented matrix. For an inverse to exist, the left part must become the identity matrix.