Solve each of the following systems of equations using matrix method.

x – y + z = 1;


2x + y – z = 2;


X – 2y – z = 4.



To find: - x , y , z


Given set of lines are : -


x – y + z = 1;


2x + y – z = 2;


X – 2y – z = 4


Converting following equations in matrix form,


AX = B



R2 – 2R1


R3 – R1



3R3 + R2



Again converting into equations we get


X – y + z = 1


3y - 3z = 0


- 9z = 9


Z = - 1


Y = z


Y = - 1


X + 1 - 1 = 1


X = 1



1