A=$\begin{pmatrix} 1 & 3 & 1\\ 0 & 1 & 1\\ 2 & -2 & -6 \end{pmatrix}$
B=$\begin{pmatrix} 8\\ k\\ 8 \end{pmatrix}$
Discuss the solutions of the system S: Ax=B.
I have used the Rouche Capelli theorem wich implicate that S have solutions only if:
$rkA\leq$rk$A'$
where A'= A|B.
Well, $rkA$=2 still. But $rkA'=2$ only if $\begin{vmatrix} 1 & 3 & 8\\ 0 & 1 & k\\ 2 & -2 & 8 \end{vmatrix}$=$0$
This happens for $k=1$ wich is ok with my textbook but... ...if $k=1$ I can also calculate the other possible determinant:
$\begin{vmatrix} 1 & 1 & 8\\ 0 & 1 & k\\ 2 & -6 & 8 \end{vmatrix}$ wich for $k=1$ is not equal to $0$ $\Rightarrow $ for $k=1$, $rkA'$=$0$
My textbook still saying that for $k=1$, S have one solution. Why i'm wrong?
My solution will be to create a system made of the possible determinant equalized to 0 (in this case 2 deterimnants).