Writing the system as AX=B:
A=132−14−12−53,X=xyz,B=7−512
Step 1: the determinant. Expanding along the first row,
∣A∣=(1)(7)−(−1)(19)+(2)(−11)=4
Since ∣A∣=4=0, A−1 exists and the system has a unique solution X=A−1B.
Step 2: the cofactors.
A11=+4−1−53=7
A12=−32−53=−19
A13=+324−1=−11
A21=−−1−123=1
A22=+1223=−1
A23=−12−1−1=−1
A31=+−142−5=−3
A32=−132−5=11
A33=+13−14=7
Step 3: the adjoint (transpose of the cofactor matrix):
adjA=7−19−111−1−1−3117
Step 4: solve.
X=417−19−111−1−1−31177−512=41(7)(7)+(1)(−5)+(−3)(12)(−19)(7)+(−1)(−5)+(11)(12)(−11)(7)+(−1)(−5)+(7)(12)=418412=213
Hence x=2,y=1,z=3.
Check: (1)(2)+(−1)(1)+(2)(3)=7; (3)(2)+(4)(1)+(−5)(3)=−5; (2)(2)+(−1)(1)+(3)(3)=12. ✓