Solution:
Step 1 — write the system as AX=B.
A=1231−1213−1,X=xyz,B=4141
Step 2 — check that A−1 exists. Expanding along the first row,
∣A∣=1((−1)(−1)−3(2))−1(2(−1)−3(3))+1(2(2)−(−1)(3))
=1(1−6)−1(−2−9)+1(4+3)=−5+11+7=13.
Since ∣A∣=13=0, A is non-singular and the system has a unique solution.
Step 3 — find the cofactors and the adjoint.
A11=−5,A12=11,A13=7,
A21=3,A22=−4,A23=1,
A31=4,A32=−1,A33=−3
The adjoint is the transpose of the cofactor matrix:
adjA=−51173−414−1−3
Step 4 — solve. X=A−1B=∣A∣1(adjA)B:
X=131−51173−414−1−34141=131−20+42+444−56−128+14−3=13126−1339=2−13
x=2,y=−1,z=3
Check in all three equations. 2−1+3=4; 4+1+9=14; 6−2−3=1. ✓