The inverse of a matrix A is a matrix A−1 such that:
AA−1=A−1A=I
where I is the identity matrix. The inverse “undoes” the effect of A, just as dividing by 5 undoes multiplying by 5 in ordinary arithmetic. Not every matrix has an inverse — only square matrices with a nonzero determinant are invertible.
Matrix inverses provide a powerful method for solving systems of linear equations: if AX=B, then X=A−1B. This approach is especially useful when you need to solve multiple systems with the same coefficient matrix but different constant vectors.
When Does an Inverse Exist?
A square matrix A is invertible (also called nonsingular) if and only if det(A)=0.
If det(A)=0, the matrix is singular and has no inverse. Attempting to compute the inverse of a singular matrix will produce a division by zero or a row of all zeros during the computation.
Condition
Matrix is…
Inverse exists?
det(A)=0
Invertible / Nonsingular
Yes
det(A)=0
Singular
No
The 2x2 Inverse Formula
For a 2×2 matrix, there is a direct formula:
A=[acbd]⟹A−1=ad−bc1[d−c−ba]
The steps: swap the diagonal entries, negate the off-diagonal entries, and divide everything by the determinant.
The product is the identity matrix, confirming the inverse is correct.
Example 2: A 2x2 Matrix with No Inverse
Find A−1 where A=[4263].
det(A)=4(3)−6(2)=12−12=0
Since det(A)=0, the matrix is singular and has no inverse. The formula would require dividing by zero. The rows are proportional (R1=2R2), which is why the matrix is singular.
Finding Larger Inverses: The Augmented Matrix Method
For 3×3 and larger matrices, the 2x2 formula does not generalize cleanly. Instead, use the augmented matrix method (also called the Gauss-Jordan method):
Form the augmented matrix [A∣I], placing the identity matrix to the right of A
Apply row operations to transform the left side into I
When the left side becomes I, the right side is A−1
If at any point you get a row of all zeros on the left side, the matrix is singular and has no inverse.
Example 3: Finding a 3x3 Inverse
Find A−1 where A=101110011.
Step 1 — Form [A∣I]:
101110011100010001
Step 2 — Eliminate below the first pivot.R3−R1→R3:
10011−101110−1010001
Step 3 — Eliminate below the second pivot.R3+R2→R3:
10011001210−1011001
Step 4 — Scale Row 3.21R3→R3:
10011001110−2101210021
Step 5 — Back-eliminate to get I on the left.R2−R3→R2:
100110001121−21021210−2121
R1−R2→R1:
1000100012121−21−21212121−2121
The left side is I, so the right side is A−1:
A−1=2121−21−21212121−2121
Verification: You can verify AA−1=I by performing the matrix multiplication. For example, row 1 of A times column 1 of A−1: 1(21)+1(21)+0(−21)=1. Row 1 times column 2: 1(−21)+1(21)+0(21)=0. Each entry of the product checks out.
Solving Systems Using the Inverse: X=A−1B
A system of linear equations can be written in matrix form as AX=B, where A is the coefficient matrix, X is the variable vector, and B is the constant vector.
If A is invertible, multiply both sides on the left by A−1:
Example 5: Solving Multiple Systems with the Same Coefficient Matrix
The real power of the inverse method appears when you need to solve multiple systems with the same A but different B vectors. Once you compute A−1, each new system is just a single matrix multiplication.
The forces are F1=550 N, F2=450 N, F3=350 N. If the loading conditions change (different right-hand side), the engineer simply multiplies the same inverse by the new vector — no need to re-solve the entire system.
Common Mistakes
Forgetting to check the determinant first. Always verify det(A)=0 before attempting to find the inverse. If the determinant is zero, the inverse does not exist.
Wrong sign pattern in the 2x2 formula. The formula swaps the diagonal entries and negates the off-diagonal entries. Negating the diagonals instead is a common error.
Multiplying in the wrong order. The solution is X=A−1B, not X=BA−1. Matrix multiplication is not commutative, so the order matters.
Arithmetic errors in the augmented matrix method. Row operations on a 3×6 augmented matrix involve many entries. Work methodically and double-check each row operation.
Practice Problems
Problem 1: Find the inverse of A=[2134].
det(A)=2(4)−3(1)=8−3=5
A−1=51[4−1−32]=[54−51−5352]
Answer:A−1=[54−51−5352]
Problem 2: Does A=[3162] have an inverse? Explain.
det(A)=3(2)−6(1)=6−6=0
Since det(A)=0, the matrix is singular and does not have an inverse. Row 1 is 3 times Row 2.
Problem 3: Use the inverse to solve 2x+3y=11, x+4y=13.