Using Inverses to Solve Matrix Equations
What You'll Learn
You'll learn how to solve matrix equations of the form AX = B by using the inverse of matrix A, transforming the problem into simple matrix multiplication.
The Core Idea
Think of a regular algebraic equation like 3x = 12. To solve it, you multiply both sides by the reciprocal (inverse) of 3: x = (1/3) · 12 = 4.
Matrix equations work similarly! When you have AX = B, where:
- A is a known square matrix
- X is the unknown matrix you're solving for
- B is a known matrix
You can solve for X by multiplying both sides by A⁻¹ (the inverse of A):
A⁻¹(AX) = A⁻¹B
Since A⁻¹A = I (the identity matrix), and IX = X, this simplifies to:
X = A⁻¹B
The Process
- Check that A is invertible: Calculate det(A). If it's non-zero, A⁻¹ exists.
- Find A⁻¹: Use the formula for 2×2 matrices or row reduction for larger ones.
- Multiply: Compute X = A⁻¹B (order matters—don't write BA⁻¹!).
- Verify (optional): Check that your solution satisfies AX = B.
Why Order Matters
Remember: matrix multiplication is not commutative. You must multiply on the left by A⁻¹ to "cancel" A from the left side. Writing X = BA⁻¹ would be incorrect.
When This Works
This method only works when A is square and invertible (det(A) ≠ 0). If A isn't invertible, the equation either has no solution or infinitely many solutions.
Key Takeaway: To solve AX = B for X when A is invertible, compute X = A⁻¹B by multiplying both sides on the left by the inverse of A.