Exercise 2.6 — Question 6
This question involves solving a 3×3 non-homogeneous system of linear equations AX=B using:
- Matrix Inversion Method
- Cramer's Rule
It also requires understanding consistent and inconsistent systems and using row operations to find the inverse.
A system AX=B is:
- Consistent if rank(A)=rank([A∣B]) — at least one solution exists.
- Unique solution if rank equals the number of unknowns.
- Infinitely many solutions if rank is less than the number of unknowns.
- Inconsistent if rank(A)=rank([A∣B]) — no solution exists.
For the system AX=B:
X=A−1B(provided ∣A∣=0)
Steps:
- Write the system in matrix form AX=B.
- Find ∣A∣ (determinant of A).
- If ∣A∣=0, find A−1 using row operations on [A∣I].
- Compute X=A−1B.
Finding A−1 by Row Operations (Gauss-Jordan):
Form [A∣I] and apply elementary row operations until the left side becomes I:
[A∣I]row operations[I∣A−1]
For the system:
a1x+b1y+c1z=d1
a2x+b2y+c2z=d2
a3x+b3y+c3z=d3
Let D=∣A∣. Then:
x=DDx,y=DDy,z=DDz
where:
- Dx = determinant with the x-column replaced by [d1,d2,d3]T
- Dy = determinant with the y-column replaced by [d1,d2,d3]T
- Dz = determinant with the z-column replaced by [d1,d2,d3]T
Condition: Cramer's Rule applies only when D=∣A∣=0.
For matrix A=a1a2a3b1b2b3c1c2c3, expanding along Row 1:
∣A∣=a1(b2c3−b3c2)−b1(a2c3−a3c2)+c1(a2b3−a3b2)
The cofactor sign pattern for a 3×3 matrix is:
+−+−+−+−+
Solve the system using both methods:
x+y+z=6
2x−y+z=3
x+2y−z=2
Matrix form: AX=B where
A=1211−1211−1,X=xyz,B=632
Step 1: Find ∣A∣
∣A∣=1[(−1)(−1)−(1)(2)]−1[(2)(−1)−(1)(1)]+1[(2)(2)−(−1)(1)]
=1[1−2]−1[−2−1]+1[4+1]
=1(−1)−1(−3)+1(5)=−1+3+5=7
Since ∣A∣=7=0, the system is consistent with a unique solution.
Step 2: Cramer's Rule
Dx=6321−1211−1=6(1−2)−1(−3−2)+1(6+2)=−6+5+8=7
Dy=12163211−1=1(−3−2)−6(−2−1)+1(4−3)=−5+18+1=14
Dz=1211−12632=1(−2−6)−1(4−3)+6(4+1)=−8−1+30=21
x=77=1,y=714=2,z=721=3
Solution: x=1, y=2, z=3