Solution:
Key idea: A system of linear equations can be written as AX=B, where A holds the coefficients, X the unknowns and B the constants.
If ∣A∣=0, the system has the unique solution X=A−1B.
The inverse is found from A−1=∣A∣1adjA.
Step 1 — Write the system in matrix form.
The second equation has no y-term, so its y-coefficient is 0.
A=325101122,X=xyz,B=102
Step 2 — Find the cofactors of the entries of A.
The cofactor Cij is (−1)i+j times the minor of the entry in row i, column j (the 2×2 determinant left after deleting that row and column).
C11C12C13C21C22C23C31C32C33=+[(0)(2)−(2)(1)]=−2=−[(2)(2)−(2)(5)]=6=+[(2)(1)−(0)(5)]=2=−[(1)(2)−(1)(1)]=−1=+[(3)(2)−(1)(5)]=1=−[(3)(1)−(1)(5)]=2=+[(1)(2)−(1)(0)]=2=−[(3)(2)−(1)(2)]=−4=+[(3)(0)−(1)(2)]=−2
Step 3 — Find ∣A∣.
We expand along the first row, multiplying each entry by its cofactor and adding.
∣A∣=(3)(−2)+(1)(6)+(1)(2)=−6+6+2=2
Since ∣A∣=0, the matrix A is non-singular, so A−1 exists and the system has a unique solution.
Step 4 — Write adjA and A−1.
The adjoint is the transpose of the matrix of cofactors: the cofactors of row 1 form column 1, and so on.
adjA=−262−1122−4−2
The inverse is the adjoint divided by the determinant.
A−1=∣A∣1adjA
A−1=21−262−1122−4−2
Step 5 — Find X=A−1B.
Multiplying both sides of the matrix equation on the left by A−1 leaves X alone. We multiply each row of adjA by the column B, then divide by ∣A∣.
X=21−262−1122−4−2102
X=21(−2)(1)+(−1)(0)+(2)(2)(6)(1)+(1)(0)+(−4)(2)(2)(1)+(2)(0)+(−2)(2)
X=212−2−2
X=1−1−1
Therefore, x=1, y=−1 and z=−1.