# How do you solve using gaussian elimination or gauss-jordan elimination, #x-2y-z=2#, #2x-y+z=4#, #-x+y-2z=-4#?

##### 1 Answer

#### Answer:

#### Explanation:

To solve the matrix equation

*usually we would put a vertical line to separate the fourth column (the column vector #b#) from the first three (which represent #A#, but couldn't figure out how to do it!*

The aim in Gauss elimination is to carry out row operations on the augmented matrix until

Divide the second row by 3

This completes the Gauss-elimination process. We can now carry out back-substitution to determine the required solution:

So, the solution is

To carry out Gauss Jordan elimination, the steps are the same until we reach

from this we can immediately read off