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

x + y + z = 6;


x + 2z = 7;


3x + y + z = 12.



To find: - x , y , z


Given set of lines are : -


x + y + z = 6;


x + 2z = 7;


3x + y + z = 12


Converting following equations in matrix form,


AX = B



R2 – R1


R3 – 3R1



R3 + 2R2



Again converting into equations we get


X + y + z = 6


- y + z = 1


- 4 y = - 4


Y = 1


- 1 + z = 1


Z = 2


X + 1 + 2 = 6


X = 6 - 3


X = 3



1