To solve 5x = 20 you multiply both sides by 1/5. What does that give?
x = 4
x = 100
Key idea
A system is one matrix equation AX = B; X = A⁻¹B.
Write the coefficients as a matrix A (one row per equation), the unknowns as X=(xy) and the constants as B: then AX=B. If detA=0, X=A−1B, the only solution.
Worked example
Solve 2x + y = 5, x + y = 3.
A=(2111), det = 1
Matrix.
A−1=(1−1−12)
Inverse.
x = 5 − 3 = 2, y = −5 + 6 = 1
Multiply.
Your turn, guided
Your turn: in that system, what is det A?
1
2 · 1 − 1 · 1.
Practice ★
Which matrix equation represents the system 4x + 5y = 18 and 4x + 2y = 35?
(4452)(xy) = (1835)
(4542)(xy) = (1835)
(4452)(1835) = (xy)
Which matrix equation represents the system 9x + 9y = 13 and 2x + 4y = 10?
(9294)(xy) = (1310)
(9924)(xy) = (1310)
(9294)(1310) = (xy)
Solve the system 4x + 4y = 0 and 3x + 1y = 10 by multiplying by the inverse of the coefficient matrix. What is x?
Watch out!
Practice ★★
Solve the system 4x + 4y = 0 and 3x + 1y = 10 by multiplying by the inverse of the coefficient matrix. What is x?
Solve the system 4x + 1y = 20 and 1x + 1y = 5 by multiplying by the inverse of the coefficient matrix. What is x?
Which matrix equation represents the system 4x + 5y = 18 and 4x + 2y = 35?
(4452)(xy) = (1835)
(4542)(xy) = (1835)
(4452)(1835) = (xy)
Exit ticket
Three questions to check you have got it.
Which matrix equation represents the system 4x + 5y = 18 and 4x + 2y = 35?
(4452)(xy) = (1835)
(4542)(xy) = (1835)
(4452)(1835) = (xy)
Which matrix equation represents the system 9x + 9y = 13 and 2x + 4y = 10?
(9294)(xy) = (1310)
(9924)(xy) = (1310)
(9294)(1310) = (xy)
Which matrix equation represents the system 6x + 2y = 32 and 6x + 4y = 39?
(6624)(xy) = (3239)
(6264)(xy) = (3239)
(6624)(3239) = (xy)
Summary card
Systems with matrices
AX = B, so X = A⁻¹B when det A ≠ 0.
Watch out: one row per equation; multiply by A⁻¹ on the left.