Solution:
Key idea: If the product AB equals kI for some number k=0, then k1B is the inverse of A.
A system with coefficient matrix A and constant column D then has the solution X=A−1D.
Step 1 — Find AB.
We multiply each row of A by each column of B and add the products.
AB=(1)(11)+(−2)(−1)+(3)(−7)(1)(11)+(4)(−1)+(1)(−7)(1)(11)+(−3)(−1)+(2)(−7)(1)(−5)+(−2)(−1)+(3)(1)(1)(−5)+(4)(−1)+(1)(1)(1)(−5)+(−3)(−1)+(2)(1)(1)(−14)+(−2)(2)+(3)(6)(1)(−14)+(4)(2)+(1)(6)(1)(−14)+(−3)(2)+(2)(6)
AB=−8000−8000−8
So AB=−8I, where I is the 3×3 identity matrix.
Step 2 — Write down A−1.
Dividing both sides by −8 gives
A(−81B)=I
So −81B is the inverse of A.
A−1=−81B
Step 3 — Write the system in matrix form.
The coefficients of x, y, z in the three equations are exactly the rows of A, so the system is AX=D with
X=xyz,D=6121
Step 4 — Find X=A−1D.
We replace A−1 by −81B and multiply each row of B by the column D.
X=−8111−1−7−5−11−14266121
X=−81(11)(6)+(−5)(12)+(−14)(1)(−1)(6)+(−1)(12)+(2)(1)(−7)(6)+(1)(12)+(6)(1)
X=−81−8−16−24
X=123
Step 5 — Check in the first equation.
We put the values into the left side of the first equation.
1−2(2)+3(3)=6
This matches the right side, as required.
Therefore, x=1, y=2 and z=3.