Exercise 2.6 — Question 3
Topic: Solving a 3×3 Non-Homogeneous System using Matrix Inversion Method and Cramer's Rule
Linked SLOs: M-11-A-19, M-11-A-16
Solve the following system of linear equations using (i) the Matrix Inversion Method and (ii) Cramer's Rule:
x+2y+z=8
2x+y+z=9
x−y+2z=3
Write the system as AX=B:
A=12121−1112,X=xyz,B=893
Expand along Row 1 using cofactors:
∣A∣=1⋅1−112−2⋅2112+1⋅211−1
=1(2−(−1))−2(4−1)+1(−2−1)
=1(3)−2(3)+1(−3)=3−6−3=−6
Since ∣A∣=−6=0, the matrix is non-singular and A−1 exists.
C11=+1−112=3,C12=−2112=−3,C13=+211−1=−3
C21=−2−112=−5,C22=+1112=1,C23=−112−1=3
C31=+2111=1,C32=−1211=1,C33=+1221=−3
The adjoint (transpose of cofactor matrix):
adj(A)=3−3−3−51311−3
A−1=∣A∣1⋅adj(A)=−613−3−3−51311−3
X=−613−3−3−51311−3893
=−6124−45+3−24+9+3−24+27−9=−61−18−12−6=321
x=3,y=2,z=1
For the system AX=B with ∣A∣=0:
x=∣A∣∣Ax∣,y=∣A∣∣Ay∣,z=∣A∣∣Az∣
where Ax, Ay, Az are obtained by replacing the 1st, 2nd, 3rd column of A with B respectively.
Ax=89321−1112
∣Ax∣=8(2+1)−2(18−3)+1(−9−3)=8(3)−2(15)+1(−12)=24−30−12=−18
Ay=121893112
∣Ay∣=1(18−3)−8(4−1)+1(6−9)=15−24−3=−12
Az=12121−1893
∣Az∣=1(3+9)−2(6−9)+8(−2−1)=12−2(−3)+8(−3)=12+6−24=−6
x=−6−18=3,y=−6−12=2,z=−6−6=1
x=3,y=2,z=1
| Concept | Condition |
|---|
| Matrix Inversion Method | $ |
| Cramer's Rule | $ |
| Cofactor Cij | Cij=(−1)i+jMij where Mij is the minor |