By Gauss elimination (or Gauss jordan):
⎩⎨⎧2x+y+4z=128x−3y+2z=204x+11y−z=33
Rewrite the system in matrix form and solve it by Gaussian Elimination (Gauss-Jordan elimination)
⎝⎛2841−31142−1122033⎠⎞
R1/2→R1 (divide the 1 row by 2 )
⎝⎛1840.5−31122−162033⎠⎞
R2−8R1→R2 (multiply 1 row by 8 and subtract it from 2 row);
R3−4R1→R3 (multiply 1 row by 4 and subtract it from 3 row)
⎝⎛1000.5−792−14−96−289⎠⎞
R2/−7→R2 (divide the 2 row by -7 )
⎝⎛1000.51922−9649⎠⎞
R1−0.5R2→R1 (multiply 2 row by 0.5 and subtract it from 1 row);
R3−9R2→R3 (multiply 2 row by 9 and subtract it from 3 row)
⎝⎛10001012−2744−27⎠⎞
R3/−27→R3 (divide the 3 row by -27 )
⎝⎛100010121441⎠⎞
R1−1R3→R1 (multiply 3 row by 1 and subtract it from 1 row);
R2−2R3→R2 (multiply 3 row by 2 and subtract it from 2 row)
⎝⎛100010001321⎠⎞
Thus, x=3,y=2,z=1
Comments