<s>[INST] How to solve this linear equations using gauss jordan method? How to solve the linear equations in Gauss elimination method
$$2x+3y+z=1\\
x+y+z=3\\
3x+4y+2z=4$$
 [/INST] \begin{align*}
\left(\begin{array}{ccc|c}
1&1&1&3\\
2&3&1&1\\
3&4&2&4
\end{array}\right)\\\\
\left(\begin{array}{ccc|c}
1&1&1&3\\
0&1&-1&-5\\
0&1&-1&-5
\end{array}\right)\\\\
\begin{array}{ccc}
x&y&z
\end{array}\qquad\qquad\\
\left(\begin{array}{ccc|c}
1&1&1&3\\
0&1&-1&-5\\
0&0&0&0
\end{array}\right)
\end{align*}
Z is your free variable .continue from here .
</s>