4x4 Gaussian Example
4x4 Gaussian Example
x + z + 2w = 6
y 2z = 3
Solve:
x + 2y z = 2
+ y + 3z 2w = 0
2x
1
0 1 2 6 R1 +R 3 R 3 1
0 1 2 6
0
1 2 0 3 0
1 2 0 3
1
2 1 0 2 2R1 +R 4 R 4 0
2 2 2 8
2
1 3 2 0
0
1 1 6 12
2R 2 +R 3 R 3 1
0 1 2 6
0
1 2 0 3
R 2 +R 4 R 4 0
0 2 2 2
0
0 3 6 9
1
0 2
1 6 1
0 1 2 6
0 1 2 0 3 0 1 2 0 3
1 R R
2 3 3
0
0 1 1 1 3R 3 +R 4 R 4 0
0 1 1 1
0
0 3 6
9
0
0 0 3
6
13 R 4 R 4
1
0 1 2 6
0
1 2 0 3
0
0 1 1 1
0
0 0 1 2
This is row echelon form. If using Gaussian elimination you can stop
your row operations here, write the corresponding system, and use
back substitution to find the solution. If using Gauss-Jordan then
continue with row operations until reduced row echelon form is
achieved.