For which real value(s) of $a$ does the system $$\left[\begin{array}{ccc|c}1&1&1&1\\ 1&2&a&2\\ 2&a&4&0\end{array}\right]$$ have (i) a unique solution, (ii) no solution, (iii) infinitely many solutions? Where there are infinitely many solutions, write the solutions in parametric form.
I am a little confused on how to approach this problem. I have tried to do the row reduction but I get stuck because I am not sure how to eliminate the $a$. Therefore, I am a little unsure on how I can determine for what numbers what solutions are present.
Any help would be highly appreciated!
Guide: $$\left[\begin{array}{ccc|c}1&1&1&1\\ 1&2&a&2\\ 2&a&4&0\end{array}\right]$$
Perform $R_2-R_1$ and $R_3-2R_1$
$$\left[\begin{array}{ccc|c}1&1&1&1\\ 0&1&a-1&1\\ 0&a-2&2&-2\end{array}\right]$$
Now perform $R_3+(2-a)R_2,$
You matrix should then be in a row echelon form with a quadratic term as one of the entry. Consider cases, what if the quadratic term is equal to zero and what if it is not.