I have a following system:
$$x_1 + x_2 - x_3 = 5$$ $$2x_1 + 2x_2 - 4x_3 = 6$$ $$x_1 + x_2 - 2x_3 = 3$$
I dont understand how to solve this system using Gauss-Jordan elimination. I was told it I had to have a final result of something like this:
let $x$ represents any other number
$$\begin{bmatrix}1&x&x&x&x\\0&1&x&x&x\\0&0&1&x&x\end{bmatrix}$$
but I had seen some solutions like this:
$$\begin{bmatrix}1&x&x&x&x\\0&0&1&x&x\\0&0&0&1&x\end{bmatrix}$$
If someone can explain clearly how I can go about solving this, that would be great!
I have done some steps at the moment but had stopped because I was not sure. This is what I have before me:
$$\begin{bmatrix}1&1&-1&5\\0&0&1&2\\0&0&-1&-2\end{bmatrix}$$
Thanks!
Hints:
Can you see the final form and tell your solution set from this Gaussian Elimination?