Consider the system of linear equations as shown
below.
x+2y+32=2
x+3y+6z2=4
2x + 6y + 11lz=6
The equation form of the above matrix is AX = B
12 8 xr 2
where A= |1 3 6],X= |y| and |4
2 6 11 Zz 6
Note, the Gaussian elimination method is
known as the row reduction algorithm for
solving linear equations systems. It consists of
a sequence of operations performed on the
corresponding matrix of coefficients.
The augmented matrix for the given system of
12 3/2
equationis |}1 3 6 | 4
2 6 11/612 3/2
lettS=]1 3 6 |4
2 6 11/6
Perform row operations on the augment matrix to
convert it to row-echelon form.
12 342
S= |: 3. 6 ;
2 6 11/6
12 342
= : 1 3 | (Ra > Ro _ Ri)
2 6 111]6
1 2 3)2
= f 1 3 | (Rg > R3 _ 2R)
0 2 5|2
1 0 -3] -2
= f 1 3 | 2 |(R, > R,—2R)
0 2 = 5 2
1 0 -3] -2
= f 1 3 Ja
0 0 -1]|-2A further simplification is shown below.
1 0 -3|-2
| 1 3 2] 99
00 1]2
10 0/4
f 1 3 ou om ea
00 1]2
10 0| 4
F 1 0 0m
00 1] 2
The equation form of the above matrix is
1-x+0-y+0-z2=4,0-x4+1-y+0-z2=-4
and0-x+0-y+1-z=2.
Clearly, x = 4,y = —4 and z= 2.
Therefore, the solution to the system of equation is
x=4,y =—4andz=2.
The solution to the system of equation is
x=4,y = —4andz=2.