Finding the solution(s) for:
$$ \begin{align*} \begin{cases} 2x_1+x_2+3x_3+2x_4 &=5\\ x_1+x_2+x_3+2x_4&=3\\ -x_2+x_3+6x_4&=3 \end{cases} \end{align*} $$
I tried using elimination to rewrite the system in row echelon form, then back substituting. I have no idea what I did wrong, or if I was doing the elimination process correctly.. but I kept getting stuck. I am confused and not really sure how to proceed, I must be awful because I've been staring at this problem for hours.
Adding the third row to the first one and adding the third one to the second one you obtain \begin{array}{lcl} 2x_1+4x_3+8x_4&=&8\\ x_1+2x_3+8x_4&=&6\\ -x_2+x_3+6x_4&=&3 \end{array} Now multiply the second equation by $2$ and subtract it from the first one \begin{array}{lcl} -8x_4&=&-4\\ x_1+2x_3+8x_4&=&6\\ -x_2+x_3+6x_4&=&3 \end{array} Now you know that $x_4=2$ and hence \begin{array}{lcl} x_4&=&2\\ x_1+2x_3&=&-10\\ x_3&=&-9+x_2 \end{array} Finally subtract the last one multiplied by two from the second equation \begin{array}{lcl} x_4&=&2\\ x_1&=&8-2x_2\\ x_3&=&-9+x_2 \end{array} Now it's clear that your system has an infinite number of solutions (one per each value given to $x_2$). This is not surprising since you have four variables and just three equations.