Question: For the value(s) of $k$, if any, will the following system have (a) no solution, (b) a unique solution, (c) infinity many solutons: $$x+y+kz=1,\\x+ky+z=1,\\xk+y+z=-2.$$
Answer: for $k=1$ there is no solution? For $k=2$ this is a unique solution? I tried these but I can't really make some progress.
Let's calculate this determinant
$$\det\left( \begin{matrix} 1 & 1 & k \\ 1 & k & 1 \\ k & 1 & 1 \end{matrix}\right)=\det\left( \begin{matrix} k+2 & 1 & k \\ k+2 & k & 1 \\ k+2 & 1 & 1 \end{matrix}\right)=\left( \begin{matrix} k+2 & 1 & k \\ 0 & k-1 & 1-k \\ 0 & 0 & 1-k \end{matrix}\right)=-(k+2)(k-1)^2$$ hence