So I've been working through this linear algebra problem. Find the unique value of k for which the following system has infinitely many solutions
\begin{align} 2x_1 + 2x_2 - x_3 + x_4 &= 10 \\ 3x_1 + x_2 + x_3 - 2x_4 &= 1 \\ x_1 + 4x_2 - x_3 + 9x_4 &= 13 \\ x_1 + x_2 + x_3 + kx_4 &= -1 \end{align}
\begin{bmatrix} 2 & 2 & -1 & 1 & 10\\ 3 & 1 & 1 & -2 & 1\\ 1 & 4 & -1 & 9 & 13\\ 1 & 1 & 1 & k & -1 \end{bmatrix}
So, I've reduced this to
\begin{bmatrix} 1 & 0 & 0 & -2 & 1\\ 0 & 1 & 0 & 3 & 2\\ 0 & 0 & 1 & 1 & -4\\ 0 & 0 & 0 & k-2 & 0 \end{bmatrix}
which I think the value of $k$ should be $2$. But then this makes $x_4$ equal to $0$ which implies that there is a unique solution to the system? Can anyone help?
*edit - I've been consulting tutor who told me that k = 3 as this would make that entry 1 which gives an infinite solution. Thanks for all your help!
For infinitely many solutions to exist, you should be able to write eqn (4) as a linear combination of the first 3, i.e.
$\text{eqn}(4) = a \times \text{eqn}(1) + b \times \text{eqn}(2) + c \times \text{eqn}(3)$
Plugging in the numbers:
$2a + 3b + c = -1$
$2a + b + 4c = -1$
$-a + b -c = -1$
$a - 2b + 9c = -k$
From the first two equations,
$2b-3c = 0$, i.e. $b = 3c/2$
From the first and third equations,
$5b-c = -3$, i.e. $15c/2-c = -3$, i.e. $c=-6/13$, $b = -9/13$
From the third equation, $a = b-c + 1 = 10/13$
Finally, $k = -a + 2b -9c = -10/13 -18/13 + 54/13 = 26/13 = 2$