I've come across a linear algebra problem that I'm not sure how to solve. It's a generic problem - I have to find the solutions of a system of equations dependent on a parameter. So, my first though was to check for which values of the parameter the matrix on the left is not invertible (1 and -2). I think that for these values there are no solutions.
Is that enough, or should I check the rank of the augmented matrix and use the Rouché–Capelli theorem (for which values of the parameter the planes meet at a point, a line or a plane)?
Thanks,
$$\begin{pmatrix} \lambda & 1 & 1\\ 1 & \lambda & 1\\ 1 & 1 & \lambda \end{pmatrix} \begin{pmatrix} x \\ y \\ z \end{pmatrix}= \begin{pmatrix} 1 \\ \lambda \\ \lambda^2 \end{pmatrix} $$
You have checked that for $\lambda \ne 1,-2$ the system has a solution and it is unique. It is enough to apply Cramer's rule to get the solution.
Now you have to consider the remaining cases and you need to make use of the Rouch\'e-Capelli theorem.
For $\lambda=-2$ you have that
$$rank\left( \begin{matrix}-2 & 1 & 1 \\ 1 & -2 & 1 \\ 1 & 1 & -2 \end{matrix}\right)=2\neq 3 =rank \left( \begin{matrix}-2 & 1 & 1 & 1 \\ 1 & -2 & 1 & -2\\ 1 & 1 & -2 & 4 \end{matrix}\right)$$ and so the system has no solution. But for $\lambda=1$ you have that
$$rank\left( \begin{matrix}1 & 1 & 1 \\ 1 & 1 & 1 \\ 1 & 1 & 1 \end{matrix}\right)=1 =rank \left( \begin{matrix}1 & 1 & 1 & 1 \\ 1 & 1 & 1 & 1\\ 1 & 1 & 1 & 1 \end{matrix}\right),$$ which tells you that the system has infinitely many solutions. Indeed, its solutions form a plane through the origin. Note that a plane has dimension two which is equal to the number of variables ($3$) minus the common rank of the matrices ($1$).