Solve the following system of linear equations using (i) the Matrix Inversion Method and (ii) Cramer's Rule:
x+2y+z=8
2x−y+3z=13
3x+y−2z=1
Write the system as AX=B:
A=1232−1113−2,X=xyz,B=8131
∣A∣=1[(−1)(−2)−(3)(1)]−2[(2)(−2)−(3)(3)]+1[(2)(1)−(−1)(3)]
=1(2−3)−2(−4−9)+1(2+3)
=1(−1)−2(−13)+1(5)=−1+26+5=30
Since ∣A∣=30=0, the inverse A−1 exists and the system has a unique solution.
C11=+−113−2=+(2−3)=−1
C12=−233−2=−(−4−9)=13
C13=+23−11=+(2+3)=5
C21=−211−2=−(−4−1)=5
C22=+131−2=+(−2−3)=−5
C23=−1321=−(1−6)=5
C31=+2−113=+(6+1)=7
C32=−1213=−(3−2)=−1
C33=+122−1=+(−1−4)=−5
adj(A)=C11C12C13C21C22C23C31C32C33=−11355−557−1−5
A−1=∣A∣1adj(A)=301−11355−557−1−5
X=301−11355−557−1−58131
x=301[(−1)(8)+(5)(13)+(7)(1)]=30−8+65+7=3060=2
y=301[(13)(8)+(−5)(13)+(−1)(1)]=30104−65−1=3030=3
z=301[(5)(8)+(5)(13)+(−5)(1)]=3040+65−5=3090=3
x=2,y=3,z=3
For the system AX=B with ∣A∣=30:
Ax=81312−1113−2
∣Ax∣=8[(−1)(−2)−(3)(1)]−2[(13)(−2)−(3)(1)]+1[(13)(1)−(−1)(1)]
=8(2−3)−2(−26−3)+1(13+1)=8(−1)−2(−29)+14=−8+58+14=60
Ay=123813113−2
∣Ay∣=1[(13)(−2)−(3)(1)]−8[(2)(−2)−(3)(3)]+1[(2)(1)−(13)(3)]
=1(−26−3)−8(−4−9)+1(2−39)=−29+104−37=90
Az=1232−118131
∣Az∣=1[(−1)(1)−(13)(1)]−2[(2)(1)−(13)(3)]+8[(2)(1)−(−1)(3)]
=1(−1−13)−2(2−39)+8(2+3)=−14+74+40=90
x=∣A∣∣Ax∣=3060=2
y=∣A∣∣Ay∣=3090=3
z=∣A∣∣Az∣=3090=3
x=2,y=3,z=3
Key Condition: Both methods require ∣A∣=0. If ∣A∣=0, the matrix inverse does not exist and Cramer's Rule cannot be applied.