Solve Systems with Matrices notes (Precalculus)
Use matrices to solve systems of equations.
The big question
AX = B
Can matrices solve systems? Yes: X = A⁻¹B!
Learn it, step by step
1. Write it as matrices
2x + y = 5 and x + y = 3 become A X = B.
A is the coefficients, X is the unknowns, B is the constants.

2. Multiply by the inverse
det A = 1. A⁻¹ = [[1, −1], [−1, 2]].
X = A⁻¹B = ⟨5 − 3, −5 + 6⟩ = ⟨2, 1⟩. So x = 2, y = 1.
X = A⁻¹B
x = 2, y = 1

Watch out: Order of multiplication
Use A⁻¹B, not BA⁻¹. The inverse goes on the left.
Wrong: X = BA⁻¹. Right: X = A⁻¹B.
Your turn
If A⁻¹B gives [[4], [−1]], what are x and y?
Answer: x = 4, y = −1. x = 4 and y = −1!
Remember
Write AX = B, find A⁻¹, and multiply: X = A⁻¹B.
X = A⁻¹B
Watch the Solve Systems with Matrices lesson and practice · Printable worksheet