Topic: Solving a 3×3 Non-Homogeneous System using Matrix Inversion Method and Cramer's Rule
SLO: M-11-A-19 — Solve a system of 3×3 non-homogeneous linear equations by using matrix inversion method and Cramer's Rule.
For the system AX=B where A is a 3×3 coefficient matrix:
A=a1a2a3b1b2b3c1c2c3,X=xyz,B=d1d2d3
Condition: ∣A∣=0 (A must be non-singular)
Solution: X=A−1B, where A−1=∣A∣1adj(A)
Steps:
- Write the system in matrix form AX=B.
- Compute ∣A∣. If ∣A∣=0, this method cannot be used.
- Find the cofactor matrix of A, then take its transpose to get adj(A).
- Compute A−1=∣A∣1adj(A).
- Multiply: X=A−1B to find x, y, z.
For the same system AX=B with ∣A∣=0:
x=∣A∣∣Ax∣,y=∣A∣∣Ay∣,z=∣A∣∣Az∣
where:
- Ax = A with column 1 replaced by B
- Ay = A with column 2 replaced by B
- Az = A with column 3 replaced by B
Solve the system:
x+y+z=6
2x−y+z=3
x+2y−z=2
Step 1: Matrix form
A=1211−1211−1,B=632
Step 2: Compute ∣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+3+5=7
Since ∣A∣=7=0, a unique solution exists.
Step 3 (Cramer's Rule): Compute ∣Ax∣, ∣Ay∣, ∣Az∣
Ax=6321−1211−1
∣Ax∣=6(1−2)−1(−3−2)+1(6+2)=−6+5+8=7
Ay=12163211−1
∣Ay∣=1(−3−2)−6(−2−1)+1(4−3)=−5+18+1=14
Az=1211−12632
∣Az∣=1(−2−6)−1(4−3)+6(4+1)=−8−1+30=21
Step 4: Solution
x=77=1,y=714=2,z=721=3
x=1,y=2,z=3