I gotta solve this System of linear equations dependent on $a$:
$$x+y+z=1$$ $$-2x+2y+az=3$$ $$-ax+y+2z=2$$
I'm transforming this to a matrix.
$$ M_1 = \left[\begin{array}{ccc|c} 1 & 1 & 1 & 1\\ -2 & 2 & a & 3\\ -a & 1 & 2 & 2 \end{array}\right] $$
I'm switching x with y column and sort.
$$ M_2 = \left[\begin{array}{ccc|c} 1 & 1 & 1 &1\\ 1 & -a & 2 &3\\ 2 & -2 & a &2 \end{array}\right] $$
Solving this:
$$ M_3 = \left[\begin{array}{ccc|c} 1 & 1 & 1&1\\ 0 & -a-1 & 1&2 \\ 0 & 0 & a+2 &5 \end{array}\right] $$
Therefore I'm getting $$a= 3$$
Putting it into the $M1$ yields no result, as I end up with.
$$ M = \left[\begin{array}{ccc|c} 1 & 1 & 1 & 1\\ 0 & 4 & 5 & 1\\ 0 & 4 & 5 & 5 \end{array}\right] $$
Is there an error in my calculation?
a
because there can be n such a's that will satisfy this equation. $\endgroup$