I have a question and I'm not sure about my solution.
For which values of $\lambda$ the system has a single solution, an infinite number of solutions, and no solution? If there are solutions find them.
$$\left\{ \begin{eqnarray} -2x_1 + x_2 + x_3 =& -\lambda \\ x_1 + 2\lambda x_2 + x_3 =& 1 \\ x_1 + x_2 + 2\lambda x_3 =& 1\end{eqnarray} \right.$$
my answer:
- infinite number of solutions: $\lambda \in \{-1,2\}$
- no solution: $\lambda = -1$
- single solution: did not make it
You have a linear system of equations with three equations and three unknowns. It will have
Otherwise, if it is rank deficient it can have:
In your case to check if the matrix is full rank, compute its determinant. You should get $$-8\lambda^2 - 4\lambda + 4 = (\lambda+1)(\lambda-\frac{1}{2}),$$ i.e., for all $\lambda \neq -1, \frac{1}{2}$ it is full rank and has an exact solution.
For $\lambda = -1$, the RHS becomes $[1,1,1]^{\rm T}$, which is not in the column space of the matrix (all three columns are orthogonal to $[1,1,1]^{\rm T}$. Hence, there is no solution.
For $\lambda = \frac{1}{2}$, the particular solution is $\frac{1}{4}[2,1,1]^{\rm T}$ and the kernel is $[0,1,-1]^{\rm T}$ so the set of solutions is $\frac{1}{4}[2,1,1]^{\rm T} + t \cdot [0,1,-1]^{\rm T}\quad \forall t \in \mathbb{R}$.